CutList class is used to control the list of CutPlane objects. It enables to create, duplicate, and delete a cut plane.
The class can be called from Model class.
.
More...
Public Member Functions | |
| CutPlane * | CopyCut (CutPlane *cutplane) |
| Copies a CutPlane object. More... | |
| CutPlane * | CopyCutPlane (CutPlane *cutplane) |
| Copies a CutPlane object. More... | |
| CutPlane * | CreateCutCylinder (String &name=String("untitled")) |
| Creates a cut cylinder. More... | |
| CutPlane * | CreateCutPlane (String &name=String("untitled")) |
| Creates a cut plane. More... | |
| void | DeleteCut (Variant &var) |
| Deletes a CutPlane object by specifying the name or index. More... | |
| void | DeleteCutPlane (Variant &var) |
| Deletes a CutPlane object by specifying the name or index. More... | |
| CutPlane * | DuplicateCut (Variant &var) |
| Duplicates a CutPlane object by specifying the name or index. More... | |
| CutPlane * | GetCut (Variant &var) |
| Returns a cut plane by specifying the name or index. More... | |
| CutPlane * | GetCutPlane (Variant &var) |
| Returns a CutPlane object by specifying the name or index. More... | |
| bool | IsShowOnlyCutFaces () |
| Returns whether or not cut planes are displayed. More... | |
| bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumCut () |
| Returns the number of cut planes as an integer. More... | |
| int | NumCutPlanes () |
| Returns the number of cut planes as an integer. More... | |
| void | ShowOnlyCutFaces (bool show) |
| Displays the cut planes only. More... | |
CutList class is used to control the list of CutPlane objects. It enables to create, duplicate, and delete a cut plane.
The class can be called from Model class.
.
Example of calling the class object:
| CutPlane * CutList::CreateCutCylinder | ( | String & | name = String("untitled") | ) |
| CutPlane * CutList::CreateCutPlane | ( | String & | name = String("untitled") | ) |
| void CutList::DeleteCut | ( | Variant & | var | ) |
| void CutList::DeleteCutPlane | ( | Variant & | var | ) |
| CutPlane * CutList::DuplicateCut | ( | Variant & | var | ) |
| CutPlane * CutList::GetCut | ( | Variant & | var | ) |
Returns a cut plane by specifying the name or index.
| var | Name or index of the cut plane |
| CutPlane * CutList::GetCutPlane | ( | Variant & | var | ) |
Returns a CutPlane object by specifying the name or index.
| var | Name or index of the cut plane |
| bool CutList::IsShowOnlyCutFaces | ( | ) |
Returns whether or not cut planes are displayed.
| bool CutList::IsValid | ( | ) |
Returns True if an object is valid.
| int CutList::NumCut | ( | ) |
Returns the number of cut planes as an integer.
| int CutList::NumCutPlanes | ( | ) |
Returns the number of cut planes as an integer.
| void CutList::ShowOnlyCutFaces | ( | bool | show | ) |
Displays the cut planes only.
| show | Integer : 1 or 0
1: Cut planes are displayed
0: Cut planes are not displayed
|