16 #ifndef SURGSIM_GRAPHICS_MESHREPRESENTATION_H
17 #define SURGSIM_GRAPHICS_MESHREPRESENTATION_H
55 virtual std::shared_ptr<Mesh>
getMesh() = 0;
83 #endif // SURGSIM_GRAPHICS_MESHREPRESENTATION_H
Definition: DriveElementFromInputBehavior.cpp:27
virtual std::string getFilename() const =0
Get the file name of the external file which contains the triangle mesh.
Graphics representation of a mesh, can be initialized from a Mesh structure.
Definition: MeshRepresentation.h:28
Definition: MeshRepresentation.h:35
Definition: MeshRepresentation.h:37
virtual ~MeshRepresentation()
Definition: MeshRepresentation.h:51
Definition: MeshRepresentation.h:36
Definition: MeshRepresentation.h:39
virtual int getUpdateOptions() const =0
Gets update options for this mesh.
virtual void setUpdateOptions(int val)=0
Sets the structures that are expected to change during the lifetime of the mesh, these will be update...
#define SURGSIM_ADD_SERIALIZABLE_PROPERTY(class, type, property, getter, setter)
A macro to register a serializable property, this needs to support reading, writing and all the conve...
Definition: Accessible.h:211
Base graphics representation class, which defines the interface that all graphics representations mus...
Definition: Representation.h:39
Definition: MeshRepresentation.h:34
virtual std::shared_ptr< Mesh > getMesh()=0
Gets the mesh.
MeshRepresentation(const std::string &name)
Constructor.
Definition: MeshRepresentation.h:45
UpdateOption
Definition: MeshRepresentation.h:32
Definition: MeshRepresentation.h:38
virtual void setFilename(std::string filename)=0
Set loading filename.