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

Public Member Functions

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

Public Attributes

ccPointCloudcloud
 
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
 

Detailed Description

Definition at line 467 of file AsciiFilter.cpp.

Constructor & Destructor Documentation

◆ cloudAttributesDescriptor()

cloudAttributesDescriptor::cloudAttributesDescriptor ( )
inline

Definition at line 495 of file AsciiFilter.cpp.

References reset().

Member Function Documentation

◆ reset()

void cloudAttributesDescriptor::reset ( void  )
inline

◆ updateMaxIndex()

void cloudAttributesDescriptor::updateMaxIndex ( int &  maxIndex)
inline

Definition at line 511 of file AsciiFilter.cpp.

References indexes, and scalarIndexes.

Referenced by prepareCloud().

Member Data Documentation

◆ 

union { ... }

◆ alphaIndex

int cloudAttributesDescriptor::alphaIndex

Definition at line 481 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ blueIndex

int cloudAttributesDescriptor::blueIndex

Definition at line 480 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ c_attribCount

const unsigned cloudAttributesDescriptor::c_attribCount = 14
static

Definition at line 469 of file AsciiFilter.cpp.

Referenced by reset().

◆ cloud

ccPointCloud* cloudAttributesDescriptor::cloud

◆ fRgbaIndex

int cloudAttributesDescriptor::fRgbaIndex

Definition at line 483 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ greenIndex

int cloudAttributesDescriptor::greenIndex

Definition at line 479 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ greyIndex

int cloudAttributesDescriptor::greyIndex

Definition at line 484 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ hasFloatRGBColors

bool cloudAttributesDescriptor::hasFloatRGBColors[4]

◆ hasNorms

bool cloudAttributesDescriptor::hasNorms

◆ hasRGBColors

bool cloudAttributesDescriptor::hasRGBColors

◆ indexes

int cloudAttributesDescriptor::indexes[c_attribCount]

Definition at line 487 of file AsciiFilter.cpp.

Referenced by reset(), and updateMaxIndex().

◆ iRgbaIndex

int cloudAttributesDescriptor::iRgbaIndex

Definition at line 482 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ labelIndex

int cloudAttributesDescriptor::labelIndex

Definition at line 485 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ redIndex

int cloudAttributesDescriptor::redIndex

Definition at line 478 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ scalarFields

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

◆ scalarIndexes

std::vector<int> cloudAttributesDescriptor::scalarIndexes

◆ xCoordIndex

int cloudAttributesDescriptor::xCoordIndex

Definition at line 472 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ xNormIndex

int cloudAttributesDescriptor::xNormIndex

Definition at line 475 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ yCoordIndex

int cloudAttributesDescriptor::yCoordIndex

Definition at line 473 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ yNormIndex

int cloudAttributesDescriptor::yNormIndex

Definition at line 476 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ zCoordIndex

int cloudAttributesDescriptor::zCoordIndex

Definition at line 474 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().

◆ zNormIndex

int cloudAttributesDescriptor::zNormIndex

Definition at line 477 of file AsciiFilter.cpp.

Referenced by AsciiFilter::loadCloudFromFormatedAsciiStream(), and prepareCloud().


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