opensurgsim
|
PlyReaderDelegate abstract class. More...
#include <PlyReaderDelegate.h>
Public Member Functions | |
virtual | ~PlyReaderDelegate () |
Virtual destructor. | |
virtual bool | registerDelegate (PlyReader *reader)=0 |
Registers the delegate with the reader. More... | |
virtual bool | fileIsAcceptable (const PlyReader &reader)=0 |
Check whether the file in the reader can be used with this delegate, this gives the delegate a chance to make sure that all the elements and properties that are required are available in the file encapsulated by the reader. | |
PlyReaderDelegate abstract class.
The purpose of this class is to customize the parsing and contain the callback functions that are being used in the parsing process.
|
pure virtual |
Registers the delegate with the reader.
[out] | reader | The reader that should be used by the delegate. |
Implemented in SurgSim::Physics::MassSpringPlyReaderDelegate, SurgSim::DataStructures::TriangleMeshPlyReaderDelegate< M >, SurgSim::DataStructures::TriangleMeshPlyReaderDelegate< SegmentMeshShape >, SurgSim::DataStructures::TriangleMeshPlyReaderDelegate< Mesh >, SurgSim::Math::SegmentMeshShapePlyReaderDelegate, SurgSim::Physics::Fem1DPlyReaderDelegate, SurgSim::Physics::Fem2DPlyReaderDelegate, SurgSim::Physics::FemPlyReaderDelegate, and SurgSim::DataStructures::OctreeNodePlyReaderDelegateBase.