23 #ifndef QPROPERTYHELPER
24 #define QPROPERTYHELPER
26 #include "../global.h"
27 #include "../common/retVal.h"
28 #include "../common/addInInterface.h"
29 #include "../common/interval.h"
30 #include "../common/shape.h"
31 #include "../DataObject/dataobj.h"
32 #include "../common/qtMetaTypeDeclarations.h"
33 #include "common/itomPlotHandle.h"
35 #if ITOM_POINTCLOUDLIBRARY > 0
36 #include "PointCloud/pclStructures.h"
40 #include <qmetaobject.h>
42 #include <qsharedpointer.h>
44 #if ITOM_POINTCLOUDLIBRARY > 0
46 Q_DECLARE_METATYPE(QSharedPointer<
ito::PCLPointCloud>)
47 Q_DECLARE_METATYPE(QSharedPointer<
ito::PCLPolygonMesh>)
48 Q_DECLARE_METATYPE(
ito::PCLPoint)
49 Q_DECLARE_METATYPE(
ito::PCLPolygonMesh)
52 Q_DECLARE_METATYPE(QSharedPointer<ito::DataObject>)
53 Q_DECLARE_METATYPE(QPointer<
ito::AddInBase>)
54 Q_DECLARE_METATYPE(QPointer<
ito::AddInDataIO>)
55 Q_DECLARE_METATYPE(QPointer<
ito::AddInActuator>)
56 Q_DECLARE_METATYPE(
ito::Shape)
57 Q_DECLARE_METATYPE(QVector<
ito::Shape>)
58 Q_DECLARE_METATYPE(
ito::ItomPlotHandle)
67 static QVariant QVariantCast(
const QVariant &item,
int QVariantCast,
ito::RetVal &retval);
68 static QVariant QVariantToEnumCast(
const QVariant &item,
const QMetaEnum &enumerator,
ito::RetVal &retval);
69 static RetVal readProperty(
const QObject *
object,
const char* propName, QVariant &value);
70 static RetVal writeProperty(QObject *
object,
const char* propName,
const QVariant &value);
75 #endif //QPROPERTYHELPER
generic class that covers one single point cloud of different possible types provided by the Point Cl...
Definition: pclStructures.h:292
Class for managing status values (like errors or warning)
Definition: retVal.h:54
Definition: apiFunctionsGraph.cpp:39
Definition: qpropertyHelper.h:63