Fraxinus  18.10
An IGT application
cxMeshPropertyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 #ifndef CXMESHPROPERTYDATA_H
12 #define CXMESHPROPERTYDATA_H
13 
14 #include "cxResourceExport.h"
15 #include "cxPrecompiledHeader.h"
16 #include "cxColorProperty.h"
17 #include "cxBoolProperty.h"
18 #include "cxDoubleProperty.h"
19 #include "cxStringProperty.h"
20 
21 class QDomNode;
22 
23 namespace cx
24 {
25 
29 class cxResource_EXPORT MeshPropertyData : public QObject
30 {
31  Q_OBJECT
32 public:
34  void addXml(QDomNode& dataNode);
35  void parseXml(QDomNode dataNode);
36 
37  std::vector<PropertyPtr> mProperties;
38 
45 
48 
53 
54 signals:
55  void changed();
56 private:
57  void addProperty(PropertyPtr property);
58  void initialize();
59 };
60 
61 } // namespace cx
62 
63 #endif // CXMESHPROPERTYDATA_H
BoolPropertyBasePtr mUseColorFromPolydataScalars
DoublePropertyPtr mVisSize
boost::shared_ptr< class ColorProperty > ColorPropertyPtr
BoolPropertyPtr mFrontfaceCulling
DoublePropertyPtr mAmbient
DoublePropertyPtr mSpecularPower
DoublePropertyPtr mDiffuse
StringPropertyPtr mRepresentation
boost::shared_ptr< class StringProperty > StringPropertyPtr
boost::shared_ptr< class Property > PropertyPtr
boost::shared_ptr< class BoolPropertyBase > BoolPropertyBasePtr
BoolPropertyPtr mBackfaceCulling
boost::shared_ptr< class DoubleProperty > DoublePropertyPtr
std::vector< PropertyPtr > mProperties
ColorPropertyPtr mEdgeColor
boost::shared_ptr< class BoolProperty > BoolPropertyPtr
BoolPropertyPtr mEdgeVisibility
DoublePropertyPtr mSpecular
ColorPropertyPtr mColor
Namespace for all CustusX production code.