Information about data returned for an arbitrary polyline. More...
#include <LDM/SoLDMDataAccess.h>
Public Member Functions | |
DataInfoPolyLine (int numPoint) | |
Constructor of a dataInfoPolyline. | |
virtual | ~DataInfoPolyLine () |
DataInfoPolyLine (const DataInfoPolyLine &A) | |
Copy constructor. | |
void | operator= (const DataInfoPolyLine &A) |
Public Attributes | |
ErrorValue | errorFlag |
Error indicator. | |
int64_t | bufferSize |
Size of the requested data in bytes. | |
int | numSegment |
Number of segments in the polyline. | |
int * | segmentBufferDim |
Dimension of buffer for each segment. | |
int * | segmentBufferSize |
Size of buffer for each segment (size = dimension*datatype). | |
SbVec3i32 ** | segmentCoord |
Segment coordinates in the data. | |
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.
Definition at line 400 of file SoLDMDataAccess.h.
SoLDMDataAccess::DataInfoPolyLine::DataInfoPolyLine | ( | int | numPoint | ) |
Constructor of a dataInfoPolyline.
The number of points must be passed for the structure allocation.
|
virtual |
SoLDMDataAccess::DataInfoPolyLine::DataInfoPolyLine | ( | const DataInfoPolyLine & | A | ) |
Copy constructor.
void SoLDMDataAccess::DataInfoPolyLine::operator= | ( | const DataInfoPolyLine & | A | ) |
int64_t SoLDMDataAccess::DataInfoPolyLine::bufferSize |
Size of the requested data in bytes.
Used by the application to allocate buffer.
Definition at line 418 of file SoLDMDataAccess.h.
ErrorValue SoLDMDataAccess::DataInfoPolyLine::errorFlag |
Error indicator.
Use enum ErrorValue. Note that even when errorFlag is CORRECT, bufferSize may be zero meaning no data was returned.
Definition at line 415 of file SoLDMDataAccess.h.
int SoLDMDataAccess::DataInfoPolyLine::numSegment |
Number of segments in the polyline.
Definition at line 421 of file SoLDMDataAccess.h.
int* SoLDMDataAccess::DataInfoPolyLine::segmentBufferDim |
Dimension of buffer for each segment.
This array of ints contains numSegment elements. A null value means the segment does not intersect the data.
Definition at line 425 of file SoLDMDataAccess.h.
int* SoLDMDataAccess::DataInfoPolyLine::segmentBufferSize |
Size of buffer for each segment (size = dimension*datatype).
This array of ints contains numSegment of non null dimension value elements.
Definition at line 429 of file SoLDMDataAccess.h.
SbVec3i32** SoLDMDataAccess::DataInfoPolyLine::segmentCoord |
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.
Definition at line 436 of file SoLDMDataAccess.h.