16 #ifndef SURGSIM_PHYSICS_FEM2DPLYREADERDELEGATE_H 17 #define SURGSIM_PHYSICS_FEM2DPLYREADERDELEGATE_H 27 class Fem2DRepresentation;
63 #endif // SURGSIM_PHYSICS_FEM2DPLYREADERDELEGATE_H Definition: DriveElementFromInputBehavior.cpp:27
virtual bool fileIsAcceptable(const SurgSim::DataStructures::PlyReader &reader) override
Check whether the file in the reader can be used with this delegate, this gives the delegate a chance...
Definition: Fem2DPlyReaderDelegate.cpp:57
Common part of implementation of PlyReaderDelegate for FemRepresentations.
Definition: FemPlyReaderDelegate.h:39
double m_thickness
Definition: Fem2DPlyReaderDelegate.h:57
virtual void processFemElement(const std::string &elementName) override
Callback function to process one FemElement.
Definition: Fem2DPlyReaderDelegate.cpp:65
virtual void endParseFile() override
Callback for end of PlyReader::parseFile.
Definition: Fem2DPlyReaderDelegate.cpp:85
Wrapper for the C .ply file parser This class wraps the main functionality for the original C ...
Definition: PlyReader.h:85
string(TOUPPER ${DEVICE}DEVICE_UPPER_CASE) option(BUILD_DEVICE_ $
Definition: CMakeLists.txt:35
Fem2DPlyReaderDelegate(std::shared_ptr< Fem2DRepresentation > fem)
Constructor.
Definition: Fem2DPlyReaderDelegate.cpp:30
void * beginThickness(const std::string &elementName, size_t thicknessCount)
Callback function, begin the processing of thickness.
Definition: Fem2DPlyReaderDelegate.cpp:75
void endThickness(const std::string &elementName)
Callback function, end the processing of thickness.
Definition: Fem2DPlyReaderDelegate.cpp:80
virtual std::string getElementName() const override
Definition: Fem2DPlyReaderDelegate.cpp:36
virtual bool registerDelegate(SurgSim::DataStructures::PlyReader *reader) override
Registers the delegate with the reader.
Definition: Fem2DPlyReaderDelegate.cpp:41
Implementation of PlyReaderDelegate for Fem2DRepresentation.
Definition: Fem2DPlyReaderDelegate.h:30