Go to the documentation of this file.
16 #ifndef SURGSIM_MATH_SEGMENTMESHSHAPEPLYREADERDELEGATE_H
17 #define SURGSIM_MATH_SEGMENTMESHSHAPEPLYREADERDELEGATE_H
59 std::shared_ptr<Math::SegmentMeshShape>
m_shape;
double m_radius
Definition: SegmentMeshShapePlyReaderDelegate.h:57
void * beginRadius(const std::string &element, size_t value)
Delegate function to begin radius processing.
Definition: SegmentMeshShapePlyReaderDelegate.cpp:45
Definition: CompoundShapeToGraphics.cpp:30
bool m_hasRadius
Definition: SegmentMeshShapePlyReaderDelegate.h:56
Implementation of PlyReaderDelegate for simple triangle meshes.
Definition: TriangleMeshPlyReaderDelegate.h:34
Wrapper for the C .ply file parser This class wraps the main functionality for the original C ....
Definition: PlyReader.h:86
void processRadius(const std::string &element)
Callback function to process the radius.
Definition: SegmentMeshShapePlyReaderDelegate.cpp:51
bool registerDelegate(DataStructures::PlyReader *reader) override
Registers the delegate with the reader.
Definition: SegmentMeshShapePlyReaderDelegate.cpp:56
std::shared_ptr< Math::SegmentMeshShape > m_shape
Definition: SegmentMeshShapePlyReaderDelegate.h:59
bool fileIsAcceptable(const DataStructures::PlyReader &reader) override
Check whether the file in the reader can be used with this delegate, this gives the delegate a chance...
Definition: SegmentMeshShapePlyReaderDelegate.cpp:74
Implementation of ply reader for segment meshes, enable to read the radius from the ply file.
Definition: SegmentMeshShapePlyReaderDelegate.h:31
~SegmentMeshShapePlyReaderDelegate()
Destructor.
Definition: SegmentMeshShapePlyReaderDelegate.cpp:40
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38
SegmentMeshShapePlyReaderDelegate()
Constructor.
Definition: SegmentMeshShapePlyReaderDelegate.cpp:24