ImFusion C++ SDK 4.4.0
ImFusion::AnatomicalStructureVisualiser Class Reference

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

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

Inheritance diagram for ImFusion::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 ImFusion::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 ImFusion::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 ImFusion::SignalReceiver
void disconnectAll ()
 Disconnects all existing connections.
Protected Member Functions inherited from ImFusion::Utils::NotCopyable
 NotCopyable (NotCopyable &&) noexcept=default
NotCopyable & operator= (NotCopyable &&) noexcept=default
 NotCopyable (const NotCopyable &)=delete
NotCopyable & operator= (const NotCopyable &)=delete

Member Function Documentation

◆ addToViews()

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

◆ removeFromViews()

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

◆ as()

AnatomicalStructure & ImFusion::AnatomicalStructureVisualiser::as ( )
inlineoverridevirtual

◆ dataComponents()

DataComponentList & ImFusion::AnatomicalStructureVisualiser::dataComponents ( )
overridevirtual

◆ pseudoClasses()

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

◆ views()

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

◆ updateAll()

void ImFusion::AnatomicalStructureVisualiser::updateAll ( )
overridevirtual

The documentation for this class was generated from the following file:
  • AnatomyPlugin/include/ImFusion/AnatomyPlugin/AnatomicalStructureVisualiser.h
Search Tab / S to search, Esc to close