ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudAttributesDescriptor Struct Reference
Collaboration diagram for cloudAttributesDescriptor:
[legend]

Public Member Functions

 cloudAttributesDescriptor ()
 
void reset ()
 
void updateMaxIndex (int &maxIndex)
 

Public Attributes

ccPointCloud * cloud
 
union {
   struct {
      int   xCoordIndex
 
      int   yCoordIndex
 
      int   zCoordIndex
 
      int   xNormIndex
 
      int   yNormIndex
 
      int   zNormIndex
 
      int   redIndex
 
      int   greenIndex
 
      int   blueIndex
 
      int   alphaIndex
 
      int   iRgbaIndex
 
      int   fRgbaIndex
 
      int   greyIndex
 
      int   labelIndex
 
   } 
 
   int   indexes [c_attribCount]
 
}; 
 
std::vector< int > scalarIndexes
 
std::vector< cloudViewer::ScalarField * > scalarFields
 
bool hasNorms
 
bool hasRGBColors
 
bool hasFloatRGBColors [4]
 

Static Public Attributes

static const unsigned c_attribCount = 14
 

Constructor & Destructor Documentation

◆ cloudAttributesDescriptor()

cloudAttributesDescriptor::cloudAttributesDescriptor ( )
inline

References reset().

Member Function Documentation

◆ reset()

◆ updateMaxIndex()

void cloudAttributesDescriptor::updateMaxIndex ( int &  maxIndex)
inline

References indexes, and scalarIndexes.

Referenced by prepareCloud().

Member Data Documentation

◆ @43

union { ... }

◆ alphaIndex

int cloudAttributesDescriptor::alphaIndex

◆ blueIndex

int cloudAttributesDescriptor::blueIndex

◆ c_attribCount

const unsigned cloudAttributesDescriptor::c_attribCount = 14
static

Referenced by reset().

◆ cloud

◆ fRgbaIndex

int cloudAttributesDescriptor::fRgbaIndex

◆ greenIndex

int cloudAttributesDescriptor::greenIndex

◆ greyIndex

int cloudAttributesDescriptor::greyIndex

◆ hasFloatRGBColors

bool cloudAttributesDescriptor::hasFloatRGBColors[4]

◆ hasNorms

bool cloudAttributesDescriptor::hasNorms

◆ hasRGBColors

bool cloudAttributesDescriptor::hasRGBColors

◆ indexes

int cloudAttributesDescriptor::indexes[c_attribCount]

Referenced by reset(), and updateMaxIndex().

◆ iRgbaIndex

int cloudAttributesDescriptor::iRgbaIndex

◆ labelIndex

int cloudAttributesDescriptor::labelIndex

◆ redIndex

int cloudAttributesDescriptor::redIndex

◆ scalarFields

std::vector<cloudViewer::ScalarField*> cloudAttributesDescriptor::scalarFields

◆ scalarIndexes

std::vector<int> cloudAttributesDescriptor::scalarIndexes

◆ xCoordIndex

int cloudAttributesDescriptor::xCoordIndex

◆ xNormIndex

int cloudAttributesDescriptor::xNormIndex

◆ yCoordIndex

int cloudAttributesDescriptor::yCoordIndex

◆ yNormIndex

int cloudAttributesDescriptor::yNormIndex

◆ zCoordIndex

int cloudAttributesDescriptor::zCoordIndex

◆ zNormIndex

int cloudAttributesDescriptor::zNormIndex

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