CustusX  15.3.3-beta
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cxForwardDeclarations.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) 2008-2014, SINTEF Department of Medical Technology
5 All rights reserved.
6 
7 Redistribution and use in source and binary forms, with or without
8 modification, are permitted provided that the following conditions are met:
9 
10 1. Redistributions of source code must retain the above copyright notice,
11  this list of conditions and the following disclaimer.
12 
13 2. Redistributions in binary form must reproduce the above copyright notice,
14  this list of conditions and the following disclaimer in the documentation
15  and/or other materials provided with the distribution.
16 
17 3. Neither the name of the copyright holder nor the names of its contributors
18  may be used to endorse or promote products derived from this software
19  without specific prior written permission.
20 
21 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 =========================================================================*/
32 
33 #ifndef CX_FORWARDDECLARARATIONS_H_
34 #define CX_FORWARDDECLARARATIONS_H_
35 
36 #include "cxPrecompiledHeader.h"
37 
38 #include <vector>
39 #include <map>
40 
41 #include <boost/shared_ptr.hpp>
42 #include <QPointer>
43 #include "vtkForwardDeclarations.h"
44 
51 namespace cx {
52 
53 typedef boost::shared_ptr<class Property> PropertyPtr;
54 
55 class View;
56 class ViewItem;
57 
58 // KEEP SORTED AND UNIQUE!
59 
60 // data
61 typedef boost::shared_ptr<class Tool> ToolPtr;
62 typedef boost::shared_ptr<class ManualTool> ManualToolPtr;
63 typedef boost::shared_ptr<class DummyTool> DummyToolPtr;
64 typedef boost::shared_ptr<class Image> ImagePtr;
65 typedef boost::shared_ptr<class NavigatedVideoImage> NavigatedVideoImagePtr;
66 typedef boost::shared_ptr<class Data> DataPtr;
67 typedef boost::shared_ptr<class Mesh> MeshPtr;
68 typedef boost::shared_ptr<class TrackedStream> TrackedStreamPtr;
69 typedef boost::shared_ptr<class ImageTF3D> ImageTF3DPtr;
70 typedef boost::shared_ptr<class ImageLUT2D> ImageLUT2DPtr;
71 typedef boost::shared_ptr<class ImageTFData> ImageTFDataPtr;
72 typedef boost::shared_ptr<class GPUImageDataBuffer> GPUImageDataBufferPtr;
73 typedef boost::weak_ptr<class GPUImageDataBuffer> GPUImageDataBufferWeakPtr;
74 typedef boost::shared_ptr<class GPUImageLutBuffer> GPUImageLutBufferPtr;
75 typedef boost::weak_ptr<class GPUImageLutBuffer> GPUImageLutBufferWeakPtr;
76 typedef boost::shared_ptr<class ProbeSector> ProbeSectorPtr;
77 typedef boost::shared_ptr<class FiberBundle> FiberBundlePtr;
78 
79 // reps
80 typedef boost::shared_ptr<class Axes3D> Axes3DPtr;
81 typedef boost::shared_ptr<class AxesRep> AxesRepPtr;
82 typedef boost::shared_ptr<class CrossHair2D> CrossHair2DPtr;
83 typedef boost::shared_ptr<class CrossHairRep2D> CrossHairRep2DPtr;
84 typedef boost::shared_ptr<class DisplayTextRep> DisplayTextRepPtr;
85 typedef boost::shared_ptr<class FiberBundleRep> FiberBundleRepPtr;
86 typedef boost::shared_ptr<class GeometricRep2D> GeometricRep2DPtr;
87 typedef boost::shared_ptr<class GeometricRep> GeometricRepPtr;
88 typedef boost::shared_ptr<class GPUImageDataBuffer> GPUImageDataBufferPtr;
89 typedef boost::shared_ptr<class GPUImageLutBuffer> GPUImageLutBufferPtr;
90 typedef boost::shared_ptr<class GraphicalLine3D> GraphicalLine3DPtr;
91 typedef boost::shared_ptr<class GraphicalPoint3D> GraphicalPoint3DPtr;
92 typedef boost::shared_ptr<class GuideRep2D> GuideRep2DPtr;
93 typedef boost::shared_ptr<class ImageLUT2D> ImageLUT2DPtr;
94 typedef boost::shared_ptr<class ImageTF3D> ImageTF3DPtr;
95 typedef boost::shared_ptr<class LandmarkRep> LandmarkRepPtr;
96 typedef boost::shared_ptr<class LineSegment> LineSegmentPtr;
97 typedef boost::shared_ptr<class OffsetPoint> OffsetPointPtr;
98 typedef boost::shared_ptr<class OrientationAnnotation3DRep> OrientationAnnotation3DRepPtr;
99 typedef boost::shared_ptr<class OrientationAnnotationRep> OrientationAnnotationRepPtr;
100 typedef boost::shared_ptr<class PickerRep> PickerRepPtr;
101 typedef boost::shared_ptr<class PointMetric> PointMetricPtr;
102 typedef boost::shared_ptr<class PointMetricRep> PointMetricRepPtr;
103 typedef boost::shared_ptr<class PointMetricRep2D> PointMetricRep2DPtr;
104 typedef boost::shared_ptr<class Rect3D> Rect3DPtr;
105 typedef boost::shared_ptr<class Rep> RepPtr;
106 typedef boost::shared_ptr<class SlicedImageProxy> SlicedImageProxyPtr;
107 typedef boost::shared_ptr<class SlicePlaneClipper> SlicePlaneClipperPtr;
108 typedef boost::shared_ptr<class SlicePlaneRep> SlicePlaneRepPtr;
109 typedef boost::shared_ptr<class SlicePlaneRep> SlicePlaneRepPtr;
110 typedef boost::shared_ptr<class SlicePlanes3DMarkerIn2DRep> SlicePlanes3DMarkerIn2DRepPtr;
111 typedef boost::shared_ptr<class SlicePlanes3DRep> SlicePlanes3DRepPtr;
112 typedef boost::shared_ptr<class SlicePlanesProxy> SlicePlanesProxyPtr;
113 typedef boost::shared_ptr<class SliceProxy> SliceProxyPtr;
114 typedef boost::shared_ptr<class SliceRepSW> SliceRepSWPtr;
115 typedef boost::shared_ptr<class StreamRep3D> StreamRep3DPtr;
116 typedef boost::shared_ptr<class SurfaceRep> SurfaceRepPtr;
117 typedef boost::shared_ptr<class TestVideoSource> TestVideoSourcePtr;
118 typedef boost::shared_ptr<class TextDisplay> TextDisplayPtr;
119 typedef boost::shared_ptr<class Texture3DSlicerRep> Texture3DSlicerRepPtr;
120 typedef boost::shared_ptr<class ToolRep2D> ToolRep2DPtr;
121 typedef boost::shared_ptr<class ToolRep3D> ToolRep3DPtr;
122 typedef boost::shared_ptr<class ToolTracer> ToolTracerPtr;
123 typedef boost::shared_ptr<class Tool> ToolPtr;
124 typedef boost::shared_ptr<class VideoFixedPlaneRep> VideoFixedPlaneRepPtr;
125 typedef boost::shared_ptr<class VideoSource> VideoSourcePtr;
126 typedef boost::shared_ptr<class View> ViewPtr;
127 typedef boost::shared_ptr<class VolumetricBaseRep> VolumetricBaseRepPtr;
128 typedef boost::shared_ptr<class VolumetricRep> VolumetricRepPtr;
129 
130 // Services
131 typedef boost::shared_ptr<class SpaceProvider> SpaceProviderPtr;
132 typedef boost::shared_ptr<class VisualizationService> ViewServicePtr;
133 typedef boost::shared_ptr<class StateService> StateServicePtr;
134 
135 typedef boost::weak_ptr<class SpaceProvider> SpaceProviderWeakPtr;
136 typedef boost::weak_ptr<class VideoServiceOld> VideoServiceOldWeakPtr;
137 typedef boost::weak_ptr<class ViewManager> VisualizationServiceWeakPtr;
138 typedef boost::weak_ptr<class StateService> StateServiceWeakPtr;
139 
140 // Plugin Services
141 typedef boost::shared_ptr<class AcquisitionService> AcquisitionServicePtr;
142 typedef boost::shared_ptr<class PatientModelService> PatientModelServicePtr;
143 typedef boost::shared_ptr<class RegistrationService> RegistrationServicePtr;
144 typedef boost::shared_ptr<class TrackingService> TrackingServicePtr;
145 typedef boost::shared_ptr<class UsReconstructionService> UsReconstructionServicePtr;
146 typedef boost::shared_ptr<class VideoService> VideoServicePtr;
147 typedef boost::shared_ptr<class VisualizationService> VisualizationServicePtr;
148 
149 // data adapters
150 typedef boost::shared_ptr<class StringPropertyBase> StringPropertyBasePtr;
151 typedef boost::shared_ptr<class DoublePropertyBase> DoublePropertyBasePtr;
152 typedef boost::shared_ptr<class BoolPropertyBase> BoolPropertyBasePtr;
153 typedef boost::shared_ptr<class ColorPropertyBase> ColorPropertyBasePtr;
154 
155 typedef boost::shared_ptr<class StringProperty> StringPropertyPtr;
156 typedef boost::shared_ptr<class DoubleProperty> DoublePropertyPtr;
157 typedef boost::shared_ptr<class BoolProperty> BoolPropertyPtr;
158 typedef boost::shared_ptr<class ColorProperty> ColorPropertyPtr;
159 typedef boost::shared_ptr<class DoublePairProperty> DoublePairPropertyPtr;
160 
161 // other stuff
162 typedef boost::shared_ptr<class Presets> PresetsPtr;
163 typedef boost::shared_ptr<class ProcessedUSInputData> ProcessedUSInputDataPtr;
164 typedef boost::shared_ptr<class USFrameData> USFrameDataPtr;
165 typedef boost::shared_ptr<class ViewportListener> ViewportListenerPtr;
166 
167 typedef boost::shared_ptr<class ViewGroupData> ViewGroupDataPtr;
168 typedef boost::shared_ptr<class ViewGroup> ViewGroupPtr;
169 typedef boost::shared_ptr<class ViewGroup2D> ViewGroup2DPtr;
170 typedef boost::shared_ptr<class ViewGroup3D> ViewGroup3DPtr;
171 typedef boost::shared_ptr<class ViewWrapper> ViewWrapperPtr;
172 
173 typedef boost::shared_ptr<class VideoConnectionManager> VideoConnectionManagerPtr;
174 typedef boost::shared_ptr<class UsReconstructionFileReader> UsReconstructionFileReaderPtr;
175 typedef boost::shared_ptr<class ImageLandmarksSource> ImageLandmarksSourcePtr;
176 
177 typedef boost::shared_ptr<class Filter> FilterPtr;
178 
179 
180 } // namespace cx
181 
182 #endif /*CX_FORWARDDECLARARATIONS_H_*/
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
boost::shared_ptr< class Texture3DSlicerRep > Texture3DSlicerRepPtr
boost::shared_ptr< class UsReconstructionService > UsReconstructionServicePtr
boost::shared_ptr< class RegistrationService > RegistrationServicePtr
boost::shared_ptr< class FiberBundleRep > FiberBundleRepPtr
boost::shared_ptr< class ViewGroup3D > ViewGroup3DPtr
boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
Definition: cxViewGroup.h:50
boost::shared_ptr< class VideoService > VideoServicePtr
boost::shared_ptr< class AcquisitionService > AcquisitionServicePtr
boost::shared_ptr< class GraphicalPoint3D > GraphicalPoint3DPtr
boost::shared_ptr< class ColorProperty > ColorPropertyPtr
boost::shared_ptr< class SlicePlanesProxy > SlicePlanesProxyPtr
boost::shared_ptr< class Axes3D > Axes3DPtr
boost::shared_ptr< class CrossHair2D > CrossHair2DPtr
boost::shared_ptr< class VolumetricBaseRep > VolumetricBaseRepPtr
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
boost::shared_ptr< class TrackedStream > TrackedStreamPtr
boost::shared_ptr< class StateService > StateServicePtr
boost::shared_ptr< class TestVideoSource > TestVideoSourcePtr
boost::shared_ptr< class SliceProxy > SliceProxyPtr
boost::shared_ptr< class TrackingService > TrackingServicePtr
boost::shared_ptr< class Image > ImagePtr
Definition: cxDicomWidget.h:48
boost::shared_ptr< class USFrameData > USFrameDataPtr
boost::shared_ptr< class ViewWrapper > ViewWrapperPtr
boost::shared_ptr< class CrossHairRep2D > CrossHairRep2DPtr
boost::shared_ptr< class VideoConnectionManager > VideoConnectionManagerPtr
boost::shared_ptr< class ManualTool > ManualToolPtr
boost::shared_ptr< class PointMetricRep2D > PointMetricRep2DPtr
boost::shared_ptr< class ToolTracer > ToolTracerPtr
boost::shared_ptr< class SlicedImageProxy > SlicedImageProxyPtr
boost::shared_ptr< class StreamRep3D > StreamRep3DPtr
boost::shared_ptr< class View > ViewPtr
boost::shared_ptr< class VisualizationService > ViewServicePtr
boost::weak_ptr< class StateService > StateServiceWeakPtr
boost::shared_ptr< class FiberBundle > FiberBundlePtr
boost::shared_ptr< class ToolRep2D > ToolRep2DPtr
boost::shared_ptr< class SliceRepSW > SliceRepSWPtr
boost::shared_ptr< class OrientationAnnotationRep > OrientationAnnotationRepPtr
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class DummyTool > DummyToolPtr
boost::shared_ptr< class PickerRep > PickerRepPtr
boost::shared_ptr< class StringProperty > StringPropertyPtr
boost::shared_ptr< class GuideRep2D > GuideRep2DPtr
boost::weak_ptr< class ViewManager > VisualizationServiceWeakPtr
boost::shared_ptr< class ImageLUT2D > ImageLUT2DPtr
boost::shared_ptr< class Filter > FilterPtr
boost::shared_ptr< class VisualizationService > VisualizationServicePtr
Definition: cxRegServices.h:43
boost::shared_ptr< class UsReconstructionFileReader > UsReconstructionFileReaderPtr
boost::shared_ptr< class Property > PropertyPtr
boost::weak_ptr< class GPUImageDataBuffer > GPUImageDataBufferWeakPtr
boost::shared_ptr< class BoolPropertyBase > BoolPropertyBasePtr
boost::weak_ptr< class GPUImageLutBuffer > GPUImageLutBufferWeakPtr
boost::shared_ptr< class AxesRep > AxesRepPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class VideoSource > VideoSourcePtr
boost::shared_ptr< class TextDisplay > TextDisplayPtr
boost::shared_ptr< class LineSegment > LineSegmentPtr
boost::shared_ptr< class DoublePropertyBase > DoublePropertyBasePtr
boost::shared_ptr< class VideoFixedPlaneRep > VideoFixedPlaneRepPtr
boost::shared_ptr< class GPUImageDataBuffer > GPUImageDataBufferPtr
boost::shared_ptr< class SlicePlaneRep > SlicePlaneRepPtr
boost::shared_ptr< class Presets > PresetsPtr
boost::shared_ptr< class SlicePlanes3DRep > SlicePlanes3DRepPtr
boost::shared_ptr< class SurfaceRep > SurfaceRepPtr
boost::shared_ptr< class ProbeSector > ProbeSectorPtr
boost::shared_ptr< class DoubleProperty > DoublePropertyPtr
boost::shared_ptr< class OffsetPoint > OffsetPointPtr
boost::shared_ptr< class NavigatedVideoImage > NavigatedVideoImagePtr
boost::shared_ptr< class OrientationAnnotation3DRep > OrientationAnnotation3DRepPtr
boost::shared_ptr< class DoublePairProperty > DoublePairPropertyPtr
boost::shared_ptr< class SlicePlaneClipper > SlicePlaneClipperPtr
boost::weak_ptr< class SpaceProvider > SpaceProviderWeakPtr
boost::weak_ptr< class VideoServiceOld > VideoServiceOldWeakPtr
boost::shared_ptr< class GPUImageLutBuffer > GPUImageLutBufferPtr
boost::shared_ptr< class ColorPropertyBase > ColorPropertyBasePtr
boost::shared_ptr< class DisplayTextRep > DisplayTextRepPtr
boost::shared_ptr< class GraphicalLine3D > GraphicalLine3DPtr
boost::shared_ptr< class ToolRep3D > ToolRep3DPtr
boost::shared_ptr< class ProcessedUSInputData > ProcessedUSInputDataPtr
boost::shared_ptr< class ImageTFData > ImageTFDataPtr
boost::shared_ptr< class BoolProperty > BoolPropertyPtr
boost::shared_ptr< class Mesh > MeshPtr
boost::shared_ptr< class VolumetricRep > VolumetricRepPtr
boost::shared_ptr< class LandmarkRep > LandmarkRepPtr
boost::shared_ptr< class ImageLandmarksSource > ImageLandmarksSourcePtr
boost::shared_ptr< class ViewGroup > ViewGroupPtr
boost::shared_ptr< class Rect3D > Rect3DPtr
boost::shared_ptr< class Rep > RepPtr
Definition: cxRepManager.h:45
boost::shared_ptr< class ImageTF3D > ImageTF3DPtr
boost::shared_ptr< class SlicePlanes3DMarkerIn2DRep > SlicePlanes3DMarkerIn2DRepPtr
boost::shared_ptr< class GeometricRep2D > GeometricRep2DPtr
boost::shared_ptr< class ViewGroup2D > ViewGroup2DPtr
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
boost::shared_ptr< class PointMetricRep > PointMetricRepPtr
boost::shared_ptr< class GeometricRep > GeometricRepPtr
boost::shared_ptr< class PointMetric > PointMetricPtr
boost::shared_ptr< class Tool > ToolPtr