|
Anark Core SDK
|
Public Member Functions | |
| SdkView (string name, bool isPerspective, ISdkVertex3D position, ISdkVector3D upVector, ISdkVector3D viewDirection, float targetDistance, float windowSize, float fieldOfView, ISdkPlane3D[] clippingPlanes, ISdkEntityHandle[] visibleEntities) | |
| Construct a new user-editable view. The view will not actually exist until it has been added via the SDK API, and as such, the view's entity handle will be invalid. | |
Properties | |
| ISdkEntityHandle | Handle [get] |
| The entity handle. | |
| string | Name [get] |
| The view name. | |
| bool | IsPerspective [get] |
| True if view is a perspective projection view, false if view is a parallel projection view. | |
| ISdkVertex3D | Position [get] |
| Camera position. | |
| ISdkVector3D | UpVector [get] |
| Camera up vector. | |
| ISdkVector3D | ViewDirection [get] |
| Camera view direction. | |
| float | TargetDistance [get] |
| Camera target distance. | |
| float | WindowSize [get] |
| The WindowSize corresponds to the renderer zoom ball radius. | |
| float | FieldOfView [get] |
| Field of View - note, this is not always available (it will be zero if not available) | |
| ISdkVertex3D | LookAtPoint [get] |
| Camera "look at" point. | |
| bool | IsUserDefined [get] |
| True if this is a view that was created in Anark Core. False if this is a view that was imported from a CAD model. | |
| bool | IsTopLevel [get] |
| True is this is a top-level view. | |
| ISdkPlane3D[] | ClippingPlanes [get] |
| A collection of the view clipping planes (if any). | |
| ISdk3DBoundingBox | CapturedSelectionBoundingBox [get] |
| The bounding box of the selected occurrences at the time of the view capture. | |
| ISdkEntityHandle[] | VisibleEntities [get] |
| Entities (occurrences) that are visible in the view. | |
|
inline |
Construct a new user-editable view. The view will not actually exist until it has been added via the SDK API, and as such, the view's entity handle will be invalid.
| name | The name of the view. This will be displayed in the UI and also published with the view. |
| isPerspective | Set this to true if this is a perspective view or false if the projection mode is parallel. |
| position | Camera position |
| upVector | Camera up vector |
| viewDirection | Camera view direction |
| targetDistance | Camera target distance |
| windowSize | The WindowSize corresponds to the renderer zoom ball radius. |
| fieldOfView | Field of View - note, this is not always available (set to zero if not available) |
| clippingPlanes | A collection of the view clipping planes (if any). |
| visibleEntities | A collection of entities that are to be shown when the view is active. |
|
get |
The bounding box of the selected occurrences at the time of the view capture.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
A collection of the view clipping planes (if any).
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
Field of View - note, this is not always available (it will be zero if not available)
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
The entity handle.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
True if view is a perspective projection view, false if view is a parallel projection view.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
True is this is a top-level view.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
True if this is a view that was created in Anark Core. False if this is a view that was imported from a CAD model.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
Camera "look at" point.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
The view name.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
Camera position.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
Camera target distance.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
Camera up vector.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
Camera view direction.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
Entities (occurrences) that are visible in the view.
Implements Anark.CoreSdkApi.Entities.ISdkView.
|
get |
The WindowSize corresponds to the renderer zoom ball radius.
Implements Anark.CoreSdkApi.Entities.ISdkView.