Class to manage interactivity with GO2cam. More...
Inherits QObject.
Static Public Member Functions | |
static void | CheckLicenceFeature (String name) |
Check if the feature name of the licence is valid. | |
static void | ClearAll (Boolean askSave=false) |
Reset GO2cam content (same than creating a new empty file) | |
static GO2SEnum::GO2SContext | GetCurrentContext () |
static GO2SGeometry | PickEntity (String forcedMessage="") |
static GO2SReference | PickReference (String forcedMessage="") |
static GO2SXYZ | PickXYZ (String forcedMessage="") |
static GO2SXYZ | PickXYZWithPreview (Array< GO2SGeometry > preview, String forcedMessage="") |
static void | Redraw (Boolean reframe=false) |
Force the 3D scene to be redrawn. | |
static void | SetCurrentContext (GO2SEnum::GO2SContext ctx) |
static void | SetLayerName (Number layerNo, String name) |
static void | StartSelection () |
Ask for a selection in the 3D scene. When selection is done, selected elements can be retrieved with GO2SGeometryUtil::GetSelected() | |
static void | UpdateAll () |
Update geometry and machining. | |
static void | UpdateGeometry () |
Update geometry. | |
static void | UpdateMachining () |
Update machining. | |
Class to manage interactivity with GO2cam.
|
static |
Check if the feature name of the licence is valid.
[in] | name | name of the feature |
|
static |
Reset GO2cam content (same than creating a new empty file)
[in] | askSave | if true, ask to save the pce file before clear |
|
static |
Get current GO2cam context
|
static |
Ask for an entity to be picked in the 3D scene When picking on a solid face or edge, returns the whole solid. To get faces or edges, see GO2SInteract.PickReference
[in] | forcedMessage | optional message to be displayed in the dialog bar |
|
static |
Ask for an entity to be picked in the 3D scene. This function allows to get references on faces or edges when clicking on a solid.
[in] | forcedMessage | optional message to be displayed in the dialog bar |
|
static |
Ask for XYZ to be picked in the 3D scene
[in] | forcedMessage | optional message to be displayed in the dialog bar |
|
static |
Ask for a point picked in the 3D scene + display a preview under the mouse
[in] | preview | List of geometries to put under the mouse |
|
static |
Force the 3D scene to be redrawn.
[in] | reframe | if true, reframe the view |
|
static |
Change GO2Cam context
[in] | ctx | ctx new wanted context |
|
static |
Set the name of a layer
[in] | layerNo | layer number to rename |
[in] | name | name of the layer |