SceneWindow class

From LabVIEW Wiki
Jump to: navigation, search
VI Server Class Information
Return to VI Server Class Hierarchy
Class Name SceneWindow class
Class ID 84
Scope Basic Development Environment
Class Inheritance
Class Children

This class has no children.


The SceneWindow class is a class in the VI Server Class Hierarchy, (see also VI Server).

Properties

Show/Hide SceneWindow Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
SceneWindow Properties Table
Property ID Long Name (English) Description R/W RTE
C55E800SceneReads or writes the reference number for the scene.Read/WriteYes
C55E801ModelView MatrixReads or writes a matrix that contains the translation, rotation, and scale values for the 3D scene that appears in the scene window.Read/WriteYes
C55E802Background ColorReads or writes the RGBA color value for the background of the 3D scene.Read/WriteYes
C55E807Camera Controller:TypeReads or writes the configuration of the scene camera. Click and hold the left mouse button and drag the cursor to operate the camera.Read/WriteYes
C55E809Projection MatrixRead or writes the matrix that represents the transformations LabVIEW uses to project the 3D scene in the scene window.Read/WriteYes
C55E80AWindow BoundsReads or writes the left, right, top, and bottom bounds of the scene window.Read/WriteYes
C55E80BWindow TitleReads or writes the title of the scene window.Read/WriteYes
C55E80CWindow StateReads or writes the state of the scene window.Read/WriteYes
C55E80DAutomatic Projection ModeReads or writes whether LabVIEW automatically updates the projection mode when you resize the scene window.Read/WriteYes
C55E80ECamera Controller:Auto RedrawReads or writes if the scene window becomes invalid when you use the camera controller.Read/WriteYes

Methods

Show/Hide SceneWindow Properties Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
SceneWindow Methods Table
Method ID Long Name (English) Description RTE
C55E400Setup CameraSpecifies the position of the camera relative to the scene.Yes (Read/Write)
C55E401Projection:FrustumSets coordinates to render the scene in a frustum-shaped view. This projection causes objects farther from the camera to appear smaller.Yes (Read/Write)
C55E402Projection:OrthographicSets coordinates to render the scene in a box-shaped view. The distance of the camera from the objects does not affect the size of the objects in this view.Yes (Read/Write)
C55E403Projection:PerspectiveSets coordinates to render the scene in a frustum-shaped view, where you specify an angle for the horizontal and vertical viewing fields. This projection causes objects closer to the camera to appear larger in size. This method is similar to the Projection:Frustum method.Yes (Read/Write)
C55E404Render to ImageReturns an image of the scene.Yes (Read/Write)
C55E405PickCreates a ray that originates at the specified point and returns an array of node paths for objects that intersect that ray.Yes (Read/Write)
C55E406RedrawRedraws the 3D scene in the scene window.Yes (Read/Write)
C55E407AutoFocusPositions the camera to view all 3D scene objects. Use this method to automatically focus and render the scene in an exterior window.Yes (Read/Write)
C55E408WindowToObjectCoordsConverts a point in window coordinates to points in object coordinates on the near and far clip planes.Yes (Read/Write)

Events

This class has no events or it inherits events from its parent: Scene Class.


History

Version Change(s)
LabVIEW 2018 More info to come.

See Also