#include <IProjection_WorkingModelInfo.h>

Public Member Functions |
|
| virtual RenderInstance * | GetRenderInstance ()=0 |
| Returns the render instance of the working
model. |
|
| virtual int | GetFaceNumber ()=0 |
| Returns the face number of that hit face.
|
|
| virtual const Point3 & | GetOrigNormal ()=0 |
| Returns the original interpolated normal.
|
|
| virtual void | GetBarycentricCoords (Point3 &bary)=0 |
| Returns the barycentric coordinates of the
hit point. |
|
| virtual void | GetBarycentricCoords (float &b0, float &b1, float &b2)=0 |
| virtual BOOL | GetBackFace ()=0 |
| Returns whether the backface was hit.
|
|
| virtual const Point3 & | GetPoint ()=0 |
| Returns the point that was hit, in camera
space. |
|
| virtual const Point3 & | GetViewDir ()=0 |
| Get the view direction, in camera space
(equivalent to SContext::V()) |
|
| virtual const Point3 & | GetOriginalViewDir ()=0 |
| Get the original view direction, in camera
space (equivalent to SContext::OrigView()) |
|
| virtual int | GetMaterialNumber ()=0 |
| Get the material number of the hit face.
|
|
| virtual void | BumpBasisVectors (Point3 dP[2], int axis, int channel)=0 |
| Get the bump basis vectors of the hit face
(equivalent to SContext::BumpBasisVectors()) |
|
| virtual void | TangentBasisVectors (Point3 dP[2], int mapChannel)=0 |
| Get the map basis vectors (aks bump basis
vectors) interpolated at the current position. |
|
| virtual Interface_ID | GetID () |
Static Public Member Functions |
|
| static IProjection_WorkingModelInfo * |
GetInterface (ShadeContext &shadeContext) |
| Query this interface on a shade context.
|
|
| IProjection_WorkingModelInfo * GetInterface | ( | ShadeContext & | shadeContext | ) | [inline, static] |
Query this interface on a shade context.
{
return static_cast<IProjection_WorkingModelInfo*>(shadeContext.GetInterface(IPROJECTION_WORKINGMODELINFO_INTERFACE_ID));
}
| virtual RenderInstance* GetRenderInstance | ( | ) | [pure virtual] |
Returns the render instance of the working model.
| virtual int GetFaceNumber | ( | ) | [pure virtual] |
Returns the face number of that hit face.
| virtual const Point3& GetOrigNormal | ( | ) | [pure virtual] |
Returns the original interpolated normal.
| virtual void GetBarycentricCoords | ( | Point3 & | bary | ) | [pure virtual] |
Returns the barycentric coordinates of the hit point.
| virtual void GetBarycentricCoords | ( | float & | b0, |
| float & | b1, | ||
| float & | b2 | ||
| ) | [pure virtual] |
| virtual BOOL GetBackFace | ( | ) | [pure virtual] |
Returns whether the backface was hit.
| virtual const Point3& GetPoint | ( | ) | [pure virtual] |
Returns the point that was hit, in camera space.
| virtual const Point3& GetViewDir | ( | ) | [pure virtual] |
Get the view direction, in camera space (equivalent to SContext::V())
| virtual const Point3& GetOriginalViewDir | ( | ) | [pure virtual] |
Get the original view direction, in camera space (equivalent to SContext::OrigView())
| virtual int GetMaterialNumber | ( | ) | [pure virtual] |
Get the material number of the hit face.
| virtual void BumpBasisVectors | ( | Point3 | dP[2], |
| int | axis, | ||
| int | channel | ||
| ) | [pure virtual] |
Get the bump basis vectors of the hit face (equivalent to SContext::BumpBasisVectors())
| virtual void TangentBasisVectors | ( | Point3 | dP[2], |
| int | mapChannel | ||
| ) | [pure virtual] |
Get the map basis vectors (aks bump basis vectors) interpolated at the current position.
| Interface_ID GetID | ( | ) | [inline, virtual] |
Reimplemented from BaseInterface.
{
return IPROJECTION_WORKINGMODELINFO_INTERFACE_ID;
}