16 #ifndef SURGSIM_PHYSICS_FEM3DPLYREADERDELEGATE_H 17 #define SURGSIM_PHYSICS_FEM3DPLYREADERDELEGATE_H 66 #endif // SURGSIM_PHYSICS_FEM3DPLYREADERDELEGATE_H Definition: CompoundShapeToGraphics.cpp:29
Common part of implementation of PlyReaderDelegate for FemRepresentations.
Definition: FemPlyReaderDelegate.h:33
Definition: Fem3DPlyReaderDelegate.h:32
std::string getElementName() const override
Definition: Fem3DPlyReaderDelegate.cpp:37
void processVertex(const std::string &elementName) override
Callback function to process one vertex.
Definition: Fem3DPlyReaderDelegate.cpp:67
std::shared_ptr< Fem3D > m_mesh
Fem3D mesh asset to contain the ply file information.
Definition: Fem3DPlyReaderDelegate.h:60
Wrapper for the C .ply file parser This class wraps the main functionality for the original C ...
Definition: PlyReader.h:85
bool fileIsAcceptable(const PlyReader &reader) override
Check whether the file in the reader can be used with this delegate, this gives the delegate a chance...
Definition: Fem3DPlyReaderDelegate.cpp:42
void processFemElement(const std::string &elementName) override
Callback function to process one FemElement.
Definition: Fem3DPlyReaderDelegate.cpp:74
Fem3DPlyReaderDelegate()
Default constructor.
Definition: Fem3DPlyReaderDelegate.cpp:26
void processBoundaryCondition(const std::string &elementName) override
Callback function to process one boundary condition.
Definition: Fem3DPlyReaderDelegate.cpp:93
void endFile()
End file callback.
void endParseFile() override
Callback for end of PlyReader::parseFile.
Definition: Fem3DPlyReaderDelegate.cpp:52