29 #ifndef CDPL_VIS_OBJECT3DFUNCTIONS_HPP
30 #define CDPL_VIS_OBJECT3DFUNCTIONS_HPP
Definition of matrix data types.
Definition of class CDPL::Vis::Shape3D.
Definition of the preprocessor macro CDPL_VIS_API.
#define CDPL_VIS_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Defines material properties of Vis::Object3D instances.
Definition: Material.hpp:56
Hierarchical 3D scene object that owns a list of nested sub-objects and inherits its property bag fro...
Definition: Object3D.hpp:57
std::shared_ptr< Shape3D > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated Shape3D instances.
Definition: Shape3D.hpp:56
CDPL_VIS_API const Shape3D::SharedPointer & getShape(const Object3D &obj)
Returns the value of the Vis::Object3DProperty::SHAPE property of the 3D object obj.
CDPL_VIS_API const Material & getMaterial(const Object3D &obj)
Returns the value of the Vis::Object3DProperty::MATERIAL property of the 3D object obj.
CDPL_VIS_API void clearTransformationMatrix(Object3D &obj)
Clears the value of the Vis::Object3DProperty::TRANSFORMATION_MATRIX property of the 3D object obj.
CDPL_VIS_API void clearMaterial(Object3D &obj)
Clears the value of the Vis::Object3DProperty::MATERIAL property of the 3D object obj.
CDPL_VIS_API void setShape(Object3D &obj, const Shape3D::SharedPointer &shape)
Sets the value of the Vis::Object3DProperty::SHAPE property of the 3D object obj to shape.
CDPL_VIS_API void setTransformationMatrix(Object3D &obj, const Math::Matrix4D &mtx)
Sets the value of the Vis::Object3DProperty::TRANSFORMATION_MATRIX property of the 3D object obj to m...
CDPL_VIS_API void clearShape(Object3D &obj)
Clears the value of the Vis::Object3DProperty::SHAPE property of the 3D object obj.
CDPL_VIS_API const Math::Matrix4D & getTransformationMatrix(const Object3D &obj)
Returns the value of the Vis::Object3DProperty::TRANSFORMATION_MATRIX property of the 3D object obj.
CDPL_VIS_API void setMaterial(Object3D &object3D, const Material &material)
Sets the value of the Vis::Object3DProperty::MATERIAL property of the 3D object object3D to material.
CDPL_VIS_API bool hasTransformationMatrix(const Object3D &obj)
Tells whether the Vis::Object3DProperty::TRANSFORMATION_MATRIX property of the 3D object obj is set.
CDPL_VIS_API bool hasMaterial(const Object3D &obj)
Tells whether the Vis::Object3DProperty::MATERIAL property of the 3D object obj is set.
CDPL_VIS_API bool hasShape(const Object3D &obj)
Tells whether the Vis::Object3DProperty::SHAPE property of the 3D object obj is set.
The namespace of the Chemical Data Processing Library.