16 #ifndef SURGSIM_PHYSICS_FEM1DPLYREADERDELEGATE_H 17 #define SURGSIM_PHYSICS_FEM1DPLYREADERDELEGATE_H 28 class Fem1DRepresentation;
64 #endif // SURGSIM_PHYSICS_FEM1DPLYREADERDELEGATE_H Definition: DriveElementFromInputBehavior.cpp:27
virtual void processFemElement(const std::string &elementName) override
Callback function to process one FemElement.
Definition: Fem1DPlyReaderDelegate.cpp:65
Common part of implementation of PlyReaderDelegate for FemRepresentations.
Definition: FemPlyReaderDelegate.h:39
virtual void endParseFile() override
Callback for end of PlyReader::parseFile.
Definition: Fem1DPlyReaderDelegate.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
Fem1DPlyReaderDelegate(std::shared_ptr< Fem1DRepresentation > fem)
Constructor.
Definition: Fem1DPlyReaderDelegate.cpp:30
virtual bool registerDelegate(SurgSim::DataStructures::PlyReader *reader) override
Registers the delegate with the reader.
Definition: Fem1DPlyReaderDelegate.cpp:41
Implementation of PlyReaderDelegate for Fem1DRepresentation.
Definition: Fem1DPlyReaderDelegate.h:31
void endRadius(const std::string &elementName)
Callback function, end the processing of radius.
Definition: Fem1DPlyReaderDelegate.cpp:80
double m_radius
Definition: Fem1DPlyReaderDelegate.h:58
virtual std::string getElementName() const override
Definition: Fem1DPlyReaderDelegate.cpp:36
void * beginRadius(const std::string &elementName, size_t radiusCount)
Callback function, begin the processing of radius.
Definition: Fem1DPlyReaderDelegate.cpp:75
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: Fem1DPlyReaderDelegate.cpp:57