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

mitk::LandmarkProjector Class Reference
[Geometry Classes]

Base-class of landmark-projectors, which project the target landmarks to create source landmarks. More...

#include <mitkLandmarkProjector.h>

Inheritance diagram for mitk::LandmarkProjector:
Inheritance graph
[legend]

List of all members.

Public Types

typedef LandmarkProjector Self
typedef itk::Object Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer
< const Self
ConstPointer

Public Member Functions

virtual const char * GetClassName () const
virtual void SetInterpolatingAbstractTransform (vtkAbstractTransform *anInterpolatingAbstractTransform)
 Set the interpolating (world-space-to-world-space) transform, which uses the landmarks.
virtual vtkAbstractTransform * GetInterpolatingAbstractTransform () const
 Get the interpolating (world-space-to-world-space) transform, which uses the landmarks.
virtual void SetFrameGeometry (const mitk::Geometry3D *_arg)
 Set frame geometry within which the interpolation shall occur.
virtual const mitk::Geometry3DGetFrameGeometry ()
 Get frame geometry within which the interpolation shall occur.
virtual const mitk::PlaneGeometryGetParameterPlane ()
 Get the parameter plane for use in AbstractTransformGeometry::SetPlane.
virtual const
mitk::PointSet::DataType::PointsContainer * 
GetProjectedLandmarks ()
 Get the projected landmarks.
virtual const
mitk::PointSet::DataType::PointsContainer * 
GetFinalTargetLandmarks ()
 Get the final target landmarks to use for the interpolating transform.
virtual vtkAbstractTransform * GetCompleteAbstractTransform () const
 Get the transform from parameter space to world space incorporating the given interpolating transform, which uses the landmarks.
virtual void ProjectLandmarks (const mitk::PointSet::DataType::PointsContainer *targetLandmarks)=0

Protected Member Functions

 LandmarkProjector ()
virtual ~LandmarkProjector ()
virtual void ComputeCompleteAbstractTransform ()=0
 Compute the transform from parameter space to world space incorporating the given interpolating transform, which uses the landmarks.

Protected Attributes

vtkAbstractTransform * m_InterpolatingAbstractTransform
vtkAbstractTransform * m_CompleteAbstractTransform
mitk::Geometry3D::ConstPointer m_FrameGeometry
mitk::PlaneGeometry::ConstPointer m_ParameterPlane
mitk::PointSet::DataType::PointsContainer::Pointer m_WritableFinalTargetLandmarks
mitk::PointSet::DataType::PointsContainer::ConstPointer m_FinalTargetLandmarks
mitk::PointSet::DataType::PointsContainer::Pointer m_ProjectedLandmarks

Detailed Description

Base-class of landmark-projectors, which project the target landmarks to create source landmarks.

Definition at line 37 of file mitkLandmarkProjector.h.


Member Typedef Documentation

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

Reimplemented in mitk::PlaneLandmarkProjector, and mitk::SphereLandmarkProjector.

Definition at line 40 of file mitkLandmarkProjector.h.

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

Reimplemented in mitk::PlaneLandmarkProjector, and mitk::SphereLandmarkProjector.

Definition at line 40 of file mitkLandmarkProjector.h.

Reimplemented in mitk::PlaneLandmarkProjector, and mitk::SphereLandmarkProjector.

Definition at line 40 of file mitkLandmarkProjector.h.

Reimplemented in mitk::PlaneLandmarkProjector, and mitk::SphereLandmarkProjector.

Definition at line 40 of file mitkLandmarkProjector.h.


Constructor & Destructor Documentation

mitk::LandmarkProjector::LandmarkProjector (  ) [protected]

Definition at line 21 of file mitkLandmarkProjector.cpp.

References m_FinalTargetLandmarks, m_ProjectedLandmarks, and m_WritableFinalTargetLandmarks.

  : m_InterpolatingAbstractTransform(NULL), m_CompleteAbstractTransform(NULL), m_FrameGeometry(NULL), m_ParameterPlane(NULL)
{
  m_FinalTargetLandmarks = m_WritableFinalTargetLandmarks = mitk::PointSet::DataType::PointsContainer::New();
  m_ProjectedLandmarks   = mitk::PointSet::DataType::PointsContainer::New();
}
mitk::LandmarkProjector::~LandmarkProjector (  ) [protected, virtual]

Member Function Documentation

virtual void mitk::LandmarkProjector::ComputeCompleteAbstractTransform (  ) [protected, pure virtual]

Compute the transform from parameter space to world space incorporating the given interpolating transform, which uses the landmarks.

Called after a new interpolating transform is set via SetInterpolatingAbstractTransform().

See also:
SetInterpolatingAbstractTransform
GetCompleteAbstractTransform

Implemented in mitk::PlaneLandmarkProjector, and mitk::SphereLandmarkProjector.

virtual const char* mitk::LandmarkProjector::GetClassName (  ) const [virtual]
vtkAbstractTransform * mitk::LandmarkProjector::GetCompleteAbstractTransform (  ) const [virtual]

Get the transform from parameter space to world space incorporating the given interpolating transform, which uses the landmarks.

See also:
ComputeCompleteAbstractTransform
SetInterpolatingAbstractTransform

Definition at line 45 of file mitkLandmarkProjector.cpp.

virtual const mitk::PointSet::DataType::PointsContainer* mitk::LandmarkProjector::GetFinalTargetLandmarks (  ) [virtual]

Get the final target landmarks to use for the interpolating transform.

Note:
Valid only after calling ProjectLandmarks.
virtual const mitk::Geometry3D* mitk::LandmarkProjector::GetFrameGeometry (  ) [virtual]

Get frame geometry within which the interpolation shall occur.

Used as a hint, may be ignored depending on the concrete sub-classes.

virtual vtkAbstractTransform* mitk::LandmarkProjector::GetInterpolatingAbstractTransform (  ) const [virtual]

Get the interpolating (world-space-to-world-space) transform, which uses the landmarks.

See also:
GetCompleteAbstractTransform
ComputeCompleteAbstractTransform
virtual const mitk::PlaneGeometry* mitk::LandmarkProjector::GetParameterPlane (  ) [virtual]

Get the parameter plane for use in AbstractTransformGeometry::SetPlane.

virtual const mitk::PointSet::DataType::PointsContainer* mitk::LandmarkProjector::GetProjectedLandmarks (  ) [virtual]

Get the projected landmarks.

Note:
Valid only after calling ProjectLandmarks.
virtual void mitk::LandmarkProjector::ProjectLandmarks ( const mitk::PointSet::DataType::PointsContainer *  targetLandmarks ) [pure virtual]
virtual void mitk::LandmarkProjector::SetFrameGeometry ( const mitk::Geometry3D _arg ) [virtual]

Set frame geometry within which the interpolation shall occur.

Used as a hint, may be ignored depending on the concrete sub-classes.

Referenced by mitk::LandmarkProjectorBasedCurvedGeometry::SetLandmarkProjector().

void mitk::LandmarkProjector::SetInterpolatingAbstractTransform ( vtkAbstractTransform *  anInterpolatingAbstractTransform ) [virtual]

Set the interpolating (world-space-to-world-space) transform, which uses the landmarks.

See also:
GetCompleteAbstractTransform

Definition at line 34 of file mitkLandmarkProjector.cpp.

{
  if(m_InterpolatingAbstractTransform != anInterpolatingAbstractTransform)
  {
    m_InterpolatingAbstractTransform = anInterpolatingAbstractTransform;
    m_InterpolatingAbstractTransform->Register(NULL);
    Modified();
    ComputeCompleteAbstractTransform();
  }
}

Member Data Documentation

vtkAbstractTransform* mitk::LandmarkProjector::m_CompleteAbstractTransform [protected]

Definition at line 108 of file mitkLandmarkProjector.h.

mitk::PointSet::DataType::PointsContainer::ConstPointer mitk::LandmarkProjector::m_FinalTargetLandmarks [protected]

Definition at line 112 of file mitkLandmarkProjector.h.

Referenced by LandmarkProjector().

Definition at line 109 of file mitkLandmarkProjector.h.

Definition at line 107 of file mitkLandmarkProjector.h.

mitk::PointSet::DataType::PointsContainer::Pointer mitk::LandmarkProjector::m_ProjectedLandmarks [protected]

Definition at line 113 of file mitkLandmarkProjector.h.

Referenced by LandmarkProjector().

mitk::PointSet::DataType::PointsContainer::Pointer mitk::LandmarkProjector::m_WritableFinalTargetLandmarks [protected]

Definition at line 111 of file mitkLandmarkProjector.h.

Referenced by LandmarkProjector().


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