This class allow the user to access to cloud coordinate. More...
Public Slots | |
| Array | GetColor () |
| Returns color of the point. If no color is stored in the cloud, GetColor will return -1, -1, -1. More... | |
| Number | GetDeviation () |
| Boolean | GetNext () |
| This function will update iterator with the next point of the cloud. More... | |
| SPoint | GetPt () |
| Boolean | IsValid () |
| String | toString () |
| Get the type of the variable. More... | |
Public Slots inherited from SObject | |
| Clear () | |
| To deallocate memory of the object. More... | |
| String | toString () |
| Get the type of the variable. More... | |
Public Member Functions | |
| SCloudIterator (SCloud _iCloud) | |
| ~SCloudIterator () | |
Public Attributes | |
| rsh::Data::Cloud::GCTYPE | m_CloudType |
| SPoint | m_CurrentPt |
| Number | m_Deviation |
| SCloud::Iterator | m_Iter |
| Number | m_MaxVal |
| Number | m_MinVal |
This class allow the user to access to cloud coordinate.
This class will store an iterator to a cloud for the script To parse a cloud and store the current iterate point in a separate point.
| SCloudIterator::SCloudIterator | ( | SCloud | _iCloud | ) |
|
inline |
|
slot |
Returns color of the point.
If no color is stored in the cloud, GetColor will return -1, -1, -1.
| Array.ErrorCode | The error code.
|
| Array.Red | The undefined red color between [0-1] |
| Array.Green | The undefined green color between [0-1] |
| Array.Blue | The undefined blue color between [0-1] |
|
slot |
| Returns | deviation of the point If no deviation is stored in the cloud GetDeviation will return an UndefinedValue |
|
slot |
This function will update iterator with the next point of the cloud.
| true | if the next point is found (has not reached the end of the cloud) |
| false | if there is no more point to parse |
|
slot |
| point | associated with the iterator |
|
slot |
| true | if the iterator is valid (has not reached the end of the cloud) |
| false | if there is no more point to parse |
|
slot |
Get the type of the variable.
| rsh::Data::Cloud::GCTYPE SCloudIterator::m_CloudType |
| SPoint SCloudIterator::m_CurrentPt |
| Number SCloudIterator::m_Deviation |
| SCloud::Iterator SCloudIterator::m_Iter |
| Number SCloudIterator::m_MaxVal |
| Number SCloudIterator::m_MinVal |