Information about data returned for an arbitrary polyline. More...
#include <LDM/SoLDMDataAccess.h>
Public Member Functions | |
DataInfoPolyLine (int numPoint) | |
virtual | ~DataInfoPolyLine () |
DataInfoPolyLine (const DataInfoPolyLine &A) | |
void | operator= (const DataInfoPolyLine &A) |
Public Attributes | |
ErrorValue | errorFlag |
int64_t | bufferSize |
int | numSegment |
int * | segmentBufferDim |
int * | segmentBufferSize |
SbVec3i32 ** | segmentCoord |
Information about data returned for an arbitrary polyline.
Used with the SoLDMDataAccess::getData(DataInfoPolyLine&, int, const SbBox3i32&, int, const SbVec3i32*, SoBufferObject*) method.
The following figure shows the information that is returned.
SoLDMDataAccess::DataInfoPolyLine::DataInfoPolyLine | ( | int | numPoint | ) |
Constructor of a dataInfoPolyline.
The number of points must be passed for the structure allocation.
virtual SoLDMDataAccess::DataInfoPolyLine::~DataInfoPolyLine | ( | ) | [virtual] |
SoLDMDataAccess::DataInfoPolyLine::DataInfoPolyLine | ( | const DataInfoPolyLine & | A | ) |
Copy constructor.
void SoLDMDataAccess::DataInfoPolyLine::operator= | ( | const DataInfoPolyLine & | A | ) |
Size of the requested data in bytes.
Used by the application to allocate buffer.
Error indicator.
Use enum ErrorValue. Note that even when errorFlag is CORRECT, bufferSize may be zero meaning no data was returned.
Number of segments in the polyline.
Dimension of buffer for each segment.
This array of ints contains numSegment elements. A null value means the segment does not intersect the data.
Size of buffer for each segment (size = dimension*datatype).
This array of ints contains numSegment of non null dimension value elements.
Segment coordinates in the data.
Each segment of non null dimension has two associated SbVec3i32 coordinates (start and end point). This array of SbVec3i32 contains numSegment of non null dimension value elements.