Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

scPrimitive Class Reference

#include <Scene.h>

Inheritance diagram for scPrimitive:

scObject Renderable Object scPoly scPlot2D scMRModel scGroup scFrame

Collaboration diagram for scPrimitive:

List of all members.

Public Members

 scPrimitive (scPrimitiveID primType)
 scPrimitive (const scPrimitive &sp)
Void Draw (Renderer &r)
virtual Void Draw (Renderer &r, SLContext *context)
Void Print (ostream &s) const
Void Normalise ()
Void FindBounds (Point &min, Point &max)
virtual Void UpdateBounds (Point &min, Point &max, const Transform &t)
Void Apply (const Transform &m)
virtual Void Set (scAttribute *sa)
virtual scAttributeGet (scAttributeID id)
virtual scAttributeFindFirst (scAttributeID id)
virtual StrConst Label () const
ObjectClone () const
Void ExtDispatch (Int method, Void *data)
scGroupparent

Static Public Members

RenderStyle sRenderStyle = renPoly
Colour sDefaultColour


Detailed Description

Definition at line 192 of file Scene.h.


Constructor & Destructor Documentation

scPrimitive::scPrimitive (scPrimitiveID primType)

Definition at line 196 of file Scene.h.

scPrimitive::scPrimitive (const scPrimitive & sp)

Definition at line 197 of file Scene.h.


Member Function Documentation

Void scPrimitive::Apply (const Transform & m) [virtual]

Reimplemented from scObject.

Reimplemented in scGroup.

Definition at line 228 of file Scene.cc.

Object * scPrimitive::Clone () const [inline]

Reimplemented from scObject.

Reimplemented in scGroup, scMRModel, scPlot2D, and scPoly.

Definition at line 215 of file Scene.h.

Void scPrimitive::Draw (Renderer & r, SLContext * context) [virtual]

Reimplemented in scFrame, scGroup, scMRModel, scPlot2D, and scPoly.

Definition at line 219 of file Scene.cc.

Void scPrimitive::Draw (Renderer & r) [virtual]

Reimplemented from Renderable.

Definition at line 210 of file Scene.cc.

Void scPrimitive::ExtDispatch (Int method, Void * data)

Definition at line 305 of file Scene.cc.

Void scPrimitive::FindBounds (Point & min, Point & max)

Definition at line 293 of file Scene.cc.

scAttribute * scPrimitive::FindFirst (scAttributeID id) [virtual]

Reimplemented in scGroup.

Definition at line 272 of file Scene.cc.

scAttribute * scPrimitive::Get (scAttributeID searchID) [virtual]

Definition at line 252 of file Scene.cc.

StrConst scPrimitive::Label () const [inline, virtual]

Reimplemented in scGroup, scMRModel, scPlot2D, and scPoly.

Definition at line 214 of file Scene.h.

Void scPrimitive::Normalise ()

Definition at line 277 of file Scene.cc.

Void scPrimitive::Print (ostream & s) const

Reimplemented from scObject.

Reimplemented in scGroup.

Definition at line 223 of file Scene.cc.

Void scPrimitive::Set (scAttribute * sa) [virtual]

Reimplemented in scGroup.

Definition at line 232 of file Scene.cc.

Void scPrimitive::UpdateBounds (Point & min, Point & max, const Transform & t) [virtual]

Reimplemented in scGroup, and scMRModel.

Definition at line 300 of file Scene.cc.


Member Data Documentation

scGroup * scPrimitive::parent

Definition at line 216 of file Scene.h.

Colour scPrimitive::sDefaultColour [static]

Definition at line 222 of file Scene.h.

RenderStyle scPrimitive::sRenderStyle = renPoly [static]

Definition at line 221 of file Scene.h.


The documentation for this class was generated from the following files:
Generated at Sat Aug 5 00:17:14 2000 for Graphics Class Library by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000