GClasses
GClasses::GRayTraceObject Class Referenceabstract

Detailed Description

An object in a ray-tracing scene.

#include <GRayTrace.h>

Inheritance diagram for GClasses::GRayTraceObject:
GClasses::GRayTraceSphere GClasses::GRayTraceTriangle

Public Types

Public Member Functions

 GRayTraceObject ()
 
virtual ~GRayTraceObject ()
 
virtual void adjustBoundingBox (G3DVector *pMin, G3DVector *pMax)=0
 
virtual void center (G3DVector *pOutPoint)=0
 
virtual void drawWireFrame (GCamera *pCamera, GImage *pImage)=0
 
virtual bool isCulled ()=0
 
virtual GRayTraceMaterialmaterial ()=0
 
virtual void normalVector (GRayTraceRay *pRay)=0
 
virtual G3DReal rayDistance (G3DVector *pRayOrigin, G3DVector *pRayDirection)=0
 
virtual GDomNodeserialize (GDom *pDoc, const GRayTraceScene *pScene) const =0
 
virtual ObjectType type () const =0
 

Static Public Member Functions

static GRayTraceObjectdeserialize (GDomNode *pNode, GRayTraceScene *pScene)
 

Member Enumeration Documentation

Enumerator
Sphere 
Triangle 

Constructor & Destructor Documentation

GClasses::GRayTraceObject::GRayTraceObject ( )
inline
virtual GClasses::GRayTraceObject::~GRayTraceObject ( )
inlinevirtual

Member Function Documentation

virtual void GClasses::GRayTraceObject::adjustBoundingBox ( G3DVector pMin,
G3DVector pMax 
)
pure virtual
virtual void GClasses::GRayTraceObject::center ( G3DVector pOutPoint)
pure virtual
static GRayTraceObject* GClasses::GRayTraceObject::deserialize ( GDomNode pNode,
GRayTraceScene pScene 
)
static
virtual void GClasses::GRayTraceObject::drawWireFrame ( GCamera pCamera,
GImage pImage 
)
pure virtual
virtual bool GClasses::GRayTraceObject::isCulled ( )
pure virtual
virtual GRayTraceMaterial* GClasses::GRayTraceObject::material ( )
pure virtual
virtual void GClasses::GRayTraceObject::normalVector ( GRayTraceRay *  pRay)
pure virtual
virtual G3DReal GClasses::GRayTraceObject::rayDistance ( G3DVector pRayOrigin,
G3DVector pRayDirection 
)
pure virtual
virtual GDomNode* GClasses::GRayTraceObject::serialize ( GDom pDoc,
const GRayTraceScene pScene 
) const
pure virtual
virtual ObjectType GClasses::GRayTraceObject::type ( ) const
pure virtual