Jump to content

SceneMesh class: Difference between revisions

From LabVIEW Wiki
mNo edit summary
m Removed VI Server Category from page
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
{{TOCright}}
{{TOCright}}


==Properties==
<!--Edit Properties, Methods, or Events in the appropriate table in one on the VI Server Templates-->
<span class="mw-customtoggle-propertiestable">Show/Hide SceneMesh Properties Table</span>
{{VIServerClassTables|118}}
<div class="mw-collapsible" id="mw-customcollapsible-propertiestable">
{{VIServerLegend|showrw=TRUE|showrte=TRUE}}
{| class="wikitable sortable"
|+ SceneMesh Properties Table
! Property ID
! Short Name (English)
! Description
! R/W
! RTE
|- style="background-color:#FFFFCC;"
|62A43006
| [[SceneMesh class/ColorArray property|ColorArray]]
|Determines the RGBA color values that can be used by the mesh as defined by the Indices.
 
Elements
 
Name
Description
 
Red
Indicates the red value. Valid values include 0 through 1.
 
Green
Indicates the green value. Valid values include 0 through 1.
 
Blue
Indicates the blue value. Valid values include 0 through 1.
 
Alpha
Indicates the Alpha value. Valid values include 0 through 1.
|R
|X
|- style="background-color:#FFFFCC;"
|62A43008
| [[SceneMesh class/ColorBindingMode property|ColorBindingMode]]
|Returns the mode used to bind colors of the mesh to the representation.
|R
|X
|- style="background-color:#FFFFCC;"
|62A43000
| [[SceneMesh class/DrawMode property|DrawMode]]
|Returns the mode used to draw the mesh.
|R
|X
|- style="background-color:#FFFFCC;"
|62A4300A
| [[SceneMesh class/Indices property|Indices]]
|Indexes the texture coordinates for the mesh.
|R
|X
|- style="background-color:#FFFFCC;"
|62A43003
| [[SceneMesh class/NormalArray property|NormalArray]]
|Returns the x, y, and z normal components that can be used by the mesh as indexed by the Indices.
 
Elements:
*Name
*Description
*X - The x component of the normal vector.
*Y - The y component of the normal vector.
*Z - The z component of the normal vector.
|R
|X
|- style="background-color:#FFFFCC;"
|62A43005
| [[SceneMesh class/NormalBindingMode property|NormalBindingMode]]
|Returns the binding mode of the normals of the mesh.
|R
|X
|- style="background-color:#FFFFCC;"
|62A43009
| [[SceneMesh class/TextureCoordinates() property|TextureCoordinates()]]
|Defines the s and t texture space coordinates that can be used by the mesh as indexed by Indices.
 
Elements:
*Name
*Description
*S - The s texture space coordinate.
*T - The t texture space coordinate.
|R
|X
|- style="background-color:#FFFFCC;"
|62A4300B
| [[SceneMesh class/DisplayList? property|DisplayList?]]
|Sets whether the mesh uses display lists.
|R/W
|X
|- style="background-color:#FFFFCC;"
|62A43001
| [[SceneMesh class/VertexArray property|VertexArray]]
|Returns an array of the vertices that can be used by the mesh, as indexed by the Indices. Each vertex consists of an x, y, and z value.
 
This property is an array of clusters. Each cluster contains the following elements.
 
Elements:
*Name
*Description
*X - The x coordinate of the vertex.
*Y - The y coordinate of the vertex.
*Z - The z coordinate of the vertex.
|R
|X
|}
</div>
 
==Methods==
<span class="mw-customtoggle-methodstable">Show/Hide SceneMesh Methods Table</span>
<div class="mw-collapsible" id="mw-customcollapsible-methodstable">
{{VIServerLegend|showrte=TRUE}}
{| class="wikitable sortable"
|+ SceneMesh Methods Table
! Method ID
! Short Name (English)
! Description
! RTE
|- style="background-color:#FFFFCC;"
|62A42C02
| [[SceneMesh class/DelaunayMesh method|DelaunayMesh]]
|Generates a Delaunay triangulation mesh around an array of points. Use this method on an array of 3D points in which no two points share the same x and y values.
|X
|- style="background-color:#FFFFCC;"
|62A42C00
| [[SceneMesh class/SetMeshParms method|SetMeshParms]]
|Sets the parameters that describe the mesh. Use this method to define how LabVIEW renders the 3D object to which you apply the mesh. If you do not specify a value for a parameter of this method, LabVIEW uses the current value of the parameter.
|X
|- style="background-color:#FFFFCC;"
|62A42C01
| [[SceneMesh class/ShareArrays method|ShareArrays]]
|Shares colors, normals, texture coordinates, and/or vertex arrays between meshes.
|X
|}
</div>
 
==Events==
''No Events for this class.''


== History ==
== History ==
Line 159: Line 24:
*[[VI Server]]
*[[VI Server]]


[[Category:VI Server]]
 
[[Category:VI Server Class]]
[[Category:VI Server Class]]

Latest revision as of 01:58, 8 May 2020

VI Server Class Information
Return to VI Server Class Hierarchy
Class Name SceneMesh class
Class ID 118
Scope Basic Development Environment
Class Inheritance
Class Children

This class has no children.


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

Properties

Show/Hide SceneMesh Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
SceneMesh Properties Table
Property ID Long Name (English) Description R/W RTE
62A43000Draw ModeReturns the mode used to draw the mesh.Read OnlyYes
62A43001Vertex ArrayReturns an array of the vertices that can be used by the mesh, as indexed by the Indices. Each vertex consists of an x, y, and z value.Read OnlyYes
62A43003Normal ArrayReturns the x, y, and z normal components that can be used by the mesh as indexed by the Indices.Read OnlyYes
62A43005Normal Binding ModeReturns the binding mode of the normals of the mesh.Read OnlyYes
62A43006Color ArrayDetermines the RGBA color values that can be used by the mesh as defined by the Indices.Read OnlyYes
62A43008Color Binding ModeReturns the mode used to bind colors of the mesh to the representation.Read OnlyYes
62A43009Texture Coordinates []Defines the s and t texture space coordinates that can be used by the mesh as indexed by Indices.Read OnlyYes
62A4300AIndicesIndexes the texture coordinates for the mesh.Read OnlyYes
62A4300BUse Display List?Sets whether the mesh uses display lists.Read/WriteYes

Methods

Show/Hide SceneMesh Properties Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
SceneMesh Methods Table
Method ID Long Name (English) Description RTE
62A42C00Set Mesh ParametersSets the parameters that describe the mesh. Use this method to define how LabVIEW renders the 3D object to which you apply the mesh. If you do not specify a value for a parameter of this method, LabVIEW uses the current value of the parameter.Yes (Read/Write)
62A42C01Share ArraysShares colors, normals, texture coordinates, and/or vertex arrays between meshes.Yes (Read/Write)
62A42C02Delaunay MeshGenerates a Delaunay triangulation mesh around an array of points. Use this method on an array of 3D points in which no two points share the same x and y values.Yes (Read/Write)

Events

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


History

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

See Also