#include <HPropert.h>
Inheritance diagram for HShading:
Public Member Functions | |
HTexInfo * | GetTexInfo () |
RGBFloat * | GetACol () |
RGBFloat * | GetDCol () |
RGBFloat * | GetSCol () |
Vector * | GetAway () |
Vector * | GetL () |
float | GetIntensity () |
float | GetLDot () |
float | GetEDot () |
int | GetObjectType () |
HObject * | GetObject () |
void * | GetSubObject () |
Vector | GetHitP () |
Definition at line 1031 of file HPropert.h.
|
Retrieves a pointer to the RGBFloat which contains the surface current ambiance color. From this pointer, the plugin may store a newly computed ambiance color. |
|
Retrieves a pointer to a normalized vector representing the reflected ray away from light at surface hit point. The Away vector is the mirror direction of the light vector about the surface normal. It is pointing away from the surface. |
|
Retrieves a pointer to the RGBFloat which contains the current diffuse color. From this pointer, the plugin may store a newly computed diffuse color. |
|
Retrieves the dot product (cosine of the angle) between the eye normalized vector and the surface normal.
|
|
Retrieves the hit point, in screen space, on the object surface corresponding to the pixel being shaded. |
|
Retrieves the light intensity |
|
Retrieves a pointer to a normalized vector from incoming light direction at surface hit point. In screen space. Must be negated to get a vector pointing away from surface, toward the light. |
|
Retrieves the dot product (cosine of the angle) between the light normalized vector and the surface normal.
|
|
Retrieves a pointer to the object being shaded. The pointer must be casted to the appropriate object which can be determined with GetObjectType(). For instance, when the object type is FIGUREOBJ, then the pointer should be cast to (HModel *). Reimplemented from HAnimObject. |
|
Retrieves the Object Type of the object being shaded. The object type can be any value from those enumerated in RType.h. If the object type is FIGUREOBJ, then GetObject() can be used to get to the HModel which is being shaded.
Reimplemented from HHashObject. |
|
Retrieves a pointer to the RGBFloat which contains the current specular color. From this pointer, the plugin may store a newly computed specular color. |
|
Retrieves a pointer to the sub object being shaded.
|
|
Retrieves a pointer to the HTexInfo which describes the surface attributes at hit point. |
Generated on Thu Oct 27 11:46:57 2005 with
1.4.5 written by Dimitri van Heesch,
© 1997-2001