Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkTimeGeometry_h
14 #define mitkTimeGeometry_h
17 #include <itkObject.h>
57 LightObject::Pointer InternalClone()
const override;
62 itkCreateAnotherMacro(
Self);
118 virtual bool IsValidTimePoint(
TimePointType timePoint)
const = 0;
126 virtual bool IsValidTimeStep(
TimeStepType timeStep)
const = 0;
211 virtual void ReplaceTimeStepGeometries(
const BaseGeometry *geometry) = 0;
216 virtual bool IsValid()
const = 0;
222 Point3D GetCornerPointInWorld(
int id)
const;
229 Point3D GetCornerPointInWorld(
bool xFront =
true,
bool yFront =
true,
bool zFront =
true)
const;
234 Point3D GetCenterInWorld()
const;
239 double GetDiagonalLength2InWorld()
const;
244 double GetDiagonalLengthInWorld()
const;
258 void UpdateBoundingBox();
267 BoundingBox::BoundsArrayType
GetBoundsInWorld()
const {
return m_BoundingBox->GetBounds(); }
271 ScalarType GetExtentInWorld(
unsigned int direction)
const;
276 virtual void Initialize();
294 void ExecuteOperation(
Operation *op)
override;
296 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
const MITKCORE_EXPORT ScalarType eps
abstract class, that can be used by Undo to undo an operation.
Base class of all Operation-classes.
MITKNEWMODULE_EXPORT bool Equal(mitk::ExampleDataStructure *leftHandSide, mitk::ExampleDataStructure *rightHandSide, mitk::ScalarType eps, bool verbose)
Returns true if the example data structures are considered equal.
BoundingBox::Pointer m_BoundingBox
Contains a bounding box which includes all time steps.
#define mitkClassMacroItkParent(className, SuperClassName)
itk::BoundingBox< unsigned long, 3, ScalarType > BoundingBox
Standard 3D-BoundingBox typedef.
Find image slices visible on a given plane.
BaseGeometry Describes the geometry of a data object.
virtual void UpdateWithoutBoundingBox()
Updates everything except the Bounding box.
BoundingBox::BoundsArrayType GetBoundsInWorld() const
Returns the world bounds of the object that cover all time steps.
BoundingBox * GetBoundingBoxInWorld() const
Returns a bounding box that covers all time steps.
mitk::ScalarType TimePointType
itk::FixedArray< ScalarType, 2 > TimeBounds
Standard typedef for time-bounds.