Go to the documentation of this file.
17 #ifndef IGNITION_RENDERING_GEOMETRY_HH_
18 #define IGNITION_RENDERING_GEOMETRY_HH_
21 #include "ignition/rendering/config.hh"
24 #include "ignition/rendering/Export.hh"
30 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
42 public:
virtual bool HasParent()
const = 0;
46 public:
virtual VisualPtr Parent()
const = 0;
50 public:
virtual void RemoveParent() = 0;
57 public:
virtual void SetMaterial(
const std::string &_name,
58 bool _unique =
true) = 0;
63 public:
virtual void SetMaterial(
MaterialPtr _material,
64 bool _unique =
true) = 0;
virtual VisualPtr Parent() const =0
Get the parent Visual.
virtual void RemoveParent()=0
Detach this Geometry from its parent Visual. If this Geometry does not have a parent,...
virtual ~Geometry()
Deconstructor.
Definition: Geometry.hh:38
Represents an object present in the scene graph. This includes sub-meshes, materials,...
Definition: Object.hh:34
virtual bool HasParent() const =0
Determine if this Geometry is attached to a Visual.
virtual MaterialPtr Material() const =0
Get the material of this geometry.
virtual void SetMaterial(const std::string &_name, bool _unique=true)=0
Set the materials of this Geometry. The specified material will be retrieved from the parent Scene....
Represents a surface material of a Geometry.
Definition: Material.hh:47
Represents a geometric shape to be rendered.
Definition: Geometry.hh:34