![]() |
ImFusion SDK 4.3
|
#include <ImFusion/CT/GUI/ConeBeamGeometryVisualisation.h>
Visualization component for cone-beam geometry. More...
Inheritance diagram for ConeBeamGeometryVisualisation:Visualization component for cone-beam geometry.
Provides 2D and 3D visualization of cone-beam acquisition geometry.
Public Member Functions | |
| ConeBeamGeometryVisualisation (SharedImageSet &vis) | |
| Constructor with SharedImageSet data instance. | |
| ConeBeamGeometryVisualisation (ConeBeamGeometry &geom, int numFrames) | |
| Constructor with ConeBeamGeometry + number of Frames;. | |
| ~ConeBeamGeometryVisualisation () override | |
| Destructor. | |
| void | draw (const GlView &view) override |
| Draw the object in 3D space. | |
| Geometry::AlignedBox | bounds () const override |
| Get the axis-aligned bounding box of this GlObject in world space. | |
| std::string | typeName () const override |
| Return unique identifier for this object class used for serialization. | |
| void | setNumFrames (int numFrames) |
| void | setVolume (SharedImage *volume) |
| void | setConeBeamData (SharedImageSet *cbData) |
| void | setRenderMode (ConeBeamDisplayOptions::RenderMode3d renderMode) |
| Can be used to set the render mode for the case where construction occurred with a ConeBeamGeometry object directly i.e. | |
| void | setRenderSource (bool renderSource) |
| Can be used to show/hide source points in the geometry visualization mode without ConeBeamData. | |
Public Member Functions inherited from SignalReceiver | |
| SignalReceiver ()=default | |
| Default constructor. | |
| SignalReceiver (const SignalReceiver &other) | |
| Copy constructor, does not copy any existing signal connections from other. | |
| SignalReceiver & | operator= (SignalReceiver rhs) |
| Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs. | |
| virtual | ~SignalReceiver () |
| Virtual destructor disconnects from all connected signals. | |
Public Member Functions inherited from GlObject | |
| 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. | |
Public Member Functions inherited from Configurable | |
| 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 |
Additional Inherited Members | |
Public Types inherited from GlObject | |
| enum | RenderingOrderGroup { RenderingGroupRest , RenderingGroupMesh , RenderingGroupManipulator } |
| Enumeration to determine rendering order of GlObjects in GlSliceView and GlVolumeView. More... | |
Public Attributes inherited from Configurable | |
| Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Protected Member Functions inherited from SignalReceiver | |
| void | disconnectAll () |
| Disconnects all existing connections. | |
Protected Member Functions inherited from NotCopyable | |
| NotCopyable (NotCopyable &&) noexcept=default | |
| NotCopyable & | operator= (NotCopyable &&) noexcept=default |
| NotCopyable (const NotCopyable &)=delete | |
| NotCopyable & | operator= (const NotCopyable &)=delete |
Protected Attributes inherited from GlObject | |
| mat4 | m_matrix = mat4::Identity() |
| Modelview transformation matrix of this object. | |
| bool | m_visible = true |
| Object visibility. | |
| bool | m_alwaysVisible = false |
| Object always visible. | |
| bool | m_draw3DIn2DView |
| Draw 3D objects in 2D views. This is to render 3D objects in projective 2D views. Property is not serialized. | |
| RenderingOrderGroup | m_renderingOrder = RenderingGroupRest |
Protected Attributes inherited from Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
overridevirtual |
|
inlineoverridevirtual |
Return unique identifier for this object class used for serialization.
Implements GlObject.
| void setRenderMode | ( | ConeBeamDisplayOptions::RenderMode3d | renderMode | ) |
Can be used to set the render mode for the case where construction occurred with a ConeBeamGeometry object directly i.e.
visualization of a ConeBeamGeometry in ConeBeamSimulation Supported render modes in this case are RenderMode3d::Off and RenderMode3d::Trajectory. Setting a different render mode defaults to RenderMode3d::Trajectory. If construction occurred with a SharedImageSet or a ConeBeamData, this function sets the render mode for the ConeBeamDisplayDataComponent of the ConeBeamData.