 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
16 #include <pcl/PointIndices.h>
30 pcl::PointIndicesPtr &in2outMapping,
31 bool overwrite =
true);
36 pcl::PointIndicesPtr &in2outMapping,
37 bool overwrite =
true);
int addScalarField(const char *uniqueName) override
Creates a new scalar field and registers it.
Definition: ecvPointCloud.cpp:4210
bool hasColors() const override
Returns whether colors are enabled or not.
Definition: ecvPointCloud.cpp:1689
void computeMinAndMax() override
Determines the min and max values.
Definition: ecvScalarField.cpp:145
const ecvColor::Rgb & getPointColor(unsigned pointIndex) const override
Returns color corresponding to a given point.
Definition: ecvPointCloud.cpp:1535
ScalarType & getValue(std::size_t index)
Definition: ScalarField.h:92
void copyScalarFields(const ccPointCloud *inCloud, ccPointCloud *outCloud, pcl::PointIndicesPtr &in2outMapping, bool overwrite)
Makes a copy of all scalar fields from one cloud to another.
Definition: copy.cpp:14
unsigned getNumberOfScalarFields() const
Returns the number of associated (and active) scalar fields.
Definition: PointCloudTpl.h:345
unsigned size() const override
Definition: PointCloudTpl.h:38
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
A simple scalar field (to be associated to a point cloud)
Definition: ScalarField.h:25
int getScalarFieldIndexByName(const char *name) const
Returns the index of a scalar field represented by its name.
Definition: PointCloudTpl.h:375
void QPCL_ENGINE_LIB_API copyScalarFields(const ccPointCloud *inCloud, ccPointCloud *outCloud, pcl::PointIndicesPtr &in2outMapping, bool overwrite=true)
Makes a copy of all scalar fields from one cloud to another.
Definition: copy.cpp:14
ScalarField * getScalarField(int index) const
Returns a pointer to a specific scalar field.
Definition: PointCloudTpl.h:354
virtual void showColors(bool state)
Sets colors visibility.
Definition: ecvDrawableObject.h:84
bool resizeSafe(std::size_t count, bool initNewElements=false, ScalarType valueForNewElements=0)
Resizes memory (no exception thrown)
Definition: ScalarField.cpp:81
void copyRGBColors(const ccPointCloud *inCloud, ccPointCloud *outCloud, pcl::PointIndicesPtr &in2outMapping, bool overwrite)
Makes a copy of RGB colors from one cloud to another.
Definition: copy.cpp:72
const char * getName() const
Returns scalar field name.
Definition: ScalarField.h:43
virtual void release()
Decrease counter and deletes object when 0.
Definition: CVShareable.cpp:35
virtual bool colorsShown() const
Returns whether colors are shown or not.
Definition: ecvDrawableObject.h:82
void QPCL_ENGINE_LIB_API copyRGBColors(const ccPointCloud *inCloud, ccPointCloud *outCloud, pcl::PointIndicesPtr &in2outMapping, bool overwrite=true)
Makes a copy of RGB colors from one cloud to another.
Definition: copy.cpp:72
virtual void showSF(bool state)
Sets active scalarfield visibility.
Definition: ecvDrawableObject.h:108
void addRGBColor(const ecvColor::Rgb &C)
Pushes an RGB color on stack.
Definition: ecvPointCloud.cpp:1712
virtual bool sfShown() const
Returns whether active scalar field is visible.
Definition: ecvDrawableObject.h:117
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15
void setValue(std::size_t index, ScalarType value)
Definition: ScalarField.h:96
A scalar field associated to display-related parameters.
Definition: ecvScalarField.h:19
bool reserveTheRGBTable()
Reserves memory to store the RGB colors.
Definition: ecvPointCloud.cpp:1200
std::string name
Definition: FileIOFactory.cpp:129