HPS::OOC::QueryIterator

class HPS.OOC.QueryIterator : public IDisposable

The iterator returned from a call to OOC.PointCloud.QueryPoints.

Public Types

enum Status

Designates the status of an QueryIterator.

Values:

Alive
Dead
ErrorUnknownFailure
ErrorFileSystemFailure
ErrorDeserializationFailure
ErrorCouldNotFindNode
ErrorCorruptNode
enum Storage

Designates the location of an QueryResult.

Values:

Memory
Disk

Public Functions

void Dispose ()
HPS.OOC.NodeHandle GetNodeHandle ()

Yields the currently processed point’s node handle.

Return

the node handle of the current result

HPS.Point GetNodePoint ()

Yields the currently processed point’s coordinates in object space.

Return

the object space coordinates for the point of the current result

HPS.RGBColor GetNodePointColor ()

Yields the currently processed point’s RGB color.

Return

the RGB color for the point of the current result

ulong GetNodePointIndex ()

Yields the currently processed point’s index.

Return

the index for the point of the current result.

HPS.OOC.QueryIterator.Status GetStatus ()

return

the status of the iterator.

HPS.OOC.QueryIterator.Storage GetStorage ()

Yields the currently processed point’s storage.

Return

the storage for the point of the current result.

void Next ()

Advances the iterator to the next point result. This is only legal to call when this->GetStatus() returns OOC.QueryIterator.Status.Alive.

QueryIterator ()

Constructs a dead query iterator.

Return

The dead iterator