NorMIT-nav  2023.01.05-dev+develop.0da12
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 
46 
49 
54 
55 signals:
56  void changed();
57 private:
58  void addProperty(PropertyPtr property);
59  void initialize();
60 };
61 
62 } // namespace cx
63 
64 #endif // CXMESHPROPERTYDATA_H
cx::MeshPropertyData::mSpecular
DoublePropertyPtr mSpecular
Definition: cxMeshPropertyData.h:52
cx::MeshPropertyData::mLineWidth
DoublePropertyPtr mLineWidth
Definition: cxMeshPropertyData.h:41
cx::ColorPropertyPtr
boost::shared_ptr< class ColorProperty > ColorPropertyPtr
Definition: cxForwardDeclarations.h:144
cx::MeshPropertyData
Definition: cxMeshPropertyData.h:29
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cxPrecompiledHeader.h
cx::MeshPropertyData::mEdgeColor
ColorPropertyPtr mEdgeColor
Definition: cxMeshPropertyData.h:48
cx::MeshPropertyData::mAmbient
DoublePropertyPtr mAmbient
Definition: cxMeshPropertyData.h:50
cx::BoolPropertyPtr
boost::shared_ptr< class BoolProperty > BoolPropertyPtr
Definition: cxPlusConnectWidget.h:29
cx::StringPropertyPtr
boost::shared_ptr< class StringProperty > StringPropertyPtr
Definition: cxVideoConnectionWidget.h:42
cx::MeshPropertyData::mDiffuse
DoublePropertyPtr mDiffuse
Definition: cxMeshPropertyData.h:51
cxDoubleProperty.h
cx::MeshPropertyData::mRepresentation
StringPropertyPtr mRepresentation
Definition: cxMeshPropertyData.h:45
cx::MeshPropertyData::mVisSize
DoublePropertyPtr mVisSize
Definition: cxMeshPropertyData.h:42
cx::MeshPropertyData::mEdgeVisibility
BoolPropertyPtr mEdgeVisibility
Definition: cxMeshPropertyData.h:47
cx::PropertyPtr
boost::shared_ptr< class Property > PropertyPtr
Definition: cxLocalServerStreamerServer.h:25
cx::DoublePropertyPtr
boost::shared_ptr< class DoubleProperty > DoublePropertyPtr
Definition: cxReconstructionMethodService.h:33
cx::MeshPropertyData::mColor
ColorPropertyPtr mColor
Definition: cxMeshPropertyData.h:39
cx::MeshPropertyData::mFrontfaceCulling
BoolPropertyPtr mFrontfaceCulling
Definition: cxMeshPropertyData.h:44
cx::MeshPropertyData::mSpecularPower
DoublePropertyPtr mSpecularPower
Definition: cxMeshPropertyData.h:53
cx::BoolPropertyBasePtr
boost::shared_ptr< class BoolPropertyBase > BoolPropertyBasePtr
Definition: cxImageFileStreamerService.h:22
cx::MeshPropertyData::mUseColorFromPolydataScalars
BoolPropertyBasePtr mUseColorFromPolydataScalars
Definition: cxMeshPropertyData.h:40
cxStringProperty.h
cx::MeshPropertyData::mBackfaceCulling
BoolPropertyPtr mBackfaceCulling
Definition: cxMeshPropertyData.h:43
cxBoolProperty.h
cxColorProperty.h
cx::MeshPropertyData::mProperties
std::vector< PropertyPtr > mProperties
Definition: cxMeshPropertyData.h:37