Public Member Functions | |
| HRESULT | SetPreferencesNode (IRsNode *pNode) |
| HRESULT | UpdateFromPreferences () |
| HRESULT | SetPrimitiveManager (IRsPrimitiveManager *pManager) |
| HRESULT | SetPrimitiveFactory (IRsPrimitiveFactory *pFactory) |
| HRESULT | SetParameters (IRsNode *pViewNode, RtPoint2f *pScreenPoint) |
| HRESULT | GetCurrentPosition (RtPoint *pPosition, RtVector3f *pNormal) |
| HRESULT | GetSnappingNode (IRsNode **ppSnappingNode) |
| HRESULT IRsPrimitivePositionTool::SetPreferencesNode | ( | IRsNode * | pNode | ) |
Set preferences panel node.
| pNode | Preferences panel. |
| HRESULT IRsPrimitivePositionTool::UpdateFromPreferences | ( | ) |
Called to update from preferences. Preferences are set using SetPreferencesNode before this call.
| HRESULT IRsPrimitivePositionTool::SetPrimitiveManager | ( | IRsPrimitiveManager * | pManager | ) |
Set primitive manager to tool. Tool can customize it's behavior depending on primitive manager state.
| pManager | Primitive manager to set |
| HRESULT IRsPrimitivePositionTool::SetPrimitiveFactory | ( | IRsPrimitiveFactory * | pFactory | ) |
Set primitive factory to tool. Tool can customize it's behavior depending on primitive factory state.
| pManager | Primitive manager to set |
Set current view and mouse position.
| pPosition | should be filled by current position | |
| pNormal | should be filled by current normal |
| HRESULT IRsPrimitivePositionTool::GetCurrentPosition | ( | RtPoint * | pPosition, | |
| RtVector3f * | pNormal | |||
| ) |
Get current position depending on parameters set previously.
| pPosition | should be filled by current position | |
| pNormal | should be filled by current normal |
| HRESULT IRsPrimitivePositionTool::GetSnappingNode | ( | IRsNode ** | ppSnappingNode | ) |
Get node intended for snapping.
| ppWorkNode | should be filled with node intended for snapping. |
1.5.5