Public Member Functions | Private Attributes | List of all members
SurgSim::DataStructures::OctreeNodePlyReaderDelegate< Data > Class Template Reference

Subclass the OctreeNodePLyReaderDelegateBase class to enable processing of the templated data, this should be specialized to enable specific processing of various extended node types. More...

#include <SurgSim/DataStructures/OctreeNodePlyReaderDelegate.h>

Public Member Functions

 OctreeNodePlyReaderDelegate ()
 Constructor. More...
 
 OctreeNodePlyReaderDelegate (std::shared_ptr< OctreeNode< Data >> octree)
 Constructor. More...
 
virtual ~OctreeNodePlyReaderDelegate ()
 Destructor. More...
 
std::shared_ptr< OctreeNode< Data > > getOctree ()
 
void processVoxel (const std::string &elementName) override
 
void initializeOctree () override
 

Private Attributes

std::shared_ptr< OctreeNode< Data > > m_octree
 The octree that will be filled with the data from the file. More...
 

Detailed Description

template<typename Data>
class SurgSim::DataStructures::OctreeNodePlyReaderDelegate< Data >

Subclass the OctreeNodePLyReaderDelegateBase class to enable processing of the templated data, this should be specialized to enable specific processing of various extended node types.

Template Parameters
DataThe data the should be inside the Octree, needs to be default constructable

Constructor & Destructor Documentation

◆ OctreeNodePlyReaderDelegate() [1/2]

Constructor.

◆ OctreeNodePlyReaderDelegate() [2/2]

template<typename Data >
SurgSim::DataStructures::OctreeNodePlyReaderDelegate< Data >::OctreeNodePlyReaderDelegate ( std::shared_ptr< OctreeNode< Data >>  octree)
explicit

Constructor.

Parameters
octreeread the data into this octree

◆ ~OctreeNodePlyReaderDelegate()

Destructor.

Member Function Documentation

◆ getOctree()

template<typename Data >
std::shared_ptr< OctreeNode< Data > > SurgSim::DataStructures::OctreeNodePlyReaderDelegate< Data >::getOctree
Returns
the octree

◆ initializeOctree()

template<typename Data >
void SurgSim::DataStructures::OctreeNodePlyReaderDelegate< Data >::initializeOctree
override

◆ processVoxel()

template<typename Data >
void SurgSim::DataStructures::OctreeNodePlyReaderDelegate< Data >::processVoxel ( const std::string elementName)
override

Member Data Documentation

◆ m_octree

template<typename Data >
std::shared_ptr<OctreeNode<Data> > SurgSim::DataStructures::OctreeNodePlyReaderDelegate< Data >::m_octree
private

The octree that will be filled with the data from the file.


The documentation for this class was generated from the following files: