SceneGraphDisplay class

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

This class has no children.


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

Properties

Show/Hide SceneGraphDisplay Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
SceneGraphDisplay Properties Table
Property ID Long Name (English) Description R/W RTE
50F27400ModelView MatrixReads or writes a matrix that contains the translation, rotation, and scale values for the 3D scene that appears in the 3D picture control.Read/WriteYes
50F27401Background ColorReads or writes the RGBA color value for the background of the 3D scene.Read/WriteYes
50F27403Projection MatrixRead or writes the matrix that represents the transformations LabVIEW uses to project the scene in the 3D picture control viewer.Read/WriteYes
50F27404Camera 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
50F27405Automatic Projection ModeReads or writes whether LabVIEW automatically updates the projection mode for the scene. If set to Orthographic or Perspective, LabVIEW sets up an appropriate projection based on the scene or the size of the control.Read/WriteYes
50F27406Content BoundsReads or writes the bounds for the 3D picture control in which LabVIEW renders a 3D scene.Read/WriteYes
50F27407Content Bounds:WidthReads or writes the width of the 3D picture control.Read/WriteYes
50F27408Content Bounds:HeightReads or writes the height of the 3D picture control.Read/WriteYes
50F27409Content PositionReads or writes the position of the area in which content appears in the 3D picture control.Read OnlyYes
50F2740AContent Position:HorizontalReads or writes the horizontal position of the area in which content appears in the 3D picture control.Read OnlyYes
50F2740BContent Position:VerticalReads or writes the vertical position of the area in which content appears in the 3D picture control.Read OnlyYes
50F2740CCamera Controller:Auto RedrawReads or writes if this control becomes invalid when you use the camera controller.Read/WriteYes

Methods

Show/Hide SceneGraphDisplay Properties Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
SceneGraphDisplay Methods Table
Method ID Long Name (English) Description RTE
50F27000Setup CameraSpecifies the position of the camera relative to the scene. This method modifies the ModelView Matrix.Yes (Read/Write)
50F27002Projection: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)
50F27003Projection: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)
50F27004Render to ImageReturns an image of the scene.Yes (Read/Write)
50F27005Projection: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)
50F27006Pick ModelCasts a ray through a 3D scene at the Point coordinate and determines which models in the scene intersect with the ray.Yes (Read/Write)
50F27007RedrawRedraws the 3D scene in the 3D picture control.Yes (Read/Write)
50F27008PickPointGiven an x and y coordinate, casts a ray through the 3D scene and returns the x, y, and z-coordinates of the first object the ray intersects.Yes (Read/Write)
50F27009AutoFocusPositions the camera to view all 3D scene objects in the front panel window.Yes (Read/Write)
50F2700AWindowToObjectCoordsConverts a point in window coordinates to points in object coordinates on the near and far clip planes of the view.Yes (Read/Write)

Events

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


History

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

See Also