Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoLDMDataAccess::DataInfoPolyLine Class Reference

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DataInfoPolyLine() [1/2]

SoLDMDataAccess::DataInfoPolyLine::DataInfoPolyLine ( int  numPoint)

Constructor of a dataInfoPolyline.

The number of points must be passed for the structure allocation.

◆ ~DataInfoPolyLine()

virtual SoLDMDataAccess::DataInfoPolyLine::~DataInfoPolyLine ( )
virtual

◆ DataInfoPolyLine() [2/2]

SoLDMDataAccess::DataInfoPolyLine::DataInfoPolyLine ( const DataInfoPolyLine A)

Copy constructor.

Member Function Documentation

◆ operator=()

void SoLDMDataAccess::DataInfoPolyLine::operator= ( const DataInfoPolyLine A)

Member Data Documentation

◆ bufferSize

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.

◆ errorFlag

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.

◆ numSegment

int SoLDMDataAccess::DataInfoPolyLine::numSegment

Number of segments in the polyline.

Definition at line 421 of file SoLDMDataAccess.h.

◆ segmentBufferDim

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.

◆ segmentBufferSize

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.

◆ segmentCoord

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.


The documentation for this class was generated from the following file: