ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccPointDescriptor.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // Qt
11 #include <QByteArray>
12 #include <QString>
13 
14 // cloudViewer
15 #include <ReferenceCloud.h>
16 
17 // system
18 #include <math.h>
19 
20 #include <vector>
21 
22 // Descriptors' ID must be declared here and then implemented in
23 // 'ccPointDescriptor.cpp'.
24 //
25 // WARNING: the ID must be unique and must not be changed once set!
26 //
27 // Once declared (and implemented) in ccPointDescriptor.cpp, the descriptor must
28 // be added to the static 'vault' (see ScaleParamsComputerVault's constructor).
29 
30 static const unsigned DESC_INVALID = 0; // Unknown descritpr
31 static const unsigned DESC_DIMENSIONALITY =
32  1; // Original CANUPO's "Dimensionality" descriptor
33 static const unsigned DESC_DIMENSIONALITY_SF =
34  2; // "Dimensionality" + scalar field descriptor
35 static const unsigned DESC_CURVATURE =
36  3; // Test: Gaussian curvature descriptor
37 // static const unsigned DESC_CUSTOM = ?;
38 // // Example of custom descriptor (to be reimplemented)
39 
41 
44 public:
46  static ScaleParamsComputer* GetByID(unsigned descID);
47 
48 public:
50  static unsigned AvailableCount();
51 
53  static ScaleParamsComputer* GetByIndex(unsigned index);
54 
55 public:
56  virtual ~ScaleParamsComputer() = default;
57 
59  virtual unsigned getID() const = 0;
60 
62  virtual QString getName() const = 0;
63 
65  virtual unsigned dimPerScale() const = 0;
66 
68  virtual bool needSF() const { return false; }
69 
71  virtual void reset() = 0;
72 
74 
82  virtual bool computeScaleParams(cloudViewer::ReferenceCloud& neighbors,
83  double radius,
84  float params[],
85  bool& invalidScale) = 0;
86 
87 protected:
88 };
89 
91 
93 struct CorePointDesc {
96  std::vector<float> params;
97 };
98 
99 class ccPointCloud;
100 
102 class CorePointDescSet : public std::vector<CorePointDesc> {
103 public:
105  CorePointDescSet(size_t sz)
106  : std::vector<CorePointDesc>(sz), m_descriptorID(0), m_dimPerScale(0) {}
107  CorePointDescSet(size_t sz, const CorePointDesc& defaultVal)
108  : std::vector<CorePointDesc>(sz, defaultVal),
109  m_descriptorID(0),
110  m_dimPerScale(0) {}
112  : std::vector<CorePointDesc>(descSet),
114  m_dimPerScale(descSet.m_dimPerScale) {}
115 
117  QByteArray toByteArray() const;
119  bool fromByteArray(const QByteArray& data);
120 
122  bool loadFromMSC(QString filename,
123  QString& error,
124  ccPointCloud* corePoints = 0);
125 
127  inline const std::vector<float>& scales() const { return m_scales; }
128 
130 
134  bool setScales(const std::vector<float>& scales);
135 
137  inline const unsigned descriptorID() const { return m_descriptorID; }
139  inline void setDescriptorID(unsigned ID) { m_descriptorID = ID; }
140 
142  inline const unsigned dimPerScale() const { return m_dimPerScale; }
144  inline void setDimPerScale(unsigned dim) { m_dimPerScale = dim; }
145 
146 protected:
148  std::vector<float> m_scales;
149 
151  unsigned m_descriptorID;
152 
154  unsigned m_dimPerScale;
155 };
CorePointDescSet::CorePointDescSet
CorePointDescSet(const CorePointDescSet &descSet)
Definition: ccPointDescriptor.h:111
qAnimationDlg::Step::cameraCenter
CCVector3d cameraCenter
Definition: qAnimationDlg.h:114
qAnimationDlg::updateSmoothTrajectoryDurations
void updateSmoothTrajectoryDurations()
Definition: qAnimationDlg.cpp:412
qAnimationDlg::render
void render(bool asSeparateFrames)
Definition: qAnimationDlg.cpp:1358
qAnimationDlg::countEnabledSteps
size_t countEnabledSteps() const
Definition: qAnimationDlg.cpp:898
ccDefaultPluginInterface::getDescription
virtual QString getDescription() const override
Returns long name/description (for tooltip, etc.)
Definition: ecvDefaultPluginInterface.cpp:104
qAnimationDlg::renderFrames
void renderFrames()
Definition: qAnimationDlg.h:80
filename
std::string filename
Definition: PointCloudIO.cpp:47
ScaleParamsComputer::getName
virtual QString getName() const =0
Returns the associated descriptor name.
qAnimationDlg::onSmoothTrajectoryToggled
void onSmoothTrajectoryToggled(bool)
Definition: qAnimationDlg.cpp:711
qAnimationDlg::Step::viewportParams
ecvViewportParameters viewportParams
Definition: qAnimationDlg.h:112
ccDefaultPluginInterface::getName
virtual QString getName() const override
Returns (short) name (for menu entry, etc.)
Definition: ecvDefaultPluginInterface.cpp:100
CorePointDesc::params
std::vector< float > params
Definition: ccPointDescriptor.h:96
ecvMainAppInterface::dispToConsole
virtual void dispToConsole(QString message, ConsoleMessageLevel level=STD_CONSOLE_MESSAGE)=0
CorePointDescSet::setScales
bool setScales(const std::vector< float > &scales)
Sets associated scales.
Definition: ccPointDescriptor.cpp:565
ccGLMatrixTpl::inverse
ccGLMatrixTpl< T > inverse() const
Returns inverse transformation.
Definition: ecvGLMatrixTpl.h:1325
qAnimationDlg::smoothTrajectory
bool smoothTrajectory(double ratio, unsigned iterationCount)
Definition: qAnimationDlg.cpp:459
DESC_INVALID
static const unsigned DESC_INVALID
Definition: ccPointDescriptor.h:30
CorePointDescSet::toByteArray
QByteArray toByteArray() const
Converts structure to a byte array.
Definition: ccPointDescriptor.cpp:451
Vector3Tpl::norm
Type norm() const
Returns vector norm.
Definition: CVGeom.h:424
CorePointDescSet::CorePointDescSet
CorePointDescSet()
Definition: ccPointDescriptor.h:104
ScaleParamsComputer::~ScaleParamsComputer
virtual ~ScaleParamsComputer()=default
ecvDisplayTools::GlWidth
static int GlWidth()
Returns the OpenGL context width.
Definition: ecvDisplayTools.h:2038
data
GraphType data
Definition: graph_cut.cc:138
qAnimationDlg::onBrowseButtonClicked
void onBrowseButtonClicked()
Definition: qAnimationDlg.cpp:864
qAnimationDlg::onBrowseTexturesButtonClicked
void onBrowseTexturesButtonClicked()
Definition: qAnimationDlg.cpp:882
qAnimationDlg::textureAnimationPreview
void textureAnimationPreview(const QStringList &texture_files, QProgressDialog &progressDialog)
Definition: qAnimationDlg.cpp:1203
CorePointDesc
Set of descriptors.
Definition: ccPointDescriptor.h:93
ccObject::setMetaData
void setMetaData(const QString &key, const QVariant &data)
Sets a meta-data element.
Definition: ecvObject.cpp:216
CV_TYPES::MESH
@ MESH
Definition: CVTypes.h:105
ccGLMatrixd
Double version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:56
qAnimationDlg::Step::length
double length
Definition: qAnimationDlg.h:116
CorePointDescSet::setDimPerScale
void setDimPerScale(unsigned dim)
Sets associated descriptor ID.
Definition: ccPointDescriptor.h:144
ecvMainAppInterface::getMainWindow
virtual QMainWindow * getMainWindow()=0
Returns main window.
ccObject::hasMetaData
bool hasMetaData(const QString &key) const
Returns whether a meta-data element with the given key exists or not.
Definition: ecvObject.cpp:230
ecvDisplayTools::UpdateScreen
static void UpdateScreen()
Definition: ecvDisplayTools.h:1242
ccBBox
Bounding box structure.
Definition: ecvBBox.h:25
qAnimationDlg::Step::duration_sec
double duration_sec
Definition: qAnimationDlg.h:115
DESC_DIMENSIONALITY_SF
static const unsigned DESC_DIMENSIONALITY_SF
Definition: ccPointDescriptor.h:33
ScaleParamsComputer::AvailableCount
static unsigned AvailableCount()
Returns the number of available 'descriptors'.
Definition: ccPointDescriptor.cpp:428
ecvViewportParameters
Standard parameters for GL displays/viewports.
Definition: ecvViewportParameters.h:18
ecvDisplayTools.h
ccObject::getMetaData
QVariant getMetaData(const QString &key) const
Returns a given associated meta data.
Definition: ecvObject.cpp:208
ccStdPluginInterface::getMainAppInterface
virtual ecvMainAppInterface * getMainAppInterface()
A callback pointer to the main app interface for use by plugins.
Definition: ecvStdPluginInterface.h:59
qAnimationDlg::updateTotalDuration
void updateTotalDuration()
Definition: qAnimationDlg.cpp:1644
cc2DViewportObject::getParameters
const ecvViewportParameters & getParameters() const
Gets parameters.
Definition: ecv2DViewportObject.h:32
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
ScaleParamsComputer::needSF
virtual bool needSF() const
Returns whether the computer requires a scalar field or not.
Definition: ccPointDescriptor.h:68
qAnimationDlg::onCurrentStepChanged
void onCurrentStepChanged(int)
Definition: qAnimationDlg.cpp:1667
CVLog::PrintDebug
static bool PrintDebug(const char *format,...)
Same as Print, but works only in Debug mode.
Definition: CVLog.cpp:153
CorePointDescSet::m_descriptorID
unsigned m_descriptorID
Associated descriptor ID.
Definition: ccPointDescriptor.h:151
qAnimationDlg::Step::indexInSmoothTrajectory
int indexInSmoothTrajectory
Definition: qAnimationDlg.h:117
qAnimation.h
qAnimationDlg::countFrames
int countFrames(size_t startIndex=0)
Definition: qAnimationDlg.cpp:961
qAnimationDlg::applyViewport
void applyViewport(const ecvViewportParameters &viewportParameters)
Definition: qAnimationDlg.cpp:754
ccHObject::Container
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
ScaleParamsComputer::computeScaleParams
virtual bool computeScaleParams(cloudViewer::ReferenceCloud &neighbors, double radius, float params[], bool &invalidScale)=0
Computes the parameters at a given scale.
qAnimationDlg::onSmoothRatioChanged
void onSmoothRatioChanged(double)
Definition: qAnimationDlg.cpp:719
result
core::Tensor result
Definition: VtkUtils.cpp:76
ScaleParamsComputer::GetByIndex
static ScaleParamsComputer * GetByIndex(unsigned index)
Vault: returns the ith computer.
Definition: ccPointDescriptor.cpp:442
CVLog::Error
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
qAnimationDlg::~qAnimationDlg
virtual ~qAnimationDlg()
Destrcuctor.
Definition: qAnimationDlg.cpp:236
CV_CLASS_ENUM
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
Definition: CVTypes.h:97
CorePointDescSet::CorePointDescSet
CorePointDescSet(size_t sz, const CorePointDesc &defaultVal)
Definition: ccPointDescriptor.h:107
ecvDisplayTools::GlHeight
static int GlHeight()
Returns the OpenGL context height.
Definition: ecvDisplayTools.h:2040
ccDrawableObject::showColors
virtual void showColors(bool state)
Sets colors visibility.
Definition: ecvDrawableObject.h:84
qAnimationDlg::Step::indexInOriginalTrajectory
int indexInOriginalTrajectory
Definition: qAnimationDlg.h:113
CorePointDescSet
Set of (core) point descriptors.
Definition: ccPointDescriptor.h:102
size
int size
Definition: FileIOFactory.cpp:130
ccGLMatrixTpl::getTranslationAsVec3D
Vector3Tpl< T > getTranslationAsVec3D() const
Returns a copy of the translation as a CCVector3.
Definition: ecvGLMatrixTpl.h:830
math.h
qAnimationDlg::m_smoothVideoSteps
Trajectory m_smoothVideoSteps
Smoothed animation.
Definition: qAnimationDlg.h:131
ccPolyline::setWidth
void setWidth(PointCoordinateType width)
Sets the width of the line.
Definition: ecvPolyline.cpp:282
qAnimationDlg::updateCurrentStepDuration
void updateCurrentStepDuration()
Definition: qAnimationDlg.cpp:1652
qAnimationDlg::exportTrajectoryOnExit
bool exportTrajectoryOnExit()
Definition: qAnimationDlg.cpp:730
qAnimationDlg::onLoopToggled
void onLoopToggled(bool)
Definition: qAnimationDlg.cpp:1693
ecvDisplayTools::SetViewportParameters
static void SetViewportParameters(const ecvViewportParameters &params)
Definition: ecvDisplayTools.cpp:2598
Vector3Tpl< double >
MeshList
std::vector< ccMesh * > MeshList
Definition: qAnimation.cpp:29
qAnimationDlg::Trajectory
std::vector< Step > Trajectory
Definition: qAnimationDlg.h:120
ecvDisplayTools::GetVisibleObjectsBB
static void GetVisibleObjectsBB(ccBBox &box)
Returns the visible objects bounding-box.
Definition: ecvDisplayTools.cpp:2008
ScaleParamsComputer::reset
virtual void reset()=0
Called once before computing parameters at first scale.
cloudViewer::t::geometry::path
static const std::string path
Definition: PointCloud.cpp:59
e
const double * e
Definition: essential_matrix_poly.h:10
qAnimationDlg.h
cloudViewer::GreaterThanEpsilon
bool GreaterThanEpsilon(float x)
Test a floating point number against our epsilon (a very small number).
Definition: CVMath.h:37
ecvColor::yellow
constexpr Rgb yellow(MAX, MAX, 0)
ecvMainAppInterface::ERR_CONSOLE_MESSAGE
@ ERR_CONSOLE_MESSAGE
Definition: ecvMainAppInterface.h:119
Ui
Definition: sfEditDlg.h:16
ccStdPluginInterface::m_app
ecvMainAppInterface * m_app
Main application interface.
Definition: ecvStdPluginInterface.h:85
qAnimationDlg::computeTotalTime
double computeTotalTime()
Definition: qAnimationDlg.cpp:734
qAnimationDlg::m_view3d
QWidget * m_view3d
Associated 3D view.
Definition: qAnimationDlg.h:135
ViewPortList
std::vector< cc2DViewportObject * > ViewPortList
Definition: qAnimation.cpp:28
s_stepEnabledKey
static const QString s_stepEnabledKey("StepEnabled")
ecvMainAppInterface::getActiveWindow
virtual QWidget * getActiveWindow()=0
ecvMesh.h
cc2DViewportObject
2D viewport object
Definition: ecv2DViewportObject.h:15
qAnimationDlg::getCompressedTrajectory
bool getCompressedTrajectory(Trajectory &compressedTrajectory) const
Definition: qAnimationDlg.cpp:987
qAnimationDlg::onFPSChanged
void onFPSChanged(int)
Definition: qAnimationDlg.cpp:762
image
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:184
qAnimationDlg
Dialog for qAnimation plugin.
Definition: qAnimationDlg.h:48
GetSelectedMeshes
static MeshList GetSelectedMeshes(const ccHObject::Container &selectedEntities)
Definition: qAnimation.cpp:66
qAnimationDlg::renderAnimation
void renderAnimation()
Definition: qAnimationDlg.h:79
qAnimationDlg::updateTextures
bool updateTextures() const
Definition: qAnimationDlg.cpp:242
CorePointDescSet::setDescriptorID
void setDescriptorID(unsigned ID)
Sets associated descriptor ID.
Definition: ccPointDescriptor.h:139
CorePointDescSet::descriptorID
const unsigned descriptorID() const
Returns associated descriptor ID.
Definition: ccPointDescriptor.h:137
qAnimationDlg::onItemChanged
void onItemChanged(QListWidgetItem *)
Definition: qAnimationDlg.cpp:1661
CVTools::FromQString
static std::string FromQString(const QString &qs)
Definition: CVTools.cpp:100
qAnimationDlg::preview
void preview()
Definition: qAnimationDlg.cpp:1011
qAnimationDlg::onAccept
void onAccept()
Definition: qAnimationDlg.cpp:325
ScaleParamsComputer
Generic parameters 'computer' class (at a given scale)
Definition: ccPointDescriptor.h:43
qAnimationDlg::getTrajectory
ccPolyline * getTrajectory()
Definition: qAnimationDlg.cpp:725
ecvMainAppInterface::addToDB
virtual void addToDB(ccHObject *obj, bool updateZoom=false, bool autoExpandDBTree=true, bool checkDimensions=false, bool autoRedraw=true)=0
ScaleParamsComputer::GetByID
static ScaleParamsComputer * GetByID(unsigned descID)
Vault: returns the computer corresponding to the given ID.
Definition: ccPointDescriptor.cpp:432
qAnimationDlg::onTotalTimeChanged
void onTotalTimeChanged(double)
Definition: qAnimationDlg.cpp:766
ecvViewportParameters::computeViewMatrix
ccGLMatrixd computeViewMatrix() const
Computes the view matrix.
Definition: ecvViewportParameters.cpp:225
CorePointDescSet::fromByteArray
bool fromByteArray(const QByteArray &data)
Inits structure from a byte array.
Definition: ccPointDescriptor.cpp:502
PC_ONE
constexpr PointCoordinateType PC_ONE
'1' as a PointCoordinateType value
Definition: CVConst.h:67
ccDefaultPluginInterface::getIcon
virtual QIcon getIcon() const override
Returns icon.
Definition: ecvDefaultPluginInterface.cpp:108
qAnimationDlg::m_videoSteps
Trajectory m_videoSteps
Animation.
Definition: qAnimationDlg.h:129
qAnimationDlg::onStepTimeChanged
void onStepTimeChanged(double)
Definition: qAnimationDlg.cpp:849
CVTools.h
count
int count
Definition: FileIOFactory.cpp:132
qAnimationDlg::qAnimationDlg
qAnimationDlg(QWidget *view3d, QWidget *parent=nullptr)
Default constructor.
Definition: qAnimationDlg.cpp:82
CVLog::Warning
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
Definition: CVLog.cpp:133
GetSelectedViewPorts
static ViewPortList GetSelectedViewPorts(const ccHObject::Container &selectedEntities)
Definition: qAnimation.cpp:50
ecvMainAppInterface::getSelectedEntities
virtual const ccHObject::Container & getSelectedEntities() const =0
Returns currently selected entities ("read only")
cloudViewer::ReferenceCloud
A very simple point cloud (no point duplication)
Definition: ReferenceCloud.h:29
qAnimationDlg::init
bool init(const std::vector< cc2DViewportObject * > &viewports, const std::vector< ccMesh * > &meshes)
Initialize the dialog with a set of viewports.
Definition: qAnimationDlg.cpp:246
qAnimationDlg::updateCameraTrajectory
bool updateCameraTrajectory()
Definition: qAnimationDlg.cpp:367
GetSelectedObjects
static void GetSelectedObjects(const ccHObject::Container &selectedEntities, CV_CLASS_ENUM type, ccHObject::Container &targetObj)
Definition: qAnimation.cpp:31
std
Definition: Eigen.h:85
ecvMaterialSet.h
DESC_CURVATURE
static const unsigned DESC_CURVATURE
Definition: ccPointDescriptor.h:35
ccMesh
Triangular mesh.
Definition: ecvMesh.h:35
CorePointDescSet::dimPerScale
const unsigned dimPerScale() const
Returns the number of dimensions per scale.
Definition: ccPointDescriptor.h:142
ReferenceCloud.h
qAnimationDlg::getNextSegment
bool getNextSegment(size_t &vp1, size_t &vp2) const
Definition: qAnimationDlg.cpp:910
qAnimationDlg::Step
Simple step (viewport + time)
Definition: qAnimationDlg.h:110
ScaleParamsComputer::getID
virtual unsigned getID() const =0
Returns the associated descriptor ID.
cloudViewer::utility::Sleep
void Sleep(int milliseconds)
Definition: Helper.cpp:278
CorePointDescSet::m_dimPerScale
unsigned m_dimPerScale
Dimensions per scale.
Definition: ccPointDescriptor.h:154
ccMaterialSet
Mesh (triangle) material.
Definition: ecvMaterialSet.h:16
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
ccObject::getName
virtual QString getName() const
Returns object name.
Definition: ecvObject.h:72
CorePointDescSet::m_scales
std::vector< float > m_scales
Associated scales.
Definition: ccPointDescriptor.h:148
qAnimationDlg::onAutoStepsDurationToggled
void onAutoStepsDurationToggled(bool)
Definition: qAnimationDlg.cpp:621
ecvPolyline.h
qAnimationDlg::onReject
void onReject()
Definition: qAnimationDlg.cpp:323
qAnimationDlg::updateSmoothCameraTrajectory
bool updateSmoothCameraTrajectory()
Definition: qAnimationDlg.cpp:590
s_stepDurationKey
static const QString s_stepDurationKey("StepDurationSec")
getImageList
QStringList getImageList(const QString &path)
Definition: qAnimationDlg.cpp:51
ccStdPluginInterface
Standard ECV plugin interface.
Definition: ecvStdPluginInterface.h:31
ViewInterpolate
The ViewInterpolate class.
Definition: ViewInterpolate.h:20
CorePointDescSet::CorePointDescSet
CorePointDescSet(size_t sz)
Definition: ccPointDescriptor.h:105
corePoints
cloudViewer::GenericIndexedCloud * corePoints
Definition: qCanupoTools.cpp:35
qAnimationDlg::textureAnimationRender
bool textureAnimationRender(const QStringList &texture_files, QProgressDialog &progressDialog, bool asSeparateFrames)
Definition: qAnimationDlg.cpp:1258
qAnimationDlg::getCurrentStepIndex
int getCurrentStepIndex()
Definition: qAnimationDlg.cpp:750
qAnimationDlg::m_mesh_list
MeshList m_mesh_list
Definition: qAnimationDlg.h:132
ScaleParamsComputer::dimPerScale
virtual unsigned dimPerScale() const =0
Returns the number of dimensions per scale for this descriptor.
cloudViewer::LessThanEpsilon
bool LessThanEpsilon(float x)
Test a floating point number against our epsilon (a very small number).
Definition: CVMath.h:23
type
char type
Definition: FileIOFactory.cpp:131
ecvDisplayTools::GetScreenSize
static QSize GetScreenSize()
Definition: ecvDisplayTools.h:886
ecvPointCloud.h
qAnimationDlg::smoothModeEnabled
bool smoothModeEnabled() const
Definition: qAnimationDlg.cpp:238
CorePointDescSet::loadFromMSC
bool loadFromMSC(QString filename, QString &error, ccPointCloud *corePoints=0)
Loads structure of descriptors from an ".msc" file (see Brodu's version)
Definition: ccPointDescriptor.cpp:588
ecvDisplayTools::RenderToImage
static QImage RenderToImage(int zoomFactor=1, bool renderOverlayItems=false, bool silent=false, int viewport=0)
Definition: ecvDisplayTools.h:1362
ViewInterpolate::interpolate
bool interpolate(ecvViewportParameters &a_returned_viewport, double ratio) const
Interpolates the 2 viewports at a given (relative) position.
Definition: ViewInterpolate.cpp:50
ccPolyline::setColor
void setColor(const ecvColor::Rgb &col)
Sets the polyline color.
Definition: ecvPolyline.h:81
CorePointDescSet::scales
const std::vector< float > & scales() const
Returns associated scales.
Definition: ccPointDescriptor.h:127
ccPolyline
Colored polyline.
Definition: ecvPolyline.h:23
ecv2DViewportObject.h
DESC_DIMENSIONALITY
static const unsigned DESC_DIMENSIONALITY
Definition: ccPointDescriptor.h:31
CV_TYPES::VIEWPORT_2D_OBJECT
@ VIEWPORT_2D_OBJECT
Definition: CVTypes.h:141