CustusX  16.12
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 ActiveData> ActiveDataPtr;
62 typedef boost::shared_ptr<class Tool> ToolPtr;
63 typedef boost::shared_ptr<class ManualTool> ManualToolPtr;
64 typedef boost::shared_ptr<class DummyTool> DummyToolPtr;
65 typedef boost::shared_ptr<class Image> ImagePtr;
66 typedef boost::shared_ptr<class NavigatedVideoImage> NavigatedVideoImagePtr;
67 typedef boost::shared_ptr<class Data> DataPtr;
68 typedef boost::shared_ptr<class Mesh> MeshPtr;
69 typedef boost::shared_ptr<class TrackedStream> TrackedStreamPtr;
70 typedef boost::shared_ptr<class ImageTF3D> ImageTF3DPtr;
71 typedef boost::shared_ptr<class ImageLUT2D> ImageLUT2DPtr;
72 typedef boost::shared_ptr<class ImageTFData> ImageTFDataPtr;
73 typedef boost::shared_ptr<class InteractiveClipper> InteractiveClipperPtr;
74 typedef boost::shared_ptr<class GPUImageDataBuffer> GPUImageDataBufferPtr;
75 typedef boost::weak_ptr<class GPUImageDataBuffer> GPUImageDataBufferWeakPtr;
76 typedef boost::shared_ptr<class GPUImageLutBuffer> GPUImageLutBufferPtr;
77 typedef boost::weak_ptr<class GPUImageLutBuffer> GPUImageLutBufferWeakPtr;
78 typedef boost::shared_ptr<class ProbeSector> ProbeSectorPtr;
79 typedef boost::shared_ptr<class FiberBundle> FiberBundlePtr;
80 
81 // reps
82 typedef boost::shared_ptr<class Axes3D> Axes3DPtr;
83 typedef boost::shared_ptr<class AxesRep> AxesRepPtr;
84 typedef boost::shared_ptr<class CrossHair2D> CrossHair2DPtr;
85 typedef boost::shared_ptr<class CrossHairRep2D> CrossHairRep2DPtr;
86 typedef boost::shared_ptr<class DisplayTextRep> DisplayTextRepPtr;
87 typedef boost::shared_ptr<class FiberBundleRep> FiberBundleRepPtr;
88 typedef boost::shared_ptr<class GeometricRep2D> GeometricRep2DPtr;
89 typedef boost::shared_ptr<class GeometricRep> GeometricRepPtr;
90 typedef boost::shared_ptr<class GPUImageDataBuffer> GPUImageDataBufferPtr;
91 typedef boost::shared_ptr<class GPUImageLutBuffer> GPUImageLutBufferPtr;
92 typedef boost::shared_ptr<class GraphicalLine3D> GraphicalLine3DPtr;
93 typedef boost::shared_ptr<class GraphicalPoint3D> GraphicalPoint3DPtr;
94 typedef boost::shared_ptr<class GuideRep2D> GuideRep2DPtr;
95 typedef boost::shared_ptr<class ImageLUT2D> ImageLUT2DPtr;
96 typedef boost::shared_ptr<class ImageTF3D> ImageTF3DPtr;
97 typedef boost::shared_ptr<class LandmarkRep> LandmarkRepPtr;
98 typedef boost::shared_ptr<class LineSegment> LineSegmentPtr;
99 typedef boost::shared_ptr<class OffsetPoint> OffsetPointPtr;
100 typedef boost::shared_ptr<class OrientationAnnotation3DRep> OrientationAnnotation3DRepPtr;
101 typedef boost::shared_ptr<class OrientationAnnotationRep> OrientationAnnotationRepPtr;
102 typedef boost::shared_ptr<class PickerRep> PickerRepPtr;
103 typedef boost::shared_ptr<class PointMetric> PointMetricPtr;
104 typedef boost::shared_ptr<class PointMetricRep> PointMetricRepPtr;
105 typedef boost::shared_ptr<class PointMetricRep2D> PointMetricRep2DPtr;
106 typedef boost::shared_ptr<class Rect3D> Rect3DPtr;
107 typedef boost::shared_ptr<class Rep> RepPtr;
108 typedef boost::shared_ptr<class SlicedImageProxy> SlicedImageProxyPtr;
109 typedef boost::shared_ptr<class SlicePlaneClipper> SlicePlaneClipperPtr;
110 typedef boost::shared_ptr<class SlicePlaneRep> SlicePlaneRepPtr;
111 typedef boost::shared_ptr<class SlicePlaneRep> SlicePlaneRepPtr;
112 typedef boost::shared_ptr<class SlicePlanes3DMarkerIn2DRep> SlicePlanes3DMarkerIn2DRepPtr;
113 typedef boost::shared_ptr<class SlicePlanes3DRep> SlicePlanes3DRepPtr;
114 typedef boost::shared_ptr<class SlicePlanesProxy> SlicePlanesProxyPtr;
115 typedef boost::shared_ptr<class SliceProxy> SliceProxyPtr;
116 typedef boost::shared_ptr<class SliceRepSW> SliceRepSWPtr;
117 typedef boost::shared_ptr<class Stream2DRep3D> Stream2DRep3DPtr;
118 typedef boost::shared_ptr<class StreamRep3D> StreamRep3DPtr;
119 typedef boost::shared_ptr<class SurfaceRep> SurfaceRepPtr;
120 typedef boost::shared_ptr<class TestVideoSource> TestVideoSourcePtr;
121 typedef boost::shared_ptr<class TextDisplay> TextDisplayPtr;
122 typedef boost::shared_ptr<class Texture3DSlicerRep> Texture3DSlicerRepPtr;
123 typedef boost::shared_ptr<class ToolRep2D> ToolRep2DPtr;
124 typedef boost::shared_ptr<class ToolRep3D> ToolRep3DPtr;
125 typedef boost::shared_ptr<class ToolTracer> ToolTracerPtr;
126 typedef boost::shared_ptr<class Tool> ToolPtr;
127 typedef boost::shared_ptr<class VideoFixedPlaneRep> VideoFixedPlaneRepPtr;
128 typedef boost::shared_ptr<class VideoSource> VideoSourcePtr;
129 typedef boost::shared_ptr<class View> ViewPtr;
130 typedef boost::shared_ptr<class VolumetricBaseRep> VolumetricBaseRepPtr;
131 typedef boost::shared_ptr<class VolumetricRep> VolumetricRepPtr;
132 
133 // Services
134 typedef boost::shared_ptr<class CoreServices> CoreServicesPtr;
135 typedef boost::shared_ptr<class RegServices> RegServicesPtr;
136 typedef boost::shared_ptr<class VisServices> VisServicesPtr;
137 typedef boost::shared_ptr<class AcquisitionService> AcquisitionServicePtr;
138 typedef boost::shared_ptr<class PatientModelService> PatientModelServicePtr;
139 typedef boost::shared_ptr<class RegistrationService> RegistrationServicePtr;
140 typedef boost::shared_ptr<class SpaceProvider> SpaceProviderPtr;
141 typedef boost::shared_ptr<class StateService> StateServicePtr;
142 typedef boost::shared_ptr<class TrackingService> TrackingServicePtr;
143 typedef boost::shared_ptr<class UsReconstructionService> UsReconstructionServicePtr;
144 typedef boost::shared_ptr<class VideoService> VideoServicePtr;
145 typedef boost::shared_ptr<class ViewService> ViewServicePtr;
146 
147 typedef boost::weak_ptr<class SpaceProvider> SpaceProviderWeakPtr;
148 typedef boost::weak_ptr<class StateService> StateServiceWeakPtr;
149 typedef boost::weak_ptr<class ViewManager> ViewServiceWeakPtr;
150 
151 // data adapters
152 typedef boost::shared_ptr<class StringPropertyBase> StringPropertyBasePtr;
153 typedef boost::shared_ptr<class DoublePropertyBase> DoublePropertyBasePtr;
154 typedef boost::shared_ptr<class BoolPropertyBase> BoolPropertyBasePtr;
155 typedef boost::shared_ptr<class ColorPropertyBase> ColorPropertyBasePtr;
156 
157 typedef boost::shared_ptr<class StringProperty> StringPropertyPtr;
158 typedef boost::shared_ptr<class DoubleProperty> DoublePropertyPtr;
159 typedef boost::shared_ptr<class BoolProperty> BoolPropertyPtr;
160 typedef boost::shared_ptr<class ColorProperty> ColorPropertyPtr;
161 typedef boost::shared_ptr<class DoublePairProperty> DoublePairPropertyPtr;
162 
163 // other stuff
164 typedef boost::shared_ptr<class Presets> PresetsPtr;
165 typedef boost::shared_ptr<class ProcessedUSInputData> ProcessedUSInputDataPtr;
166 typedef boost::shared_ptr<class USFrameData> USFrameDataPtr;
167 typedef boost::shared_ptr<class ViewportListener> ViewportListenerPtr;
168 
169 typedef boost::shared_ptr<class ViewGroupData> ViewGroupDataPtr;
170 typedef boost::shared_ptr<class ViewGroup> ViewGroupPtr;
171 typedef boost::shared_ptr<class ViewGroup2D> ViewGroup2DPtr;
172 typedef boost::shared_ptr<class ViewGroup3D> ViewGroup3DPtr;
173 typedef boost::shared_ptr<class ViewWrapper> ViewWrapperPtr;
174 
175 typedef boost::shared_ptr<class VideoConnectionManager> VideoConnectionManagerPtr;
176 typedef boost::shared_ptr<class UsReconstructionFileReader> UsReconstructionFileReaderPtr;
177 typedef boost::shared_ptr<class ImageLandmarksSource> ImageLandmarksSourcePtr;
178 
179 typedef boost::shared_ptr<class Filter> FilterPtr;
180 
181 
182 } // namespace cx
183 
184 #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 Stream2DRep3D > Stream2DRep3DPtr
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
boost::shared_ptr< class TrackedStream > TrackedStreamPtr
boost::shared_ptr< class StateService > StateServicePtr
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:62
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 ActiveData > ActiveDataPtr
Definition: cxColorWidget.h:42
boost::shared_ptr< class ManualTool > ManualToolPtr
boost::shared_ptr< class PointMetricRep2D > PointMetricRep2DPtr
boost::shared_ptr< class ToolTracer > ToolTracerPtr
boost::shared_ptr< class ViewService > ViewServicePtr
boost::shared_ptr< class SlicedImageProxy > SlicedImageProxyPtr
boost::shared_ptr< class StreamRep3D > StreamRep3DPtr
boost::shared_ptr< class View > ViewPtr
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::shared_ptr< class ImageLUT2D > ImageLUT2DPtr
boost::shared_ptr< class Filter > FilterPtr
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
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 RegServices > RegServicesPtr
Definition: cxRegServices.h:41
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 ViewGroup > ViewGroupPtr
boost::shared_ptr< class DoublePairProperty > DoublePairPropertyPtr
boost::shared_ptr< class SlicePlaneClipper > SlicePlaneClipperPtr
boost::weak_ptr< class SpaceProvider > SpaceProviderWeakPtr
boost::shared_ptr< class GPUImageLutBuffer > GPUImageLutBufferPtr
boost::shared_ptr< class CoreServices > CoreServicesPtr
Definition: cxCameraStyle.h:59
boost::shared_ptr< class ColorPropertyBase > ColorPropertyBasePtr
boost::weak_ptr< class ViewManager > ViewServiceWeakPtr
boost::shared_ptr< class InteractiveClipper > InteractiveClipperPtr
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 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 PointMetricRep > PointMetricRepPtr
boost::shared_ptr< class GeometricRep > GeometricRepPtr
boost::shared_ptr< class PointMetric > PointMetricPtr
boost::shared_ptr< class Tool > ToolPtr