ImFusion SDK 4.3
AnatomicalStructureVisualiser Class Reference

#include <AnatomyPlugin/include/ImFusion/AnatomyPlugin/AnatomicalStructureVisualiser.h>

Helper class for visualizing data contained in the AnatomicalStructure class. More...

+ Inheritance diagram for AnatomicalStructureVisualiser:

Detailed Description

Helper class for visualizing data contained in the AnatomicalStructure class.

Public Member Functions

 AnatomicalStructureVisualiser (AnatomicalStructure &anatomicalStructure, ASCVisualiser &parent)
 
void updateImages (DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, AnatomicalStructure &as)
 
void removeImagesFromViews (std::set< GlView * > views)
 
void addToViews (std::set< GlView * > views) override
 
void removeFromViews (std::set< GlView * > views) override
 
AnatomicalStructureas () override
 
DataComponentListdataComponents () override
 
std::set< std::stringpseudoClasses () override
 
std::set< GlView * > & views () override
 
void updateAll () override
 
AnatomicalStructureanatomicalStructure ()
 
const AnatomicalStructureanatomicalStructure () const
 
- 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.
 
SignalReceiveroperator= (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 KeyValueStoreVisualiserParent< AnatomicalStructure >
void update (KeyValueStoreVisualizerBase< AnatomicalStructure > &self, const std::string &key)
 

Protected Attributes

ASCVisualiserm_parent
 
AnatomicalStructurem_anatomicalStructure
 

Convenience functions for working with DataDisplayHandler

static std::unique_ptr< GlMeshcreateGlMesh (const Mesh &mesh)
 
static std::unique_ptr< GlMeshOutlinecreateGlMeshOutline (const Mesh &mesh)
 
static void updateGlMesh (const std::string &key, const Mesh &mesh, GlMesh &glMesh, DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as, const Properties &attributes)
 
static void updateGlMeshOutline (const std::string &key, const Mesh &mesh, GlMeshOutline &glMesh, DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as, const Properties &attributes)
 
static std::unique_ptr< GlPointCloudcreateGlPointCloud (const PointCloud &pointCloud)
 
static void updateGlPointCloud (const std::string &key, const PointCloud &pointCloud, GlPointCloud &glPointCloud, DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as, const Properties &attributes)
 
static std::unique_ptr< GlPointcreateGlPoint (const vec3 &point)
 
static void updateGlPoint (const std::string &key, const vec3 &point, GlPoint &glPoint, DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as, const Properties &attributes)
 
static std::unique_ptr< GlPlanecreateGlPlane (const vec4 &planeVec)
 
static void updateGlPlane (const std::string &key, const vec4 &planeVec, GlPlane &glPlane, DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as, const Properties &attributes)
 
static std::unique_ptr< GlArrowcreateGlArrow (const vec4 &planeVec)
 
static void updateGlArrow (const std::string &key, const vec4 &planeVec, GlArrow &glArrow, DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as, const Properties &attributes)
 
static std::unique_ptr< GlSplinecreateGlSpline (const Spline &spline)
 
static void updateGlSpline (const std::string &key, const Spline &spline, GlSpline &glSpline, DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as, const Properties &attributes)
 
static std::unique_ptr< GlGraphcreateGlGraph (const Graph &graph)
 
static std::unique_ptr< GlPolyLinecreateGlPolyLine (const Spline &spline)
 
static void updateGlPolyLine (const std::string &key, const Spline &spline, GlPolyLine &glSpline, DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as, const Properties &attributes)
 
static void updateGlGraph (const std::string &key, const Graph &tree, GlGraph &glTree, DataComponentList &dataComponents, const std::set< std::string > &pseudoClasses, const AnatomicalStructure &as, const Properties &attributes)
 

Additional Inherited Members

- Protected Member Functions inherited from SignalReceiver
void disconnectAll ()
 Disconnects all existing connections.
 
- Protected Member Functions inherited from NotCopyable
 NotCopyable (NotCopyable &&) noexcept=default
 
NotCopyableoperator= (NotCopyable &&) noexcept=default
 
 NotCopyable (const NotCopyable &)=delete
 
NotCopyableoperator= (const NotCopyable &)=delete
 

Member Function Documentation

◆ addToViews()

void addToViews ( std::set< GlView * > views)
overridevirtual

◆ removeFromViews()

void removeFromViews ( std::set< GlView * > views)
overridevirtual

◆ as()

◆ dataComponents()

DataComponentList & dataComponents ( )
overridevirtual

◆ pseudoClasses()

std::set< std::string > pseudoClasses ( )
overridevirtual

◆ views()

std::set< GlView * > & views ( )
overridevirtual

◆ updateAll()

void updateAll ( )
overridevirtual

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close