 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
34 Q_PLUGIN_METADATA(IID
"ecvcorp.cloudviewer.plugin.qStepCADImport" FILE
int addScalarField(const char *uniqueName) override
Creates a new scalar field and registers it.
Definition: ecvPointCloud.cpp:4210
std::string filename
Definition: PointCloudIO.cpp:47
virtual void showNormals(bool state)
Sets normals visibility.
Definition: ecvDrawableObject.h:93
@ CC_FERR_CANCELED_BY_USER
Definition: FileIOFilter.h:30
bool oneStep()
Increments total progress value of a single unit.
Definition: NormalizedProgress.cpp:99
Step file import plugin.
Definition: qStepCADImport.h:30
virtual void setColor(const ecvColor::Rgb &col)
Sets primitive color (shortcut)
Definition: ecvGenericPrimitive.cpp:30
GraphType data
Definition: graph_cut.cc:138
virtual void setName(const QString &name)
Sets object name.
Definition: ecvObject.h:75
@ RDB_OPEN_DLG_Scalar
Definition: RDBOpenDialog.h:22
static constexpr float DEFAULT_PRIORITY
Definition: FileIOFilter.h:313
static bool Print(const char *format,...)
Prints out a formatted message in console.
Definition: CVLog.cpp:113
virtual void start() override
Definition: ecvProgressDialog.cpp:70
unsigned size() const override
Definition: PointCloudTpl.h:38
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
Type r
Definition: ecvColorTypes.h:54
Definition: RDBFilter.h:29
Generic loading parameters.
Definition: FileIOFilter.h:51
void setCurrentDisplayedScalarField(int index)
Sets the currently displayed scalar field.
Definition: ecvPointCloud.cpp:3227
Generic file I/O filter.
Definition: FileIOFilter.h:46
core::Tensor result
Definition: VtkUtils.cpp:76
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
Definition: CVTypes.h:97
ImGuiContext * context
Definition: Window.cpp:76
virtual void showColors(bool state)
Sets colors visibility.
Definition: ecvDrawableObject.h:84
void showNormalVector(bool state)
Show normal vector.
Definition: ecvPlanarEntityInterface.h:25
const char RDB_OPEN_DLG_TYPES_NAMES[RDB_OPEN_DLG_TYPES_NUMBER][24]
Definition: RDBOpenDialog.h:25
Vector3Tpl cross(const Vector3Tpl &v) const
Cross product.
Definition: CVGeom.h:412
bool canSave(CV_CLASS_ENUM type, bool &multiple, bool &exclusive) const override
Returns whether this I/O filter can save the specified type of entity.
Definition: RDBFilter.cpp:562
@ CC_FERR_NOT_ENOUGH_MEMORY
Definition: FileIOFilter.h:31
RDB Open dialog.
Definition: RDBOpenDialog.h:29
bool reserveTheNormsTable()
Reserves memory to store the compressed normals.
Definition: ecvPointCloud.cpp:1253
void addNorm(const CCVector3 &N)
Pushes a normal vector on stack (shortcut)
Definition: ecvPointCloud.cpp:1754
Definition: sfEditDlg.h:16
Type g
Definition: ecvColorTypes.h:54
CC_FILE_ERROR loadFile(const QString &fileName, ccHObject &container, LoadParameters ¶meters) override
Loads one or more entities from a file.
Definition: RDBFilter.cpp:220
CC_FILE_ERROR
Typical I/O filter errors.
Definition: FileIOFilter.h:20
bool reserve(unsigned numberOfPoints) override
Reserves memory for all the active features.
Definition: ecvPointCloud.cpp:1452
Graphical progress indicator (thread-safe)
Definition: ecvProgressDialog.h:27
virtual void setMethodTitle(const char *methodTitle) override
Notifies the algorithm title.
Definition: ecvProgressDialog.h:49
virtual void showSF(bool state)
Sets active scalarfield visibility.
Definition: ecvDrawableObject.h:108
QVector< FileIOFilter::Shared > FilterList
Definition: ecvIOPluginInterface.h:22
virtual void setVisible(bool state)
Sets entity visibility.
Definition: ecvDrawableObject.h:40
void addRGBColor(const ecvColor::Rgb &C)
Pushes an RGB color on stack.
Definition: ecvPointCloud.cpp:1712
Type b
Definition: ecvColorTypes.h:54
QWidget * parentWidget
Parent widget (if any)
Definition: FileIOFilter.h:78
@ RDB_OPEN_DLG_RGB
Definition: RDBOpenDialog.h:20
@ Import
Definition: FileIOFilter.h:302
@ RDB_OPEN_DLG_NORM
Definition: RDBOpenDialog.h:19
Command line interface.
Definition: ecvCommandLineInterface.h:112
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
Standard ECV plugin interface.
Definition: ecvPluginInterface.h:33
QSharedPointer< FileIOFilter > Shared
Shared type.
Definition: FileIOFilter.h:97
int count
Definition: FileIOFactory.cpp:132
virtual void setInfo(const char *infoStr) override
Notifies some information about the ongoing process.
Definition: ecvProgressDialog.h:52
RGB color structure.
Definition: ecvColorTypes.h:49
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
virtual void registerCommands(ccCommandLineInterface *cmd)
Optional: registers commands (for the command line mode)
Definition: ecvPluginInterface.h:121
void addPoint(const CCVector3 &P)
Adds a 3D point to the database.
Definition: PointCloudTpl.h:246
void * X
Definition: SmallVector.cpp:45
Definition: GenericProgressCallback.h:78
@ RDB_OPEN_DLG_None
Definition: RDBOpenDialog.h:17
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
virtual FilterList getFilters()
Returns a list of I/O filter instances.
Definition: ecvIOPluginInterface.h:36
@ RDB_OPEN_DLG_XYZ
Definition: RDBOpenDialog.h:18
virtual bool addChild(ccHObject *child, int dependencyFlags=DP_PARENT_OF_OTHER, int insertIndex=-1)
Adds a child.
Definition: ecvHObject.cpp:534
@ CC_FERR_NO_ERROR
Definition: FileIOFilter.h:21
RDBOpenDialog(QWidget *parent=nullptr)
Default constructor.
Definition: RDBOpenDialog.cpp:15
std::string to_string(const T &n)
Definition: Common.h:20
RDBFilter()
Definition: RDBFilter.cpp:44
static Vector3Tpl fromArray(const int a[3])
Constructor from an int array.
Definition: CVGeom.h:268
char type
Definition: FileIOFactory.cpp:131
Plane (primitive)
Definition: ecvPlane.h:17
I/O filter plugin interface.
Definition: ecvIOPluginInterface.h:20
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