Public Member Functions | |
| HRESULT | Attach ([in] IRsNode *pNode) |
| HRESULT | Detach () |
| HRESULT | GetEditableShapeNodeSafe ([out, retval] IRsNode **ppMeshModNode) |
| HRESULT | BackTraceFilterNode ([in] const IID &iid,[out, retval] IRsNode **ppFoundNode) |
| HRESULT | InsertFilterNode ([in] IRsNode *pFilterNode) |
| HRESULT | RemoveFilterNode ([in] IRsNode *pFilterNode) |
| HRESULT | ConvertToEditableMesh ([out] IRsNode **ppNode) |
| HRESULT | CheckMeshChainEditable () |
| HRESULT | CheckProceduralMesh () |
| HRESULT | GetInputMeshSafe (IRsNode **ppMeshModNode) |
| HRESULT | GetEditableShape (IRsNode **ppMeshModNode) |
| HRESULT | CheckTopologyModifiers (IRsNode *pModifierNode) |
| HRESULT | CollapseModifiersPipeline (IRsNode *pModifierNode) |
| HRESULT | GetEditableMeshes (IRsObjectList *pSelection, IRsObjectList **ppEditableMeshes) |
| HRESULT | GetEditedSubObjects (IRsObjectList **ppEditableMeshes) |
| HRESULT | ActivateEditMode (RtBool bAddIdStreams, IRcUndoRedoGroup *pUndoRedo) |
| HRESULT | DeactivateEditMode (IRcUndoRedoGroup *pUndoRedo) |
| HRESULT | ShowHiddenGeometry (IRdMeshSelection **ppHiddenGeometry) |
| HRESULT | HideGeometry (IRdMeshSelection *pHiddenGeometry) |
| HRESULT | SetGeometryIdentificationStreams (IRcUndoRedoGroup *spUndoRedo) |
| HRESULT | AddGeometryIdentificationStreams (IRcUndoRedoGroup *spUndoRedo) |
| HRESULT | RemoveGeometryIdentificationStreams (IRcUndoRedoGroup *spUndoRedo) |
| HRESULT | UpdateGeometryIdentification (IRcUndoRedoGroup *spUndoRedo) |
| HRESULT | GetModifiersPipelineFlags (IRsNode *pFirstNode, RtMeshModifierFlags *pFlags) |
| HRESULT | GetHighlightMesh (IRdMatrixf *pMatrix, IRdMeshSelection *pSelection, IRdMesh *pMesh, IRdMesh **ppMesh) |
| HRESULT | ReplaceFilterNode ([in] GUID *gSourceNode,[in] IRsNode *pFilterNode) |
| HRESULT | GetConvertibleMeshes ([in] IRsObjectList *pListIn,[out, retval] IRsObjectList **ppListOut) |
| HRESULT | EnumMeshNodes ([in] VARIANT *pVt,[out, retval] IRsObjectList **ppMeshList) |
| HRESULT | GetEditableSubobjects (IRsObjectList **ppEditableMeshes) |
| HRESULT IRfMeshModifierSet::Attach | ( | [in] IRsNode * | pNode | ) |
Attach node to this fn set
| pNode | [in] Mesh node |
| HRESULT IRfMeshModifierSet::Detach | ( | ) |
Detach previously attached node
| HRESULT IRfMeshModifierSet::GetEditableShapeNodeSafe | ( | [out, retval] IRsNode ** | ppMeshModNode | ) |
GetEditableShapeNodeSafe
Search for mesh pipeline editable shape node. Method works inside and outside edit mode.
| HRESULT IRfMeshModifierSet::BackTraceFilterNode | ( | [in] const IID & | iid, | |
| [out, retval] IRsNode ** | ppFoundNode | |||
| ) |
BackTraceFilterNode
Search for specified mesh modifier in editable mesh pipeline. Method works inside and outside edit mode.
| iid | [in] Required mesh modifier GUID |
| HRESULT IRfMeshModifierSet::InsertFilterNode | ( | [in] IRsNode * | pFilterNode | ) |
InsertFilterNode
Insert mesh modifier to editable mesh pipeline.
| pFilterNode | [in] Mesh modifier node to insert |
| HRESULT IRfMeshModifierSet::RemoveFilterNode | ( | [in] IRsNode * | pFilterNode | ) |
RemoveFilterNode
Remove mesh modifier node from editable mesh pipeline.
| pFilterNode | [in] Mesh modifier node to remove (must present in mesh pipeline). |
| HRESULT IRfMeshModifierSet::ConvertToEditableMesh | ( | [out] IRsNode ** | ppNode | ) |
Convert attached mesh to editable.
| ppNode | [out] Editable shape node. |
| HRESULT IRfMeshModifierSet::CheckMeshChainEditable | ( | ) |
CheckMeshChainEditable
Check, if mesh chain starts with editable mesh node.
| HRESULT IRfMeshModifierSet::CheckProceduralMesh | ( | ) |
CheckProceduralMesh
Check if mesh is proceduraly generated.
| HRESULT IRfMeshModifierSet::GetInputMeshSafe | ( | IRsNode ** | ppMeshModNode | ) |
GetInputMeshSafe
Search for mesh pipeline input mesh node; editable or not.
| HRESULT IRfMeshModifierSet::GetEditableShape | ( | IRsNode ** | ppMeshModNode | ) |
GetEditableShape
Get editable shape node when in point edit mode. Outside PE this function fails.
| HRESULT IRfMeshModifierSet::CheckTopologyModifiers | ( | IRsNode * | pModifierNode | ) |
CheckTopologyModifiers
Check, if mesh modifiers before provided node are topology operations or not.
| pModifierNode | [in] Start node for topology operations checking |
| HRESULT IRfMeshModifierSet::CollapseModifiersPipeline | ( | IRsNode * | pModifierNode | ) |
CollapseModifiersPipeline
Collapse modifiers before provided modifier and add editable shape instead of it.
| pModifierNode | [in] Start node for mesh collapsing. |
| HRESULT IRfMeshModifierSet::GetEditableMeshes | ( | IRsObjectList * | pSelection, | |
| IRsObjectList ** | ppEditableMeshes | |||
| ) |
GetEditableMeshes
Convert selection to list of editable meshes. Function traverses hierarchy and collects all meshes that can be edited.
| pSelection | [in] List of objects (hierarchy roots) | |
| ppEditableMeshes | [out, retval] List of editable objects found inside provided objects |
| HRESULT IRfMeshModifierSet::GetEditedSubObjects | ( | IRsObjectList ** | ppEditableMeshes | ) |
GetEditedSubObjects
Get list of meshes that are being edited in current PE session.
| ppEditableMeshes | [out, retval] List of edited subobjects. |
| HRESULT IRfMeshModifierSet::ActivateEditMode | ( | RtBool | bAddIdStreams, | |
| IRcUndoRedoGroup * | pUndoRedo | |||
| ) |
ActivateEditMode
Activate edit mode for attached node.
| bAddIdStreams | [in] Set to true to add geometry identification streams to mesh pipeline. | |
| pUndoRedo | [in] Activation undo/redo commands collector. |
| HRESULT IRfMeshModifierSet::DeactivateEditMode | ( | IRcUndoRedoGroup * | pUndoRedo | ) |
DeactivateEditMode
Deactivate edit mode for attached node.
| pUndoRedo | [in] Undo/redo container for storing event commands. |
| HRESULT IRfMeshModifierSet::ShowHiddenGeometry | ( | IRdMeshSelection ** | ppHiddenGeometry | ) |
ShowHiddenGeometry
Show all hidden geometry and add it to editable mesh pipeline.
| ppHiddenGeometry | [out, regval] Filled with selection containing hidden geometry. |
| HRESULT IRfMeshModifierSet::HideGeometry | ( | IRdMeshSelection * | pHiddenGeometry | ) |
HideGeometry
Hide geometry and remove it from editable mesh pipeline. Geometry to hide is defined by selection.
| pHiddenGeometry | [in] Geometry to hide. |
| HRESULT IRfMeshModifierSet::SetGeometryIdentificationStreams | ( | IRcUndoRedoGroup * | spUndoRedo | ) |
SetGeometryIdentificationStreams
Add geometry identification streams to mesh pipeline if they are not present.
| spUndoRedo | [in] Collector to store undo/redo commands for adding ID stream. |
| HRESULT IRfMeshModifierSet::AddGeometryIdentificationStreams | ( | IRcUndoRedoGroup * | spUndoRedo | ) |
AddGeometryIdentificationStreams
Add geometry identification streams to mesh pipeline if they are not present.
| spUndoRedo | [in] Collector to store undo/redo commands for adding ID stream. |
| HRESULT IRfMeshModifierSet::RemoveGeometryIdentificationStreams | ( | IRcUndoRedoGroup * | spUndoRedo | ) |
RemoveGeometryIdentificationStreams
Remove geometry identification streams from mesh pipeline.
| spUndoRedo | [in] Collector to store undo/redo commands for removing ID stream. |
| HRESULT IRfMeshModifierSet::UpdateGeometryIdentification | ( | IRcUndoRedoGroup * | spUndoRedo | ) |
UpdateGeometryIdentification
Check if geometry identification stream contains degenerated triangles.
| spUndoRedo | [in] Undo/redo container for handling undo/redo. |
| HRESULT IRfMeshModifierSet::GetModifiersPipelineFlags | ( | IRsNode * | pFirstNode, | |
| RtMeshModifierFlags * | pFlags | |||
| ) |
GetModifiersPipelineFlags
Return mesh modifier flags.
| pFirstNode | [in] Node that starts pipeline.
| |
| pFlags | [out, retval] Filled with union of mesh modifier flags. |
| HRESULT IRfMeshModifierSet::GetHighlightMesh | ( | IRdMatrixf * | pMatrix, | |
| IRdMeshSelection * | pSelection, | |||
| IRdMesh * | pMesh, | |||
| IRdMesh ** | ppMesh | |||
| ) |
GetHighlightMesh
Calculate highlight mesh for specified selection.
| pMatrix | [in] Local->world space transform matrix. | |
| pMesh | [in] Mesh with selection streams injected. | |
| pSelection | [in] Selection. | |
| ppMesh | [out, retval] Calculated highlight mesh. |
| HRESULT IRfMeshModifierSet::ReplaceFilterNode | ( | [in] GUID * | gSourceNode, | |
| [in] IRsNode * | pFilterNode | |||
| ) |
ReplaceFilterNode
Replace mesh modifier node by provided node.
| gSourceNode | [in] Class ID of node that is to be replaced. | |
| pFilterNode | [in] Node that will be inserted instead of source node. |
| HRESULT IRfMeshModifierSet::GetConvertibleMeshes | ( | [in] IRsObjectList * | pListIn, | |
| [out, retval] IRsObjectList ** | ppListOut | |||
| ) |
GetConvertibleMeshes
Remove from list of meshes objects that are not editable:
| pListIn | [in] List of objects to check. |
S_OK if succeeded and user accepts conversion.
| HRESULT IRfMeshModifierSet::EnumMeshNodes | ( | [in] VARIANT * | pVt, | |
| [out, retval] IRsObjectList ** | ppMeshList | |||
| ) |
EnumMeshNodes
Enumerates editable mesh nodes with of specified selection.
| pVt | [in] List of object nodes separated with ';', specify "" for current selection. |
| HRESULT IRfMeshModifierSet::GetEditableSubobjects | ( | IRsObjectList ** | ppEditableMeshes | ) |
GetEditableSubobjects
Get editable subobjests for currently attached node.
| ppEditableMeshes | [out, retval] List filled with the list of editable subobjects. |
1.5.5