5 #ifndef VART_CYLINDER_H
6 #define VART_CYLINDER_H
36 Cylinder(
float fHi,
float fRad,
bool bS,
bool bT,
bool bB );
88 bool DrawInstanceOGL()
const;
void SetPartsVisibility(PartsID parts)
Sets which parts are visible.
VART::Cylinder & operator=(const VART::Cylinder &cylinder)
Base class for objects that compose a scene graph.
Header file for V-ART class "Material".
virtual void ComputeBoundingBox()
Computes the bounding box.
void SetRadius(float r)
Sets the value of top and bottom radius.
Header file for V-ART class "GraphicObj".
void SetMaterial(const Material &mat)
Material assignment.
PartsID
Bitmask for cylinder parts.
VART::Cylinder::PartsID operator|(VART::Cylinder::PartsID a, VART::Cylinder::PartsID b)
void SetTopRadius(float r)
Sets the value of the top radius.
void SetBottomRadius(float r)
Sets the value of the bottom radius.
float GetBottomRadius()
Returns the bottom radius.
Material GetMaterial() const
Returns of copy of the cylinder's material.
PartsID GetPartsVisibility()
Returns internal visibility state as PartsID.
An scene node that is associated with a shape.
Material properties for graphical objects.
void TogglePartsVisibilty(PartsID parts)
Toogle visibility of marked parts.
VART::Cylinder::PartsID operator&(VART::Cylinder::PartsID a, VART::Cylinder::PartsID b)
Cylinder()
Creates an uninitialized cylinder.
float GetTopRadius()
Returns the top radius.
virtual VART::SceneNode * Copy()
Returns a copy of an cylinder. Every derived class must reimplements this method, to avoid errors wit...