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

mitk::PointData Class Reference

#include <mitkPointData.h>

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

List of all members.

Public Types

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

Public Member Functions

virtual const char * GetClassName () const
virtual mitk::Point3D GetPoint3D ()
virtual void SetPoint3D (mitk::Point3D _arg)
virtual mitk::Point2D GetPoint2D ()
virtual void SetPoint2D (mitk::Point2D _arg)
virtual void UpdateOutputInformation ()
 Update the information for this BaseData (the geometry in particular) so that it can be used as an output of a BaseProcess.
virtual void SetRequestedRegionToLargestPossibleRegion ()
 Set the RequestedRegion to the LargestPossibleRegion.
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
 Determine whether the RequestedRegion is outside of the BufferedRegion.
virtual bool VerifyRequestedRegion ()
 Verify that the RequestedRegion is within the LargestPossibleRegion.
virtual void SetRequestedRegion (itk::DataObject *data)
 Set the requested region from this data object to match the requested region of the data object passed in as a parameter.
virtual void CopyInformation (const itk::DataObject *data)
 Copy information from the specified data set.

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 PointData ()
virtual ~PointData ()

Protected Attributes

mitk::Point3D m_Point3D
mitk::Point2D m_Point2D

Detailed Description

Definition at line 26 of file mitkPointData.h.


Member Typedef Documentation

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

Reimplemented from mitk::BaseData.

Definition at line 29 of file mitkPointData.h.

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

Reimplemented from mitk::BaseData.

Definition at line 29 of file mitkPointData.h.

Reimplemented from mitk::BaseData.

Definition at line 29 of file mitkPointData.h.

Reimplemented from mitk::BaseData.

Definition at line 29 of file mitkPointData.h.


Constructor & Destructor Documentation

mitk::PointData::PointData (  ) [protected]

Definition at line 24 of file mitkPointData.cpp.

References m_Point2D, and m_Point3D.

{
   m_Point3D[0] = 0;
   m_Point3D[1] = 0;
   m_Point3D[2] = 0;

   m_Point2D[0] = 0;
   m_Point2D[1] = 0;
}
mitk::PointData::~PointData (  ) [protected, virtual]

Definition at line 34 of file mitkPointData.cpp.

{

}

Member Function Documentation

void mitk::PointData::CopyInformation ( const itk::DataObject *  data ) [virtual]

Copy information from the specified data set.

This method is part of the pipeline execution model. By default, a BaseProcess will copy meta-data from the first input to all of its outputs. See ProcessObject::GenerateOutputInformation(). Each subclass of DataObject is responsible for being able to copy whatever meta-data it needs from another DataObject. The default implementation of this method copies the time sliced geometry and the property list of an object. If a subclass overrides this method, it should always call its superclass' version.

Reimplemented from mitk::BaseData.

Definition at line 71 of file mitkPointData.cpp.

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

Reimplemented from mitk::BaseData.

virtual mitk::Point2D mitk::PointData::GetPoint2D (  ) [virtual]
virtual mitk::Point3D mitk::PointData::GetPoint3D (  ) [virtual]
static Pointer mitk::PointData::New (  ) [static]
bool mitk::PointData::RequestedRegionIsOutsideOfTheBufferedRegion (  ) [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 53 of file mitkPointData.cpp.

{
    if ( VerifyRequestedRegion() == false )
        return true;
    else
        return false;
}
virtual void mitk::PointData::SetPoint2D ( mitk::Point2D  _arg ) [virtual]
virtual void mitk::PointData::SetPoint3D ( mitk::Point3D  _arg ) [virtual]
void mitk::PointData::SetRequestedRegion ( itk::DataObject *  data ) [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 66 of file mitkPointData.cpp.

{

}
void mitk::PointData::SetRequestedRegionToLargestPossibleRegion (  ) [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 48 of file mitkPointData.cpp.

{

}
void mitk::PointData::UpdateOutputInformation (  ) [virtual]

Update the information for this BaseData (the geometry in particular) so that it can be used as an output of a BaseProcess.

This method is used in the pipeline mechanism to propagate information and initialize the meta data associated with a BaseData. Any implementation of this method in a derived class is assumed to call its source's BaseProcess::UpdateOutputInformation() which determines modified times, LargestPossibleRegions, and any extra meta data like spacing, origin, etc. Default implementation simply call's it's source's UpdateOutputInformation().

Note:
Implementations of this methods in derived classes must take care that the geometry is updated by calling GetTimeSlicedGeometry()->UpdateInformation() after calling its source's BaseProcess::UpdateOutputInformation().

Reimplemented from mitk::BaseData.

Definition at line 40 of file mitkPointData.cpp.

{
    if ( this->GetSource() )
    {
        this->GetSource()->UpdateOutputInformation();
    }
}
bool mitk::PointData::VerifyRequestedRegion (  ) [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 61 of file mitkPointData.cpp.

{
   return true;
}

Member Data Documentation

mitk::Point2D mitk::PointData::m_Point2D [protected]

Definition at line 61 of file mitkPointData.h.

Referenced by PointData().

mitk::Point3D mitk::PointData::m_Point3D [protected]

Definition at line 59 of file mitkPointData.h.

Referenced by PointData().


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