NX Open C++ Reference Guide
|
Represents a NXOpen::Display::PerspectiveOptionsBuilder
Cameras are not supported in KF.
More...
Public Member Functions | |
void | ApplyLastDistanceChange () |
Sets the work view to have the camera distance, which is the distance from the camera's position to the target position in the work view which was specified in the last use of NXOpen::Display::PerspectiveOptionsBuilder::SetCameraDistance The camera distance has no meaning for an orthographic view, so this method does nothing if the work view is an orthographic view. More... | |
double | CameraDistance () |
Returns the camera distance: The distance from the camera's position to the target position in the work view view when it is a perspective view. More... | |
void | Cancel () |
Cancels the Perspective Options Builder. More... | |
void | SetCameraDistance (double cameraDistance) |
Sets the camera distance: The distance from the camera's position to the target position in the work view view when it is a perspective view. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a NXOpen::Display::PerspectiveOptionsBuilder
Cameras are not supported in KF.
Created in NX8.0.0.
void NXOpen::Display::PerspectiveOptionsBuilder::ApplyLastDistanceChange | ( | ) |
Sets the work view to have the camera distance, which is the distance from the camera's position to the target position in the work view which was specified in the last use of NXOpen::Display::PerspectiveOptionsBuilder::SetCameraDistance The camera distance has no meaning for an orthographic view, so this method does nothing if the work view is an orthographic view.
Created in NX11.0.0.
License requirements : None
double NXOpen::Display::PerspectiveOptionsBuilder::CameraDistance | ( | ) |
Returns the camera distance: The distance from the camera's position to the target position in the work view view when it is a perspective view.
The camera distance has no meaning for an orthographic view, so this property is not applicable if the work view is an orthographic view.
Created in NX8.0.0.
License requirements : None
void NXOpen::Display::PerspectiveOptionsBuilder::Cancel | ( | ) |
Cancels the Perspective Options Builder.
The camera distance of the work view is restored to the value it had when the builder was created. The camera distance has no meaning for an orthographic view, so this method does nothing if the work view is an orthographic view.
Created in NX11.0.0.
License requirements : None
void NXOpen::Display::PerspectiveOptionsBuilder::SetCameraDistance | ( | double | cameraDistance | ) |
Sets the camera distance: The distance from the camera's position to the target position in the work view view when it is a perspective view.
The camera distance has no meaning for an orthographic view, so this property is not applicable if the work view is an orthographic view.
Created in NX8.0.0.
License requirements : None
cameraDistance | cameradistance |