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