Go to the documentation of this file.
16 #ifndef SURGSIM_PHYSICS_FEM1DPLYREADERDELEGATE_H
17 #define SURGSIM_PHYSICS_FEM1DPLYREADERDELEGATE_H
59 void*
beginRadius(
const std::string& elementName,
size_t radiusCount);
63 void endRadius(
const std::string& elementName);
81 #endif // SURGSIM_PHYSICS_FEM1DPLYREADERDELEGATE_H
Definition: Fem1DPlyReaderDelegate.h:32
std::shared_ptr< Fem1D > m_mesh
Fem1D mesh asset to contain the ply file information.
Definition: Fem1DPlyReaderDelegate.h:74
void endParseFile() override
Callback for end of PlyReader::parseFile.
Definition: Fem1DPlyReaderDelegate.cpp:66
void processFemElement(const std::string &elementName) override
Callback function to process one FemElement.
Definition: Fem1DPlyReaderDelegate.cpp:98
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: Fem1DPlyReaderDelegate.cpp:58
Definition: CompoundShapeToGraphics.cpp:29
double m_radius
Element's radius information.
Definition: Fem1DPlyReaderDelegate.h:69
Fem1DPlyReaderDelegate()
Default constructor.
Definition: Fem1DPlyReaderDelegate.cpp:26
Wrapper for the C .ply file parser This class wraps the main functionality for the original C ....
Definition: PlyReader.h:85
void processBoundaryCondition(const std::string &elementName) override
Callback function to process one boundary condition.
Definition: Fem1DPlyReaderDelegate.cpp:127
bool m_enableShear
Element's shear information.
Definition: Fem1DPlyReaderDelegate.h:71
bool registerDelegate(PlyReader *reader) override
Registers the delegate with the reader.
Definition: Fem1DPlyReaderDelegate.cpp:43
void processVertex(const std::string &elementName) override
Callback function to process one vertex.
Definition: Fem1DPlyReaderDelegate.cpp:82
void endRadius(const std::string &elementName)
Callback function, end the processing of radius.
Definition: Fem1DPlyReaderDelegate.cpp:122
void * beginRadius(const std::string &elementName, size_t radiusCount)
Callback function, begin the processing of radius.
Definition: Fem1DPlyReaderDelegate.cpp:117
Common part of implementation of PlyReaderDelegate for FemRepresentations.
Definition: FemPlyReaderDelegate.h:33
std::string getElementName() const override
Definition: Fem1DPlyReaderDelegate.cpp:38