VPathEditor
Engine/source/Verve/VPath/VPathEditor.h
Classes:
Public Types
enum
EditMode { k_Gizmo k_AddNode k_DeleteNode }
enum
RenderType { k_RenderSegments k_RenderNodes }
Private Types
Parent
Public Attributes
Public Functions
addNode(const Gui3DMouseEvent & pEvent)
deleteNode(const S32 & pNodeIndex)
VPath *
getClientPath(VPath * pPath)
bool
getPointOnBezierPath(VPath * pPath, const Gui3DMouseEvent & pEvent, S32 & pNode, MatrixF & pTransform)
bool
getPointOnLinearPath(VPath * pPath, const Gui3DMouseEvent & pEvent, S32 & pNode, MatrixF & pTransform)
bool
getPointOnPath(VPath * pPath, const Gui3DMouseEvent & pEvent, S32 & pNode, MatrixF & pTransform)
bool
isEditingWeight(const Gui3DMouseEvent & pEvent)
bool
bool
on3DMouseDown(const Gui3DMouseEvent & pEvent)
on3DMouseDragged(const Gui3DMouseEvent & pEvent)
on3DMouseMove(const Gui3DMouseEvent & pEvent)
on3DMouseUp(const Gui3DMouseEvent & pEvent)
bool
renderBezierPath(VPath * pPath, const ColorI & pColor)
renderLinearPath(VPath * pPath, const ColorI & pColor)
renderPath(const RenderType & pRenderType, VPath * pPath, const ColorI & pColor)
renderPaths(const RenderType & pRenderType)
renderScene(const RectI & pUpdateRect)
setNodeOrientationMode(const S32 & pNodeIndex, const VPathNode::eOrientationType & pType)
setNodeOrientationMode(const S32 & pNodeIndex, const VPathNode::eOrientationType & pType, const Point3F & pPoint)
setPathPosition(const Point3F & pPosition)
setPathRotation(const QuatF & pRotation)
setPathScale(const VectorF & pScale)
setPathTransform(const MatrixF & pTransform)
bool
updateSelection(const Gui3DMouseEvent & pEvent)
updateSelection(VPath * pPathObject, const S32 & pNodeIndex)
updateWeight(const Gui3DMouseEvent & pEvent)
Public Static Functions
Detailed Description
Public Types
EditMode
Enumerator
- k_Gizmo
- k_AddNode
- k_DeleteNode
RenderType
Enumerator
- k_RenderSegments
- k_RenderNodes
Private Types
typedef EditTSCtrl Parent
Public Attributes
EditMode mEditMode
bool mEditWeight
S32 mEditWeightHandle
bool mIsDirty
NodeEditAction mNodeEdit
PathEditAction mPathEdit
Selection mSelection
GFXStateBlockRef mStateBlock
Public Functions
VPathEditor(void )
addNode(const Gui3DMouseEvent & pEvent)
DECLARE_CONOBJECT(VPathEditor )
deleteNode(const S32 & pNodeIndex)
getClientPath(VPath * pPath)
getPointOnBezierPath(VPath * pPath, const Gui3DMouseEvent & pEvent, S32 & pNode, MatrixF & pTransform)
getPointOnLinearPath(VPath * pPath, const Gui3DMouseEvent & pEvent, S32 & pNode, MatrixF & pTransform)
getPointOnPath(VPath * pPath, const Gui3DMouseEvent & pEvent, S32 & pNode, MatrixF & pTransform)
isEditingWeight(const Gui3DMouseEvent & pEvent)
isEditingWeight(void )
isValidSelection(void )
on3DMouseDown(const Gui3DMouseEvent & pEvent)
Reimplemented from: EditTSCtrl
on3DMouseDragged(const Gui3DMouseEvent & pEvent)
Reimplemented from: EditTSCtrl
on3DMouseMove(const Gui3DMouseEvent & pEvent)
Reimplemented from: EditTSCtrl
on3DMouseUp(const Gui3DMouseEvent & pEvent)
Reimplemented from: EditTSCtrl
onAdd(void )
Reimplemented from: EditTSCtrl
onWake(void )
Reimplemented from: GuiTSCtrl
popNodeEdit(void )
popPathEdit(void )
pushNodeEdit(void )
pushPathEdit(void )
renderBezierPath(VPath * pPath, const ColorI & pColor)
renderLinearPath(VPath * pPath, const ColorI & pColor)
renderPath(const RenderType & pRenderType, VPath * pPath, const ColorI & pColor)
renderPaths(const RenderType & pRenderType)
renderScene(const RectI & pUpdateRect)
Reimplemented from: EditTSCtrl
setNodeOrientationMode(const S32 & pNodeIndex, const VPathNode::eOrientationType & pType)
setNodeOrientationMode(const S32 & pNodeIndex, const VPathNode::eOrientationType & pType, const Point3F & pPoint)
setNodePosition(const S32 & pNodeIndex, const Point3F & pPosition)
setNodeRotation(const S32 & pNodeIndex, const QuatF & pRotation)
setNodeWeight(const S32 & pNodeIndex, const F32 & pWeight)
setPathPosition(const Point3F & pPosition)
setPathRotation(const QuatF & pRotation)
setPathScale(const VectorF & pScale)
setPathTransform(const MatrixF & pTransform)
setStateBlock(void )
setWorldEditorDirty(void )
updateSelection(const Gui3DMouseEvent & pEvent)
updateSelection(void )
updateSelection(VPath * pPathObject, const S32 & pNodeIndex)
updateWeight(const Gui3DMouseEvent & pEvent)