GClasses
GClasses::GRayTraceMaterial Class Referenceabstract

#include <GRayTrace.h>

Inheritance diagram for GClasses::GRayTraceMaterial:
GClasses::GRayTraceImageTexture GClasses::GRayTracePhysicalMaterial

Public Types

Public Member Functions

 GRayTraceMaterial ()
 
virtual ~GRayTraceMaterial ()
 
virtual G3DReal cloudiness ()=0
 
virtual GRayTraceColorcolor (ColorType eType, GRayTraceRay *pRay)=0
 
void computeColor (GRayTraceScene *pScene, GRayTraceRay *pRay, bool bAmbient, bool bSpecular)
 
virtual GRayTraceMaterialcopy ()=0
 
virtual G3DReal glossiness ()=0
 
virtual G3DReal indexOfRefraction ()=0
 
virtual bool isSame (GRayTraceMaterial *pThat)=0
 
virtual MaterialType materialType () const =0
 
virtual GDomNodeserialize (GDom *pDoc) const =0
 
virtual G3DReal specularExponent ()=0
 

Static Public Member Functions

static GRayTraceMaterialdeserialize (GDomNode *pNode)
 

Member Enumeration Documentation

Enumerator
Diffuse 
Specular 
Reflective 
Transmissive 
Ambient 
Emissive 
Color_Type_Count 
Enumerator
Physical 
Image 
Etherial 

Constructor & Destructor Documentation

GClasses::GRayTraceMaterial::GRayTraceMaterial ( )
virtual GClasses::GRayTraceMaterial::~GRayTraceMaterial ( )
virtual

Member Function Documentation

virtual G3DReal GClasses::GRayTraceMaterial::cloudiness ( )
pure virtual
virtual GRayTraceColor* GClasses::GRayTraceMaterial::color ( ColorType  eType,
GRayTraceRay *  pRay 
)
pure virtual
void GClasses::GRayTraceMaterial::computeColor ( GRayTraceScene pScene,
GRayTraceRay *  pRay,
bool  bAmbient,
bool  bSpecular 
)
virtual GRayTraceMaterial* GClasses::GRayTraceMaterial::copy ( )
pure virtual
static GRayTraceMaterial* GClasses::GRayTraceMaterial::deserialize ( GDomNode pNode)
static
virtual G3DReal GClasses::GRayTraceMaterial::glossiness ( )
pure virtual
virtual G3DReal GClasses::GRayTraceMaterial::indexOfRefraction ( )
pure virtual
virtual bool GClasses::GRayTraceMaterial::isSame ( GRayTraceMaterial pThat)
pure virtual
virtual MaterialType GClasses::GRayTraceMaterial::materialType ( ) const
pure virtual
virtual GDomNode* GClasses::GRayTraceMaterial::serialize ( GDom pDoc) const
pure virtual
virtual G3DReal GClasses::GRayTraceMaterial::specularExponent ( )
pure virtual