17 #ifndef MITKSLICEDGEOMETRY3D_H_HEADER_INCLUDED_C1EBD0AD
18 #define MITKSLICEDGEOMETRY3D_H_HEADER_INCLUDED_C1EBD0AD
25 class SliceNavigationController;
26 class NavigationController;
72 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
109 virtual void ChangeImageGeometryConsideringOriginOffset(
const bool isAnImageGeometry)
override;
117 itkGetConstMacro(Slices,
unsigned int)
127 virtual bool IsValidSlice(
int s = 0)
const;
129 virtual const BaseGeometry* GetReferenceGeometry()
const;
131 virtual void SetReferenceGeometry(
const BaseGeometry *referenceGeometry);
133 bool HasReferenceGeometry()
const;
157 itkGetConstMacro(EvenlySpaced,
bool)
159 virtual
void SetEvenlySpaced(
bool on = true);
171 virtual
void SetDirectionVector(const
mitk::
Vector3D &directionVector);
172 itkGetConstMacro(DirectionVector, const
mitk::
Vector3D &)
174 virtual
itk::LightObject::
Pointer InternalClone() const override;
176 static const
std::
string SLICES;
177 const static
std::
string DIRECTION_VECTOR;
178 const static
std::
string EVENLY_SPACED;
188 virtual
void InitializeSlicedGeometry(
unsigned int slices);
198 virtual
void InitializeEvenlySpaced(
mitk::
PlaneGeometry *geometry2D,
unsigned int slices);
211 unsigned int slices);
234 bool frontside = true,
235 bool rotated = false);
237 virtual
void SetImageGeometry(const
bool isAnImageGeometry) override;
239 virtual
void ExecuteOperation(
Operation *operation) override;
246 SlicedGeometry3D(const SlicedGeometry3D &other);
248 virtual ~SlicedGeometry3D();
263 virtual
void ReinitializePlanes(const
Point3D ¢er, const
Point3D &referencePoint);
267 void PrintSelf(
std::ostream &os,
itk::Indent indent) const override;
273 double CalculateSpacing(const
mitk::
Vector3D &direction) const;
306 unsigned int m_Slices;
322 virtual
void PreSetSpacing(const
mitk::
Vector3D &aSpacing) override;
itk::BoundingBox< unsigned long, 3, ScalarType > BoundingBox
Standard 3D-BoundingBox typedef.
void SetGeometry2D(PlaneGeometry *geo, int s)
Base class of all Operation-classes.
DataCollection - Class to facilitate loading/accessing structured data.
Controls the selection of the slice the associated BaseRenderer will display.
#define mitkClassMacro(className, SuperClassName)
Describes the geometry of a data object consisting of slices.
Describes a two-dimensional, rectangular plane.
BaseGeometry Describes the geometry of a data object.