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