Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions

mitk::BaseDataTestImplementation Class Reference
[Data Classes]

Implementation of BaseData (for testing) More...

#include <mitkBaseDataTestImplementation.h>

Inheritance diagram for mitk::BaseDataTestImplementation:
Inheritance graph
[legend]
Collaboration diagram for mitk::BaseDataTestImplementation:
Collaboration graph
[legend]

List of all members.

Public Types

typedef BaseDataTestImplementation Self
typedef BaseData Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer
< const Self
ConstPointer

Public Member Functions

virtual const char * GetClassName () const
virtual void InitializeTimeSlicedGeometry (unsigned int timeSteps)
 Initialize the TimeSlicedGeometry for a number of time steps. The TimeSlicedGeometry is initialized empty and evenly timed. In many cases it will be necessary to overwrite this in sub-classes.

Static Public Member Functions

static Pointer New ()

Protected Member Functions

virtual bool VerifyRequestedRegion ()
 Verify that the RequestedRegion is within the LargestPossibleRegion.
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
 Determine whether the RequestedRegion is outside of the BufferedRegion.
virtual void SetRequestedRegionToLargestPossibleRegion ()
 Set the RequestedRegion to the LargestPossibleRegion.
virtual void SetRequestedRegion (itk::DataObject *)
 Set the requested region from this data object to match the requested region of the data object passed in as a parameter.
 BaseDataTestImplementation ()
virtual ~BaseDataTestImplementation ()

Detailed Description

Implementation of BaseData (for testing)

As BaseData is an abstract class, we need an implementation for testing its methods

Definition at line 32 of file mitkBaseDataTestImplementation.h.


Member Typedef Documentation

typedef itk::SmartPointer<const Self> mitk::BaseDataTestImplementation::ConstPointer

Reimplemented from mitk::BaseData.

Definition at line 36 of file mitkBaseDataTestImplementation.h.

typedef itk::SmartPointer<Self> mitk::BaseDataTestImplementation::Pointer

Reimplemented from mitk::BaseData.

Definition at line 36 of file mitkBaseDataTestImplementation.h.

Reimplemented from mitk::BaseData.

Definition at line 36 of file mitkBaseDataTestImplementation.h.

Reimplemented from mitk::BaseData.

Definition at line 36 of file mitkBaseDataTestImplementation.h.


Constructor & Destructor Documentation

mitk::BaseDataTestImplementation::BaseDataTestImplementation (  ) [inline, protected]

Definition at line 52 of file mitkBaseDataTestImplementation.h.

{};
virtual mitk::BaseDataTestImplementation::~BaseDataTestImplementation (  ) [inline, protected, virtual]

Definition at line 53 of file mitkBaseDataTestImplementation.h.

{};

Member Function Documentation

virtual const char* mitk::BaseDataTestImplementation::GetClassName (  ) const [virtual]

Reimplemented from mitk::BaseData.

virtual void mitk::BaseDataTestImplementation::InitializeTimeSlicedGeometry ( unsigned int  timeSteps ) [inline, virtual]

Initialize the TimeSlicedGeometry for a number of time steps. The TimeSlicedGeometry is initialized empty and evenly timed. In many cases it will be necessary to overwrite this in sub-classes.

Reimplemented from mitk::BaseData.

Definition at line 40 of file mitkBaseDataTestImplementation.h.

References mitk::BaseData::InitializeTimeSlicedGeometry().

static Pointer mitk::BaseDataTestImplementation::New (  ) [static]

Referenced by mitkBaseDataTest().

virtual bool mitk::BaseDataTestImplementation::RequestedRegionIsOutsideOfTheBufferedRegion (  ) [inline, protected, virtual]

Determine whether the RequestedRegion is outside of the BufferedRegion.

This method returns true if the RequestedRegion is outside the BufferedRegion (true if at least one pixel is outside). This is used by the pipeline mechanism to determine whether a filter needs to re-execute in order to satisfy the current request. If the current RequestedRegion is already inside the BufferedRegion from the previous execution (and the current filter is up to date), then a given filter does not need to re-execute

Implements mitk::BaseData.

Definition at line 48 of file mitkBaseDataTestImplementation.h.

{return false;};
virtual void mitk::BaseDataTestImplementation::SetRequestedRegion ( itk::DataObject *  data ) [inline, protected, virtual]

Set the requested region from this data object to match the requested region of the data object passed in as a parameter.

This method is implemented in the concrete subclasses of BaseData.

Implements mitk::BaseData.

Definition at line 50 of file mitkBaseDataTestImplementation.h.

{};
virtual void mitk::BaseDataTestImplementation::SetRequestedRegionToLargestPossibleRegion (  ) [inline, protected, virtual]

Set the RequestedRegion to the LargestPossibleRegion.

This forces a filter to produce all of the output in one execution (i.e. not streaming) on the next call to Update().

Implements mitk::BaseData.

Definition at line 49 of file mitkBaseDataTestImplementation.h.

{};
virtual bool mitk::BaseDataTestImplementation::VerifyRequestedRegion (  ) [inline, protected, virtual]

Verify that the RequestedRegion is within the LargestPossibleRegion.

If the RequestedRegion is not within the LargestPossibleRegion, then the filter cannot possibly satisfy the request. This method returns true if the request can be satisfied (even if it will be necessary to process the entire LargestPossibleRegion) and returns false otherwise. This method is used by PropagateRequestedRegion(). PropagateRequestedRegion() throws a InvalidRequestedRegionError exception if the requested region is not within the LargestPossibleRegion.

Implements mitk::BaseData.

Definition at line 47 of file mitkBaseDataTestImplementation.h.

{return false;};

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines