Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkTimeGeometry_h
14 #define mitkTimeGeometry_h
17 #include <itkObject.h>
59 LightObject::Pointer InternalClone()
const override;
64 itkCreateAnotherMacro(
Self);
120 virtual bool IsValidTimePoint(
TimePointType timePoint)
const = 0;
128 virtual bool IsValidTimeStep(
TimeStepType timeStep)
const = 0;
213 virtual void ReplaceTimeStepGeometries(
const BaseGeometry *geometry) = 0;
218 virtual bool IsValid()
const = 0;
224 Point3D GetCornerPointInWorld(
int id)
const;
231 Point3D GetCornerPointInWorld(
bool xFront =
true,
bool yFront =
true,
bool zFront =
true)
const;
236 Point3D GetCenterInWorld()
const;
241 double GetDiagonalLength2InWorld()
const;
246 double GetDiagonalLengthInWorld()
const;
260 void UpdateBoundingBox();
269 BoundingBox::BoundsArrayType
GetBoundsInWorld()
const {
return m_BoundingBox->GetBounds(); }
273 ScalarType GetExtentInWorld(
unsigned int direction)
const;
278 virtual void Initialize();
296 void ExecuteOperation(
Operation *op)
override;
298 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)
static const TimeStepType TIMESTEP_INVALID
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.