|
|
| GlCurvedView (CurvedViewPrimitive &primitive) |
| |
|
GlCurvedSlice * | curvedSlice () const |
| |
|
void | setShowIntersectionLines (bool flag) |
| | Specify if the intersection lines of slices shall be drawn.
|
| |
|
bool | showIntersectionLines () const |
| | Return if intersection lines of slices are drawn.
|
| |
| bool | render () override |
| | Render the view.
|
| |
|
void | reset () |
| | Reset settings to their default values.
|
| |
| Type | type () const override |
| | Return view type as 2D or 3D slice.
|
| |
|
virtual std::string | typeName () const |
| |
|
void | setScale (double scale) |
| | Set scale.
|
| |
|
double | scale () const |
| |
|
void | setZoom (double zoom) |
| | Set zoom.
|
| |
|
double | zoom () const |
| |
|
double | arcLengthToPanoramaCoord (double arcLength) const |
| |
|
double | panoramaCoordToArcLength (double panoramaCoord) const |
| |
|
double | getCurveLength () const |
| |
|
vec2 | viewportToPanoramaCoord (const vec2 &point) const |
| |
|
vec3 | panoramaCoordToWorldCoords (const vec2 &point) const |
| |
|
void | getPanoramaPixelExtent (vec2 &topLeft, vec2 &bottomRight) const |
| |
|
const std::vector< GlSliceView * > & | orthoViews () const |
| |
|
std::vector< GlSliceView * > & | orthoViews () |
| |
|
bool | setOrthoViews (const std::vector< GlSliceView * > &views) |
| |
|
double | orthoSliceRefPos () const |
| | Return reference position in curve coordinates.
|
| |
|
void | updateOrthoSlices () |
| |
|
void | updateOrthoViews () |
| |
| void | setOrthoSliceRefPos (double pos) |
| | Updates reference position so that the given slice will be at pos (in curve coordinates).
|
| |
| void | moveOrthoSlicePos (double dp) |
| | Move the reference position by a certain amount (in world coordinates).
|
| |
|
int | addOrthoSlice (double offset) |
| | Add orthoslice which has a specified ofsset with respect to the refernce slice in world coordinates.
|
| |
| void | removeOrthoSlice (int slice) |
| | Remove the given orthogonal slice.
|
| |
|
int | numOrthoSlices () const |
| | Return the current number of orthogonal slices.
|
| |
| void | setOrthoSliceOffset (int slice, double offset) |
| | Set the slice offset in world coordinates.
|
| |
| double | orthoSliceOffset (int slice) |
| | Get the slice offset in world coordinates.
|
| |
|
double | orthoSlicePos (int slice) const |
| | Return slice position in curve coordinates.
|
| |
|
void | computeAnnotationVertices (vec2 &p1_, vec2 &p2_, int slice) const |
| |
|
CurvedViewPrimitive & | curvedViewPrimitive () const |
| |
| virtual void | setMatrix (const mat4 &mat) |
| | Sets the view matrix (view coordinates to world coordinates).
|
| |
| virtual const mat4 & | matrix () const |
| | Returns the current view matrix (view coordinates to world coordinates).
|
| |
| virtual void | resize (int width, int height) |
| | Set a new viewport size for this view.
|
| |
| virtual const GL::OrderIndependentTransparency * | orderIndependentTransparency () const |
| | Returns the optional OIT manager instance of the view if the feature is supported and enabled.
|
| |
|
int | height () const |
| | Current viewport height of the view.
|
| |
|
int | width () const |
| | Current viewport width of the view.
|
| |
|
void | addObject (GlObject *object) |
| | Add a reference to a GlObject to be drawn by this view.
|
| |
|
void | removeObject (GlObject *object) |
| | Remove a reference to a GlObject drawn by this view.
|
| |
|
const std::vector< GlObject * > & | objects () const |
| | Return the set of GlObjects that are drawn by this view.
|
| |
|
const GL::ViewState & | state () const |
| | Return the view state that was set during the last render() call.
|
| |