 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
17 #include <QStringList>
33 unsigned& finalPointCount,
35 bool useDataSFAsWeights =
false,
36 bool useModelSFAsWeights =
false,
37 QWidget* parent =
nullptr);
int addScalarField(const char *uniqueName) override
Creates a new scalar field and registers it.
Definition: ecvPointCloud.cpp:4210
void deleteScalarField(int index) override
Deletes a specific scalar field.
Definition: ecvPointCloud.cpp:3237
virtual bool reserve(unsigned n)
Reserves some memory for hosting the point references.
Definition: ReferenceCloud.cpp:51
bool isKindOf(CV_CLASS_ENUM type) const
Definition: ecvObject.h:128
unsigned size() const override
Returns the number of points.
Definition: ReferenceCloud.h:41
virtual unsigned size() const =0
Returns the number of points.
GraphType data
Definition: graph_cut.cc:138
static ccPointCloud * ToPointCloud(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccPointCloud.
Definition: ecvHObjectCaster.cpp:54
@ MESH
Definition: CVTypes.h:105
bool isA(CV_CLASS_ENUM type) const
Definition: ecvObject.h:131
static bool Print(const char *format,...)
Prints out a formatted message in console.
Definition: CVLog.cpp:113
@ POINT_CLOUD
Definition: CVTypes.h:104
virtual ccGenericPointCloud * getAssociatedCloud() const =0
Returns the vertices cloud.
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
virtual unsigned capacity() const
Returns max capacity.
Definition: ReferenceCloud.h:174
A simple scalar field (to be associated to a point cloud)
Definition: ScalarField.h:25
virtual ScalarType getPointScalarValue(unsigned pointIndex) const =0
Returns the ith point associated scalar value.
#define ParallelSort
Definition: ParallelSort.h:33
Definition: GenericProgressCallback.h:20
int getScalarFieldIndexByName(const char *name) const
Returns the index of a scalar field represented by its name.
Definition: PointCloudTpl.h:375
core::Tensor result
Definition: VtkUtils.cpp:76
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
virtual void showColors(bool state)
Sets colors visibility.
Definition: ecvDrawableObject.h:84
virtual bool addPointIndex(unsigned globalIndex)
Point global index insertion mechanism.
Definition: ReferenceCloud.cpp:84
int getCurrentInScalarFieldIndex()
Returns current INPUT scalar field index (or -1 if none)
Definition: PointCloudTpl.h:413
Graphical progress indicator (thread-safe)
Definition: ecvProgressDialog.h:27
Generic mesh interface.
Definition: ecvGenericMesh.h:28
virtual bool colorsShown() const
Returns whether colors are shown or not.
Definition: ecvDrawableObject.h:82
Garbage container (automatically deletes pointers when destroyed)
Definition: Garbage.h:15
MiniVec< float, N > floor(const MiniVec< float, N > &a)
Definition: MiniVec.h:75
virtual void showSF(bool state)
Sets active scalarfield visibility.
Definition: ecvDrawableObject.h:108
virtual bool resize(unsigned n)
Presets the size of the vector used to store point references.
Definition: ReferenceCloud.cpp:64
A generic 3D point cloud with index-based and presistent access to points.
Definition: GenericIndexedCloudPersist.h:18
virtual bool enableScalarField()=0
Enables the scalar field associated to the cloud.
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
int count
Definition: FileIOFactory.cpp:132
virtual bool sfShown() const
Returns whether active scalar field is visible.
Definition: ecvDrawableObject.h:117
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
Definition: CVLog.cpp:133
A very simple point cloud (no point duplication)
Definition: ReferenceCloud.h:29
ccScalarField * getCurrentDisplayedScalarField() const
Returns the currently displayed scalar (or 0 if none)
Definition: ecvPointCloud.cpp:3218
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
void add(C *item)
Puts an item in the trash.
Definition: Garbage.h:18
static ccGenericPointCloud * ToGenericPointCloud(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccGenericPointCloud.
Definition: ecvHObjectCaster.cpp:81
void setCurrentScalarField(int index)
Sets both the INPUT & OUTPUT scalar field.
Definition: PointCloudTpl.h:435
static ccGenericMesh * ToGenericMesh(ccHObject *obj)
Converts current object to ccGenericMesh (if possible)
Definition: ecvHObjectCaster.cpp:123