13 #ifndef mitkProportionalTimeGeometry_h
14 #define mitkProportionalTimeGeometry_h
45 itkFactorylessNewMacro(Self);
226 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
BaseGeometry Describes the geometry of a data object.
TimePointType m_FirstTimePoint
BaseGeometry::Pointer GetGeometryCloneForTimeStep(TimeStepType timeStep) const override
Returns the geometry which corresponds to the given time step.
TimePointType TimeStepToTimePoint(TimeStepType timeStep) const override
Converts a time step to a time point.
void Initialize(TimeStepType timeSteps)
Initialize the TimeGeometry with empty BaseGeometry.
mitkClassMacro(ProportionalTimeGeometry, TimeGeometry)
bool IsValidTimeStep(TimeStepType timeStep) const override
Test for the given time step if a geometry is available.
TimePointType m_StepDuration
TimePointType GetMinimumTimePoint() const override
Returns the first time point for which the object is valid.
TimeBounds GetTimeBounds(TimeStepType step) const override
Get the time bounds for the given TimeStep (in ms)
bool IsValidTimePoint(TimePointType timePoint) const override
Tests if a given time point is covered by this object.
~ProportionalTimeGeometry() override
void ReplaceTimeStepGeometries(const BaseGeometry *geometry) override
Replaces the geometry instances with clones of the passed geometry.
void Initialize() override
Initializes a new object with one time steps which contains an empty geometry.
void ClearAllGeometries()
TimeBounds GetTimeBounds() const override
Get the time bounds (in ms)
TimePointType GetMinimumTimePoint(TimeStepType step) const override
Returns the first time point for which the object is valid.
void PrintSelf(std::ostream &os, itk::Indent indent) const override
TimePointType GetMaximumTimePoint() const override
Returns the last time point for which the object is valid.
void Expand(TimeStepType size) override
Expands the time geometry to the given number of time steps.
TimeStepType CountTimeSteps() const override
Returns the number of time steps.
BaseGeometry::Pointer GetGeometryForTimeStep(TimeStepType timeStep) const override
Returns the geometry which corresponds to the given time step.
void Initialize(const BaseGeometry *geometry, TimeStepType timeSteps)
Initializes the TimeGeometry with equally time Step geometries.
BaseGeometry::Pointer GetGeometryForTimePoint(TimePointType timePoint) const override
Returns the geometry which corresponds to the given time point.
void ReserveSpaceForGeometries(TimeStepType numberOfGeometries)
bool IsValid() const override
Tests if all necessary information are set and the object is valid.
std::vector< BaseGeometry::Pointer > m_GeometryVector
TimePointType GetMaximumTimePoint(TimeStepType step) const override
Returns the last time point for which the object is valid.
TimeStepType TimePointToTimeStep(TimePointType timePoint) const override
Converts a time point to the corresponding time step.
itk::LightObject::Pointer InternalClone() const override
Makes a deep copy of the current object.
void SetTimeStepGeometry(BaseGeometry *geometry, TimeStepType timeStep) override
Sets the geometry for the given time step.
ProportionalTimeGeometry()
Find image slices visible on a given plane.
MITKCORE_EXPORT const ScalarType eps
itk::FixedArray< ScalarType, 2 > TimeBounds
Standard typedef for time-bounds.
mitk::ScalarType TimePointType
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.