Light-weight wrapper to project a GlAnnotation onto a 2D fluoro shot.
|
|
| GlProjectiveAnnotation (GlAnnotation &object, const SharedImageSet &projData) |
| | The lifetime of object and projData has to be ensured over the full lifetime of a wrapping GlProjectiveAnnotation, as references to these wrapped objects are kept internally.
|
| |
|
| GlProjectiveAnnotation (GlAnnotation &object, const ImageDescriptor &imgDesc, const mat4 &projMat) |
| | The lifetime of object has to be ensured over the full lifetime of a wrapping GlProjectiveAnnotation.
|
| |
|
GlAnnotation & | annotation () |
| |
|
GlProjectiveObject & | projObject () |
| |
|
int | which () const |
| | Returns the index of the fluoro shot to use for projecting, use -1 to select the focus frame.
|
| |
|
void | setWhich (int value) |
| | Sets the index of the fluoro shot to use for projecting, use -1 to select the focus frame.
|
| |
| void | draw (const GlView &view) override |
| | Draw the object in 3D space.
|
| |
| std::string | typeName () const override |
| | Return unique identifier for this object class used for serialization.
|
| |
| Geometry::AlignedBox | bounds () const override |
| | Get the axis-aligned bounding box of this GlObject in world space.
|
| |
| vec3 | color () const override |
| | Return annotation color.
|
| |
| double | alpha () const override |
| | Get alpha channel.
|
| |
| float | lineWidth () const override |
| | Return annotation line width.
|
| |
| bool | labelVisible () const override |
| | Return annotation label visibility.
|
| |
| bool | labelDepthTest () const override |
| | Return annotation label depth test flag.
|
| |
| vec3 | labelColor () const override |
| | Return annotation label color.
|
| |
| std::string | labelText () const override |
| | Return annotation label text.
|
| |
| std::string | name () const override |
| | Return annotation name.
|
| |
| virtual void | setView (const GlView *view) |
| | Set the view through which this annotation is currently being manipulated.
|
| |
|
virtual const GlView * | view () const |
| | Get the view through which this annotation is currently being manipulated.
|
| |
| virtual bool | hitTest (int, int, const GlView &) const |
| | Perform hit test with points of underlying object. Return true if object is hit, false otherwise.
|
| |
| virtual void | setEditable (bool editable) |
| | When a GlAnnotation is editable it may alter its visualization and render UI elements for its manipulation.
|
| |
| virtual bool | editable () const |
| | When a GlAnnotation is editable it may alter its visualization and render UI elements for its manipulation.
|
| |
| virtual void | setColor (const vec3 &color) |
| | Set annotation color.
|
| |
| virtual void | setAlpha (double v) |
| | Set alpha channel.
|
| |
| virtual void | setLineWidth (float lineWidth) |
| | Set annotation line width.
|
| |
| virtual void | setLabelVisible (bool visible) |
| | Set annotation label visibility.
|
| |
|
virtual void | setLabelBackgroundVisible (bool visible) |
| | Set annotation label background visibility.
|
| |
|
virtual bool | labelBackgroundVisible () const |
| | Return annotation label background visibility.
|
| |
|
virtual void | setLabelBackgroundColor (vec4 color) |
| | Set annotation label background color.
|
| |
|
virtual vec4 | labelBackgroundColor () const |
| | Return annotation label background color.
|
| |
|
virtual void | setLabelBackgroundMargin (int margin) |
| | Set annotation label background margin in pixels.
|
| |
|
virtual int | labelBackgroundMargin () const |
| | Return annotation label background margin in pixels.
|
| |
| virtual void | setLabelDepthTest (bool depthTest) |
| | Set annotation label depth test flag.
|
| |
| virtual void | setLabelColor (const vec3 &color) |
| | Set annotation label color.
|
| |
| virtual void | setLabelText (const std::string &label) |
| | Set annotation label text.
|
| |
| virtual void | setLabelTextPrefix (const std::string &labelPrefix) |
| | Set annotation label text prefix.
|
| |
|
std::string | labelTextPrefix () const |
| | Return annotation label text prefix.
|
| |
| virtual void | setLabelTextSuffix (const std::string &labelSuffix) |
| | Set annotation label text suffix.
|
| |
|
std::string | labelTextSuffix () const |
| | Return annotation label text suffix.
|
| |
|
virtual void | setName (const std::string &name) |
| | Set annotation name.
|
| |
| void | configure (const Properties *p) override |
| | Set one or multiple properties.
|
| |
| void | configuration (Properties *p) const override |
| | Retrieve the properties of this object.
|
| |
| virtual void | setSelected (bool m) |
| | When a GlAnnotation is selected, it may be rendered differently to distinguish it from non-selected annotations.
|
| |
|
bool | selected () const |
| | When a GlAnnotation is selected, it may be rendered differently to distinguish it from non-selected annotations.
|
| |
| virtual void | setMatrixWithoutMoving (const mat4 &m) |
| | Change the matrix without moving the annotation, e.g. for linking it with an image transformation.
|
| |
|
void | copyStyle (const GlAnnotation &other) |
| | Copies the settable parameters from another GlAnnotation.
|
| |
| virtual Geometry::AlignedBox | boundsSpherical () const |
| | Get the spherical bounds of this GlObject in world space.
|
| |
| virtual void | setMatrix (const mat4 &m) |
| | Set the modelview matrix of this object.
|
| |
| virtual const mat4 & | matrix () const |
| | Return the modelview matrix.
|
| |
| virtual void | setVisible (bool visible) |
| | Set object visibility.
|
| |
|
virtual bool | visible () const |
| | Return object visibility.
|
| |
| virtual void | setAlwaysVisible (bool alwaysVisible) |
| | Set if object is always visible.
|
| |
|
virtual bool | alwaysVisible () const |
| | Return if object is always visible.
|
| |
|
RenderingOrderGroup | renderingOrder () const |
| | Return current rendering order value for this GlObject.
|
| |
|
void | setRenderingOrder (RenderingOrderGroup group) |
| | Set rendering order value for this GlObject.
|
| |
|
void | setDraw3DIn2DView (bool draw3DIn2DView) |
| |
| void | configure (const Properties *p) override |
| | Configure this object instance by de-serializing the given Properties.
|
| |
| void | configuration (Properties *p) const override |
| | Serialize the current object configuration into the given Properties object.
|
| |
| virtual void | configureDefaults () |
| | Retrieve the properties of this object, replaces values with their defaults and sets it again.
|
| |
|
void | registerParameter (ParameterBase *param) |
| | Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
|
| |
|
void | unregisterParameter (const ParameterBase *param) |
| | Remove the given Parameter or SubProperty from the list of registered parameters.
|
| |
|
| Configurable (const Configurable &rhs) |
| |
|
| Configurable (Configurable &&rhs) noexcept |
| |
|
Configurable & | operator= (const Configurable &) |
| |
|
Configurable & | operator= (Configurable &&) noexcept |
| |