MeshRoadProfile
Engine/source/environment/meshRoad.h
Public Friends
Protected Attributes
Public Functions
clickOnLine(Point3F & p)
generateEndCap(F32 width)
getNodePosPercent(U32 nodeId)
getNodeWorldPos(U32 nodeId, Point3F & p)
getNormToSlice(U32 normId, VectorF & n)
getNormWorldPos(U32 normId, Point3F & p)
objToWorld(Point3F & p)
removePoint(U32 nodeId)
resetProfile(F32 defaultDepth)
setNodePosition(U32 nodeId, Point3F pos)
setProfileDepth(F32 depth)
toggleSegMtrl(U32 seg)
toggleSmoothing(U32 nodeId)
worldToObj(Point3F & p)
Detailed Description
Public Friends
Protected Attributes
decompPoly mCap
Vector< VectorF > mNodeNormals
Vector< MeshRoadProfileNode > mNodes
MatrixF mObjToSlice
MeshRoad * mRoad
Vector< U8 > mSegMtrls
MatrixF mSliceToObj
Point3F mStartPos
Public Functions
MeshRoadProfile()
addPoint(U32 nodeId, Point3F & p)
clickOnLine(Point3F & p)
generateEndCap(F32 width)
generateNormals()
getNodePosPercent(U32 nodeId)
getNodes()
getNodeWorldPos(U32 nodeId, Point3F & p)
getNormToSlice(U32 normId, VectorF & n)
getNormWorldPos(U32 normId, Point3F & p)
getProfileLen()
objToWorld(Point3F & p)
removePoint(U32 nodeId)
resetProfile(F32 defaultDepth)
setNodePosition(U32 nodeId, Point3F pos)
setProfileDepth(F32 depth)
setTransform(const MatrixF & mat, const Point3F & p)
toggleSegMtrl(U32 seg)
toggleSmoothing(U32 nodeId)
worldToObj(Point3F & p)