|
|
| 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 == |
The SceneMesh class is a class in the VI Server Class Hierarchy, (see also VI Server).
Properties
Show/Hide SceneMesh Properties Table
SceneMesh Properties Table
| Property ID
|
Long Name (English)
|
Description
|
R/W
|
RTE
|
| 62A43000 | Draw Mode | Returns the mode used to draw the mesh. | Read Only | Yes |
| 62A43001 | Vertex Array | 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. | Read Only | Yes |
| 62A43003 | Normal Array | Returns the x, y, and z normal components that can be used by the mesh as indexed by the Indices. | Read Only | Yes |
| 62A43005 | Normal Binding Mode | Returns the binding mode of the normals of the mesh. | Read Only | Yes |
| 62A43006 | Color Array | Determines the RGBA color values that can be used by the mesh as defined by the Indices. | Read Only | Yes |
| 62A43008 | Color Binding Mode | Returns the mode used to bind colors of the mesh to the representation. | Read Only | Yes |
| 62A43009 | Texture Coordinates [] | Defines the s and t texture space coordinates that can be used by the mesh as indexed by Indices. | Read Only | Yes |
| 62A4300A | Indices | Indexes the texture coordinates for the mesh. | Read Only | Yes |
| 62A4300B | Use Display List? | Sets whether the mesh uses display lists. | Read/Write | Yes |
Methods
Show/Hide SceneMesh Properties Table
SceneMesh Methods Table
| Method ID
|
Long Name (English)
|
Description
|
RTE
|
| 62A42C00 | Set Mesh Parameters | 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. | Yes (Read/Write) |
| 62A42C01 | Share Arrays | Shares colors, normals, texture coordinates, and/or vertex arrays between meshes. | Yes (Read/Write) |
| 62A42C02 | Delaunay Mesh | 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. | Yes (Read/Write) |
Events
This class has no events or it inherits events from its parent: SceneGeometry Class.
History
| Version
|
Change(s)
|
|
More info to come.
|
See Also