NorMIT-nav
22.09
An IGT application
cxVolumeProperty.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 CXVOLUMEPROPERTY_H
12
#define CXVOLUMEPROPERTY_H
13
14
#include "cxResourceVisualizationExport.h"
15
16
#include <QObject>
17
#include "
vtkForwardDeclarations.h
"
18
#include "
cxForwardDeclarations.h
"
19
20
namespace
cx
21
{
22
23
typedef
boost::shared_ptr<class VolumeProperty>
VolumePropertyPtr
;
24
34
class
cxResourceVisualization_EXPORT
VolumeProperty
:
public
QObject
35
{
36
Q_OBJECT
37
public
:
38
static
VolumePropertyPtr
create
() {
return
VolumePropertyPtr
(
new
VolumeProperty
()); }
39
void
setImage(
ImagePtr
image);
40
// ImagePtr getImage();
41
vtkVolumePropertyPtr
getVolumeProperty();
42
43
private
slots:
44
void
transferFunctionsChangedSlot();
45
46
private
:
47
VolumeProperty
();
48
49
ImagePtr
mImage;
50
vtkVolumePropertyPtr
mVolumeProperty;
51
vtkPiecewiseFunctionPtr
mOpacityTransferFunction;
52
vtkColorTransferFunctionPtr
mColorTransferFunction;
53
};
54
55
56
}
// namespace cx
57
58
59
#endif // CXVOLUMEPROPERTY_H
cx::VolumePropertyPtr
boost::shared_ptr< class VolumeProperty > VolumePropertyPtr
Definition:
cxVolumeProperty.h:23
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cxForwardDeclarations.h
vtkVolumePropertyPtr
vtkSmartPointer< class vtkVolumeProperty > vtkVolumePropertyPtr
Definition:
vtkForwardDeclarations.h:151
vtkPiecewiseFunctionPtr
vtkSmartPointer< class vtkPiecewiseFunction > vtkPiecewiseFunctionPtr
Definition:
vtkForwardDeclarations.h:105
vtkForwardDeclarations.h
cx::ImagePtr
boost::shared_ptr< class Image > ImagePtr
Definition:
cxDicomWidget.h:27
cx::VolumeProperty::create
static VolumePropertyPtr create()
Definition:
cxVolumeProperty.h:38
vtkColorTransferFunctionPtr
vtkSmartPointer< class vtkColorTransferFunction > vtkColorTransferFunctionPtr
Definition:
vtkForwardDeclarations.h:44
cx::VolumeProperty
Definition:
cxVolumeProperty.h:34
CX
source
resource
view
Primitives
cxVolumeProperty.h
Generated on Tue Sep 13 2022 11:06:17 for NorMIT-nav by
1.8.17