Go to the documentation of this file.
16 #ifndef SURGSIM_GRAPHICS_OCTREEREPRESENTATION_H
17 #define SURGSIM_GRAPHICS_OCTREEREPRESENTATION_H
49 virtual void setOctreeShape(
const std::shared_ptr<SurgSim::Math::Shape>& shape) = 0;
52 virtual std::shared_ptr<SurgSim::Math::OctreeShape>
getOctreeShape()
const = 0;
63 #endif // SURGSIM_GRAPHICS_OCTREEREPRESENTATION_H
Graphic representation of an Octree.
Definition: OctreeRepresentation.h:31
OctreeRepresentation(const std::string &name)
Constructor.
Definition: OctreeRepresentation.h:36
virtual ~OctreeRepresentation()
Destructor.
Definition: OctreeRepresentation.h:43
#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:225
virtual void setOctreeShape(const std::shared_ptr< SurgSim::Math::Shape > &shape)=0
Set the OctreeShape of this representation.
Definition: CompoundShapeToGraphics.cpp:29
std::vector< size_t > OctreePath
Typedef of octree path The path is a vector of children indexes (each within 0 to 7) that lead to the...
Definition: OctreeNode.h:43
virtual std::shared_ptr< SurgSim::Math::OctreeShape > getOctreeShape() const =0
virtual void setNodeVisible(const SurgSim::DataStructures::OctreePath &path, bool visibility)=0
Mark the OctreeNode visible/invisible in the given a OctreePath (typedef-ed in OctreeNode....
Base graphics representation class, which defines the interface that all graphics representations mus...
Definition: Representation.h:39
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38