Public Member Functions | |
| HRESULT | ClearSelection () |
| HRESULT | SelectVertex ([in]RtUlong uVertexIndex,[in] RtFloat fWeight) |
| HRESULT | DeselectVertex ([in]RtUlong uVertexIndex) |
| HRESULT | AddVertex ([in]RtUlong uVertexIndex) |
| HRESULT | GetNumSelectedVertices ([out, retval]RtUlong *pCount) |
| HRESULT | GetSelectedVertex ([in] RtUlong uIndex,[out]RtVertexSelection *pSel) |
| HRESULT | DeselectVertices () |
| HRESULT | SelectEdge ([in]RtUlong uTriangleIndex,[in] RtUlong uEdgeIndex) |
| HRESULT | DeselectEdge ([in]RtUlong uTriangleIndex,[in] RtUlong uEdgeIndex) |
| HRESULT | GetNumSelectedEdges ([out, retval]RtUlong *pCount) |
| HRESULT | GetSelectedEdge ([in] RtUlong uIndex,[out]RtEdgeSelection *pSel) |
| HRESULT | DeselectEdges () |
| HRESULT | SelectTriangle ([in]RtUlong uTriangleIndex) |
| HRESULT | DeselectTriangle ([in]RtUlong uTriangleIndex) |
| HRESULT | GetNumSelectedTriangles ([out, retval]RtUlong *pCount) |
| HRESULT | GetSelectedTriangle ([in] RtUlong uIndex,[out]RtTriangleSelection *pSel) |
| HRESULT | DeselectTriangles () |
| HRESULT | SelectFaceTriangle ([in]RtUlong uTriangleIndex) |
| HRESULT | DeselectFaceTriangle ([in]RtUlong uTriangleIndex) |
| HRESULT | GetNumSelectedFaceTriangles ([out, retval]RtUlong *pCount) |
| HRESULT | GetSelectedFaceTriangle ([in] RtUlong uIndex,[out]RtFaceTriangleSelection *pSel) |
| HRESULT | DeselectFaceTriangles () |
| HRESULT | ToggleSelection ([in] IRdMeshSelection *pSelection) |
| HRESULT | AddSelection ([in] IRdMeshSelection *pSelection) |
| HRESULT | UpdateContextSelection ([in] IRdMeshSelection *pSelection) |
| HRESULT | FilterContextSelection ([in] IRdMeshSelection *pSelection) |
| HRESULT | RemoveSelection ([in] IRdMeshSelection *pSelection) |
| HRESULT | SelectionsEqual ([in] IRdMeshSelection *pSelection) |
| HRESULT | TranslateToInput ([in] IRdMesh *pInputMesh,[in] IRdMesh *pOutputMesh) |
| HRESULT | ExtendSelection ([in] IRdMesh *pInputMesh,[in] IRdMesh *pOutputMesh) |
| HRESULT | TranslateToOutput ([in] IRdMesh *pInputMesh,[in] IRdMesh *pOutputMesh) |
| HRESULT | Sort () |
| HRESULT | FillEdges (IRdMesh *pMesh) |
| HRESULT IRdMeshSelection::ClearSelection | ( | ) |
Clear selection object.
| HRESULT IRdMeshSelection::SelectVertex | ( | [in] RtUlong | uVertexIndex, | |
| [in] RtFloat | fWeight | |||
| ) |
Use to add vertex to selection with specified weight.
| uVertexIndex | [in] Vertex to select. | |
| fWeight | [in] Vertex selection weight. |
| HRESULT IRdMeshSelection::DeselectVertex | ( | [in] RtUlong | uVertexIndex | ) |
Remove vertex from selection.
| uVertexIndex | [in] Vertex to de-select. |
| HRESULT IRdMeshSelection::AddVertex | ( | [in] RtUlong | uVertexIndex | ) |
Add vertex to selection. Selection weight is set to 1.
| uVertexIndex | [in] Vertex to select. |
| HRESULT IRdMeshSelection::GetNumSelectedVertices | ( | [out, retval] RtUlong * | pCount | ) |
Return number of selected vertices.
standard HRESULT processing can be applied to returned value.
| HRESULT IRdMeshSelection::GetSelectedVertex | ( | [in] RtUlong | uIndex, | |
| [out] RtVertexSelection * | pSel | |||
| ) |
Get selected vertex by index.
| uIndex | [in] Selected vertex index. | |
| pSel | [out] Vertex selection structure. |
| HRESULT IRdMeshSelection::DeselectVertices | ( | ) |
De-select all vertices.
| HRESULT IRdMeshSelection::SelectEdge | ( | [in] RtUlong | uTriangleIndex, | |
| [in] RtUlong | uEdgeIndex | |||
| ) |
Add edge to selection. Edge weight is set to 1.
| uTriangleIndex | triangle index. | |
| uEdgeIndex | edge index.
|
| HRESULT IRdMeshSelection::DeselectEdge | ( | [in] RtUlong | uTriangleIndex, | |
| [in] RtUlong | uEdgeIndex | |||
| ) |
Remove edge from selection
| uTriangleIndex | Triangle index | |
| uEdgeIndex | Edge index |
| HRESULT IRdMeshSelection::GetNumSelectedEdges | ( | [out, retval] RtUlong * | pCount | ) |
Return number of selected edges
| pCount | Number of selected edges |
| HRESULT IRdMeshSelection::GetSelectedEdge | ( | [in] RtUlong | uIndex, | |
| [out] RtEdgeSelection * | pSel | |||
| ) |
Return selected edge
| uIndex | Selected edge index | |
| pSel | Selected edge structure |
| HRESULT IRdMeshSelection::DeselectEdges | ( | ) |
De-select all edges
| HRESULT IRdMeshSelection::SelectTriangle | ( | [in] RtUlong | uTriangleIndex | ) |
Add triangle to selection.
| uTriangleIndex | triangle to select | |
| fWeight | triangle weight |
| HRESULT IRdMeshSelection::DeselectTriangle | ( | [in] RtUlong | uTriangleIndex | ) |
De-select triangle.
| uTriangleIndex | triangle to de-select |
| HRESULT IRdMeshSelection::GetNumSelectedTriangles | ( | [out, retval] RtUlong * | pCount | ) |
Return number of selected triangles
| pCount | triangle count |
| HRESULT IRdMeshSelection::GetSelectedTriangle | ( | [in] RtUlong | uIndex, | |
| [out] RtTriangleSelection * | pSel | |||
| ) |
Get selected triangle
| uTriangleIndex | selected triangle index | |
| pSel | Triangle selection structure |
| HRESULT IRdMeshSelection::DeselectTriangles | ( | ) |
De-select all triangles
| HRESULT IRdMeshSelection::SelectFaceTriangle | ( | [in] RtUlong | uTriangleIndex | ) |
Add triangle to selection.
| uTriangleIndex | triangle to select |
| HRESULT IRdMeshSelection::DeselectFaceTriangle | ( | [in] RtUlong | uTriangleIndex | ) |
Remove face triangle from selection
| uTriangleIndex | face triangle index |
| HRESULT IRdMeshSelection::GetNumSelectedFaceTriangles | ( | [out, retval] RtUlong * | pCount | ) |
Return number of selected face triangles
| pCount | Number of selected face triangles |
| HRESULT IRdMeshSelection::GetSelectedFaceTriangle | ( | [in] RtUlong | uIndex, | |
| [out] RtFaceTriangleSelection * | pSel | |||
| ) |
Get selected face triangle
| uIndex | face triangle index | |
| pSel | Structure describing face triangle selection |
| HRESULT IRdMeshSelection::DeselectFaceTriangles | ( | ) |
De-select all selected face triangles
| HRESULT IRdMeshSelection::ToggleSelection | ( | [in] IRdMeshSelection * | pSelection | ) |
Xor selection with other selection. Both selections must be sorted.
| pSelection | The other selection |
| HRESULT IRdMeshSelection::AddSelection | ( | [in] IRdMeshSelection * | pSelection | ) |
Merge selection to current. Both selections must be sorted.
| pSelection | The other selection |
| HRESULT IRdMeshSelection::UpdateContextSelection | ( | [in] IRdMeshSelection * | pSelection | ) |
Merge selection, use selection type to remove lower types of selections (ordering is vertex, edge, triangle, face). Both selections must be sorted.
| pSelection | The other selection |
| HRESULT IRdMeshSelection::FilterContextSelection | ( | [in] IRdMeshSelection * | pSelection | ) |
Remove lower types of selections as the ones that are present in the other selection
| pSelection | The other selection |
| HRESULT IRdMeshSelection::RemoveSelection | ( | [in] IRdMeshSelection * | pSelection | ) |
Subtract selection from current selection. Both selections must be sorted.
| pSelection | The other selection |
| HRESULT IRdMeshSelection::SelectionsEqual | ( | [in] IRdMeshSelection * | pSelection | ) |
Check, if selection is equal to the other selection. Both selections must be sorted.
| pSelection | The other selection |
| HRESULT IRdMeshSelection::TranslateToInput | ( | [in] IRdMesh * | pInputMesh, | |
| [in] IRdMesh * | pOutputMesh | |||
| ) |
Translate selection from output mesh to input mesh use internal mesh lookup streams.
| pInputMesh | mesh on input of mesh modifier node | |
| pOutputMesh | mesh dependent on input mesh |
Extend selection to all elements when only one part is selected
| pInputMesh | mesh on input of mesh modifier node | |
| pOutputMesh | mesh dependent on input mesh |
| HRESULT IRdMeshSelection::TranslateToOutput | ( | [in] IRdMesh * | pInputMesh, | |
| [in] IRdMesh * | pOutputMesh | |||
| ) |
Translate selection defined for input mesh to selection defined for output mesh
| pInputMesh | mesh on input of mesh modifier node | |
| pOutputMesh | mesh dependent on input mesh |
| HRESULT IRdMeshSelection::Sort | ( | ) |
Sort selection. Use when adding selection elements out of order.
| HRESULT IRdMeshSelection::FillEdges | ( | IRdMesh * | pMesh | ) |
Extend selection, to edges in opposite direction if they are not present.
| pMesh | Mesh this selection. |
1.5.5