Allow to save the camera position, the visibility of objects and their representation mode in a 3D scene.
More...
|
| SViewSet () |
| Default constructor.
|
|
| SViewSet (boolean saveObjectsVisibility=true) |
| Default constructor to create an SViewSet.
|
|
| SViewSet (SViewSet other) |
| Construct an SViewSet by copying other.
|
|
string | toString () |
| Get the type of the variable.
|
|
| Update (boolean saveObjectsVisibility) |
| Update the SViewSet with the current position of the camera.
|
|
| AddToDoc () |
| Add the object to the document.
|
|
| ApplyTransformation (SMatrix matrix) |
| Apply a geometric transformation to the current object by making a product with the given matrix.
|
|
Object | GetBoundingBox (SMatrix ucs=null) |
| Calculate the bounding box of the object.
|
|
Object | GetColors () |
| Get the colors of the object.
|
|
string | GetFolderName () |
| Get the name of the folder containing the object.
|
|
string | GetName () |
| Return the object's name.
|
|
string | GetPath () |
| Return the full path of an SComp in the tree.
|
|
| Invert () |
| Invert the normal of the object.
|
|
boolean | IsInDoc () |
| Return if the object is in the document or not.
|
|
boolean | IsVisible () |
| Get the visibility of the object.
|
|
| MoveToGroup (string groupPath, boolean moveInsideTopParent=true) |
| Move the object to the document group represent by the given path. If some groups, in the path, don't exist, they will be created.
|
|
| RemoveFromDoc () |
| Remove the object from the document.
|
|
| SetClippable (boolean clipping) |
| Set clippable or not.
|
|
| SetColors (number red, number green, number blue) |
| Set the colors of the object.
|
|
| SetName (string objectName) |
| Set the object's name.
|
|
| SetTransparency (number alpha) |
| Set the transparency of the object.
|
|
| SetVisibility (boolean visible) |
| Set the object to be visible, or not visible.
|
|
string | toString () |
| Get the type of the variable.
|
|
| Translate (SVector vector) |
| Make a translation of the current object with an SVector.
|
|
Allow to save the camera position, the visibility of objects and their representation mode in a 3D scene.