Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

gfx::Visual Class Reference

Inheritance diagram for gfx::Visual:

Inheritance graph
[legend]
Collaboration diagram for gfx::Visual:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Int Attributes
typedef Int VisualType
enum  AttributeFlags {
  ShowAxes = 1, ShowBounds = 2, ShowCollisions = 4, ShowCollisionModel = 8,
  ShowCollisionDetection = 16, ShowEdges = 32, ShowNormals = 64, VerticesOnly = 128
}

Public Member Functions

virtual bool visualTypeSupported (VisualType type) const
virtual osg::Node * createOSGVisual (Visual::Attributes visualAttributes=0) const

Static Public Attributes

const Int OSGVisual = 1

Member Typedef Documentation

typedef Int gfx::Visual::Attributes
 

Definition at line 39 of file Visual.

Referenced by createOSGVisual().

typedef Int gfx::Visual::VisualType
 

Definition at line 44 of file Visual.

Referenced by visualTypeSupported().


Member Enumeration Documentation

enum gfx::Visual::AttributeFlags
 

Enumeration values:
ShowAxes 
ShowBounds 
ShowCollisions 
ShowCollisionModel 
ShowCollisionDetection 
ShowEdges 
ShowNormals 
VerticesOnly 

Definition at line 40 of file Visual.


Member Function Documentation

virtual osg::Node* gfx::Visual::createOSGVisual Visual::Attributes  visualAttributes = 0  )  const [inline, virtual]
 

Reimplemented in physics::GJKCollisionDetector, physics::OBBCollisionModel, physics::ODECollisionModel, physics::ODESolidSystem, physics::Solid, physics::SOLIDCollisionModel, and robot::sim::SimulatedBasicEnvironment.

Definition at line 49 of file Visual.

References Attributes, Logln, and NewObj.

virtual bool gfx::Visual::visualTypeSupported VisualType  type  )  const [inline, virtual]
 

Reimplemented in gfx::OSGWorld, gfx::VisualPath, physics::Box, physics::Capsule, physics::Cone, physics::Cylinder, physics::GJKCollisionDetector, physics::LODTerrain, physics::OBBCollisionModel, physics::ODECollisionModel, physics::ODESolidSystem, physics::Polyhedron, physics::Solid, physics::SOLIDCollisionModel, physics::Sphere, physics::Torus, physics::VisualDebugUtil, and robot::sim::VisualIKORTest.

Definition at line 47 of file Visual.

References VisualType.


Member Data Documentation

const Int gfx::Visual::OSGVisual = 1 [static]
 

Definition at line 45 of file Visual.


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 16:39:57 2004 for OpenSim by doxygen 1.3.6