16 #ifndef SURGSIM_MATH_SEGMENTMESHSHAPEPLYREADERDELEGATE_H 17 #define SURGSIM_MATH_SEGMENTMESHSHAPEPLYREADERDELEGATE_H 19 #include "SurgSim/DataStructures/TriangleMeshPlyReaderDelegate.h" 20 #include "SurgSim/Math/SegmentMeshShape.h" 45 void*
beginRadius(
const std::string& element,
size_t value);
59 std::shared_ptr<Math::SegmentMeshShape> m_shape;
Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
void * beginRadius(const std::string &element, size_t value)
Delegate function to begin radius processing.
Definition: SegmentMeshShapePlyReaderDelegate.cpp:46
Wrapper for the C .ply file parser This class wraps the main functionality for the original C ...
Definition: PlyReader.h:85
Implementation of PlyReaderDelegate for simple triangle meshes.
Definition: TriangleMeshPlyReaderDelegate.h:33
Implementation of ply reader for segment meshes, enable to read the radius from the ply file...
Definition: SegmentMeshShapePlyReaderDelegate.h:30
bool registerDelegate(DataStructures::PlyReader *reader) override
Registers the delegate with the reader.
Definition: SegmentMeshShapePlyReaderDelegate.cpp:57
void processRadius(const std::string &element)
Callback function to process the radius.
Definition: SegmentMeshShapePlyReaderDelegate.cpp:52
SegmentMeshShapePlyReaderDelegate()
Constructor.
Definition: SegmentMeshShapePlyReaderDelegate.cpp:24
~SegmentMeshShapePlyReaderDelegate()
Destructor.
Definition: SegmentMeshShapePlyReaderDelegate.cpp:41
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:75