OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
Cuboid Class Reference

#include <primitives.hh>

Inherits Primitive.

Public Member Functions

 Cuboid (const String &name, const geom::Cuboid &cuboid)
 
virtual void RenderGL (RenderPass pass)
 
- Public Member Functions inherited from Primitive
void SetFill (const Color &color, bool fill=true)
 
void SetOutline (const Color &color, bool line=true, float width=1.0)
 
void SetFillColor (const Color &color)
 
void SetOutlineColor (const Color &color)
 
const ColorGetFillColor () const
 
const ColorGetOutlineColor () const
 
bool HasFill () const
 
bool HasOutline () const
 
float GetLineWidth () const
 
void SetLineWidth (float width)
 
- Public Member Functions inherited from GfxNode
 GfxNode (const String &name)
 
virtual ~GfxNode ()
 
virtual GfxNodeP Copy () const
 
virtual void DeepSwap (GfxNode &n)
 
virtual void RenderPov (PovState &pov)
 
virtual void Export (Exporter *ex)
 
virtual void Apply (GfxNodeVisitor &v, GfxNodeVisitor::Stack st)
 
virtual int GetType () const
 
String GetName () const
 
void RemoveAll ()
 
void Rename (const String &name)
 
void Add (GfxObjP obj)
 
bool IsNameAvailable (const String &name) const
 
void Remove (GfxObjP obj)
 
void Add (GfxNodeP node)
 
void Remove (GfxNodeP node)
 
void Remove (const String &name)
 
size_t GetChildCount () const
 
void Hide ()
 
void Show ()
 
bool IsVisible () const
 
virtual void ContextSwitch ()
 
bool IsAttachedToScene () const
 
gfx::GfxNodeP GetParent () const
 
const GfxNodeVectorGetChildren () const
 
GfxNodeVectorGetChildren ()
 

Additional Inherited Members

- Protected Member Functions inherited from Primitive
 Primitive (const String &name)
 

Detailed Description

a rendered cuboid in 3D space

Definition at line 68 of file primitives.hh.

Constructor & Destructor Documentation

Cuboid ( const String name,
const geom::Cuboid cuboid 
)

Member Function Documentation

virtual void RenderGL ( RenderPass  pass)
virtual

Reimplemented from GfxNode.


The documentation for this class was generated from the following file: