Difference between revisions of "API Panel.PCloud"
From Flowcode Help
Jump to navigationJump to search (XML import) |
(XML import of API documentation) |
||
Line 1: | Line 1: | ||
− | <sidebar>API | + | <sidebar>API Contents</sidebar> |
Point cloud manipulation | Point cloud manipulation | ||
Line 31: | Line 31: | ||
|width="35%"|[[API Panel.PCloud.SetGridEx|SetGridEx]] | |width="35%"|[[API Panel.PCloud.SetGridEx|SetGridEx]] | ||
|Sets the X,Y,Z point lists in a height-map grid | |Sets the X,Y,Z point lists in a height-map grid | ||
+ | |- | ||
+ | |width="35%"|[[API Panel.PCloud.SetGridFlat|SetGridFlat]] | ||
+ | |Sets the X,Y,Z point lists in a flat height-map grid | ||
+ | |- | ||
+ | |width="35%"|[[API Panel.PCloud.SetGridPoint|SetGridPoint]] | ||
+ | |Given an XY on the grid, sets the vertex value at that point | ||
|- | |- | ||
|width="35%"|[[API Panel.PCloud.UnitScale|UnitScale]] | |width="35%"|[[API Panel.PCloud.UnitScale|UnitScale]] | ||
Line 40: | Line 46: | ||
|width="35%"|[[API Panel.PCloud.SetColors|SetColors]] | |width="35%"|[[API Panel.PCloud.SetColors|SetColors]] | ||
|Sets the RGB colour of the individual points in the cloud | |Sets the RGB colour of the individual points in the cloud | ||
+ | |- | ||
+ | |width="35%"|[[API Panel.PCloud.SetGridColor|SetGridColor]] | ||
+ | |Given an XY on the grid, sets the vertex colour at that point | ||
|- | |- | ||
|width="35%"|[[API Panel.PCloud.SetMode|SetMode]] | |width="35%"|[[API Panel.PCloud.SetMode|SetMode]] | ||
|Sets the rendering mode of the point cloud | |Sets the rendering mode of the point cloud | ||
+ | |- | ||
+ | |width="35%"|[[API Panel.PCloud.SetPointLight|SetPointLight]] | ||
+ | |Enables or disables simple lighting for point mode, providing a normal passing through the point and (0,0,0) | ||
|- | |- | ||
|width="35%"|[[API Panel.PCloud.Update|Update]] | |width="35%"|[[API Panel.PCloud.Update|Update]] |
Revision as of 14:27, 9 August 2013
<sidebar>API Contents</sidebar>
Point cloud manipulation
This class is contained within Panel.
Contents
Functions provided for this class
Create | Creates a new point cloud tied to a position handle |
SetPos | Sets the position for the point cloud to be located at |
GetPos | Gets the position the point cloud is located at |
SetPoints | Sets the X,Y,Z point lists |
SetPointsEx | Sets the X,Y,Z point lists |
SetGrid | Sets the X,Y,Z point lists in a height-map grid |
SetGridEx | Sets the X,Y,Z point lists in a height-map grid |
SetGridFlat | Sets the X,Y,Z point lists in a flat height-map grid |
SetGridPoint | Given an XY on the grid, sets the vertex value at that point |
UnitScale | Creates a unit scaled axis (X, Y or Z) with a center of zero and a range of two |
SetColor | Sets the RGB colour of the entire cloud |
SetColors | Sets the RGB colour of the individual points in the cloud |
SetGridColor | Given an XY on the grid, sets the vertex colour at that point |
SetMode | Sets the rendering mode of the point cloud |
SetPointLight | Enables or disables simple lighting for point mode, providing a normal passing through the point and (0,0,0) |
Update | Manually refresh the screen the point cloud exists on |
Constants provided for this class
Type | Name | Value | Description |
---|---|---|---|
LONG | Mode_Point | 0 | Displays cloud as points |
LONG | Mode_Line | 1 | Displays cloud as joined lines |
LONG | Mode_Solid | 2 | Displays cloud as a solid surface |
Examples
No additional examples
See also
No additional information