#include <displacement_handler.h>
List of all members.
Protected Attributes |
| LWDisplacementAccess * | access |
Constructor & Destructor Documentation
| lwpp::DisplacementAccess::DisplacementAccess |
( |
LWDisplacementAccess * |
acc | ) |
|
|
inline |
Member Function Documentation
| const Vector3d lwpp::DisplacementAccess::getAvgNormal |
( |
void |
| ) |
const |
|
inline |
The average normal of the polygon normals of the polygons surrounding the currently evaluated vertex. This member will only be filled with valid data when the LWDMF_NEED_NORMALS flag has been specified.
| const LWMeshInfo* lwpp::DisplacementAccess::getMeshInfo |
( |
void |
| ) |
const |
|
inline |
Returns a mesh info structure for the object.
| const LWPntID lwpp::DisplacementAccess::getPointID |
( |
void |
| ) |
const |
|
inline |
Returns the point ID. This can be used to retrieve other information about the point from the mesh info structure.
| const Point3d lwpp::DisplacementAccess::getPointPosition |
( |
void |
| ) |
const |
|
inline |
Returns the original point location in object coordinates. This is read-only.
| const Vector3d lwpp::DisplacementAccess::getSource |
( |
void |
| ) |
const |
|
inline |
Returns the location to be transformed in place by the displacement. If the flags function returned the LWDMF_WORLD bit, the source is in world coordinates and has already been modified by morphing, bones and object motion. Otherwise the source is in object coordinates (after morphing, before item motion, and before or after bone effects, depending on whether the flags function returned LWDMF_BEFOREBONES).
| void lwpp::DisplacementAccess::setAvgNormal |
( |
Vector3d & |
normal | ) |
|
|
inline |
The average normal of the polygon normals of the polygons surrounding the currently evaluated vertex.
| void lwpp::DisplacementAccess::setSource |
( |
Point3d & |
sspt | ) |
|
|
inline |
Set the source with a Point3d to apply the displacement
| void lwpp::DisplacementAccess::setSource |
( |
Point3f & |
sspt | ) |
|
|
inline |
Set the source with a Point3f to apply the displacement
Member Data Documentation
| LWDisplacementAccess* lwpp::DisplacementAccess::access |
|
protected |
The documentation for this class was generated from the following file: