Go to the documentation of this file.
16 #ifndef SURGSIM_GRAPHICS_BOXREPRESENTATION_H
17 #define SURGSIM_GRAPHICS_BOXREPRESENTATION_H
47 virtual void setSizeX(
double sizeX) = 0;
54 virtual void setSizeY(
double sizeY) = 0;
61 virtual void setSizeZ(
double sizeZ) = 0;
70 virtual void setSizeXYZ(
double sizeX,
double sizeY,
double sizeZ) = 0;
75 virtual void getSizeXYZ(
double* sizeX,
double* sizeY,
double* sizeZ)
const = 0;
89 #endif // SURGSIM_GRAPHICS_BOXREPRESENTATION_H
#define SURGSIM_ADD_RW_PROPERTY(class, type, property, getter, setter)
A macro to register getter and setter for a property that is readable and writeable,...
Definition: Accessible.h:213
virtual double getSizeX() const =0
Returns the size along X-axis of the box.
virtual void setSizeZ(double sizeZ)=0
Sets the size along Z-axis of the box.
virtual double getSizeY() const =0
Returns the size along Y-axis of the box.
virtual void getSizeXYZ(double *sizeX, double *sizeY, double *sizeZ) const =0
Gets the size of the box.
virtual void setSize(const SurgSim::Math::Vector3d &size)=0
Sets the size of the box.
#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
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:57
virtual void setSizeY(double sizeY)=0
Sets the size along Y-axis of the box.
Definition: CompoundShapeToGraphics.cpp:29
virtual void setSizeXYZ(double sizeX, double sizeY, double sizeZ)=0
Sets the size of the box.
Base graphics box representation class, which defines the basic interface for a box that can be visua...
Definition: BoxRepresentation.h:31
virtual void setSizeX(double sizeX)=0
Sets the size along X-axis of the box.
BoxRepresentation(const std::string &name)
Constructor.
Definition: BoxRepresentation.h:37
virtual double getSizeZ() const =0
Returns the size along Z-axis of the box.
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
virtual SurgSim::Math::Vector3d getSize() const =0
Returns the radius of the sphere.