ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage > Class Template Reference

#include <itkPolylineMaskImageFilter.h>

+ Inheritance diagram for itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >:
+ Collaboration diagram for itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef
InputImageType::ConstPointer 
InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef Matrix< double,
itkGetStaticConstMacro(InputDimension),
itkGetStaticConstMacro(InputDimension) > 
MatrixType
typedef OutputImageType::PixelType OutputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef TOutputImage OutputImageType
typedef SmartPointer< SelfPointer
typedef Point< double, 3 > PointType
typedef TPolyline PolylineType
typedef Point< double, 2 > ProjPlanePointType
typedef PolylineMaskImageFilter Self
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass
typedef TVector VectorType

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
void GenerateData (void)
void GenerateRotationMatrix ()
virtual const char * GetNameOfClass () const
void SetInput1 (const InputImageType *image)
void SetInput2 (const PolylineType *polyline)
ProjPlanePointType TransformProjectPoint (PointType inputPoint)
 typedef (Concept::HasNumericTraits< typename VectorType::ValueType >) VectorHasNumericTraitsCheck
virtual void SetViewVector (VectorType _arg)
virtual VectorType GetViewVector () const
virtual void SetUpVector (VectorType _arg)
virtual VectorType GetUpVector () const
virtual void SetCameraCenterPoint (PointType _arg)
virtual PointType GetCameraCenterPoint () const
virtual void SetFocalDistance (double _arg)
virtual double GetFocalDistance () const
virtual void SetFocalPoint (ProjPlanePointType _arg)
virtual ProjPlanePointType GetFocalPoint () const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int InputDimension = 3
static const unsigned int NDimensions = TInputImage::ImageDimension

Protected Member Functions

 PolylineMaskImageFilter ()
virtual ~PolylineMaskImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Private Member Functions

void operator= (const Self &)
 PolylineMaskImageFilter (const Self &)

Private Attributes

PointType m_CameraCenterPoint
double m_FocalDistance
ProjPlanePointType m_FocalPoint
MatrixType m_RotationMatrix
VectorType m_UpVector
VectorType m_ViewVector

Detailed Description

template<class TInputImage, class TPolyline, class TVector, class TOutputImage>
class itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >

Implements image masking operation constrained by a polyline on a plane perpendicular to certain viewing direction.

This class is parameterized over the types of the input image, polyline, vector and output image.

Definition at line 38 of file itkPolylineMaskImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef SmartPointer< const Self > itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::ConstPointer
template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef InputImageType::PixelType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::InputImagePixelType
template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef InputImageType::ConstPointer itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::InputImagePointer
template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef InputImageType::RegionType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::InputImageRegionType
template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef TInputImage itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::InputImageType

Some convenient typedefs for input image

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 60 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef Matrix< double, itkGetStaticConstMacro(InputDimension), itkGetStaticConstMacro(InputDimension) > itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::MatrixType

Standard matrix type for this class.

Definition at line 68 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef OutputImageType::PixelType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::OutputImagePixelType
template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef OutputImageType::Pointer itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::OutputImagePointer

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 78 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef OutputImageType::RegionType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::OutputImageRegionType

Superclass typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 79 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef TOutputImage itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 77 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef SmartPointer< Self > itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::Pointer
template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef Point< double, 3 > itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::PointType

Definition at line 64 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef TPolyline itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::PolylineType

Definition at line 74 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef Point< double, 2 > itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::ProjPlanePointType

Definition at line 65 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef PolylineMaskImageFilter itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::Self

Standard class typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 42 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::Superclass
template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
typedef TVector itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::VectorType

typedef for the vector type

Definition at line 71 of file itkPolylineMaskImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::PolylineMaskImageFilter ( ) [protected]

End concept checking

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::~PolylineMaskImageFilter ( ) [inline, protected, virtual]

End concept checking

Definition at line 130 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::PolylineMaskImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual::itk::LightObject::Pointer itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::GenerateData ( void  ) [virtual]

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::GenerateRotationMatrix ( )
template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual PointType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::GetCameraCenterPoint ( ) const [virtual]

Set/Get camera center point

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual double itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::GetFocalDistance ( ) const [virtual]

Set/Get focal distance

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual ProjPlanePointType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::GetFocalPoint ( ) const [virtual]

Set/Get focal point center point

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual const char* itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual VectorType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::GetUpVector ( ) const [virtual]

Set/Get in up vector

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual VectorType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::GetViewVector ( ) const [virtual]

Set/Get view vector

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
static Pointer itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

End concept checking

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::SetCameraCenterPoint ( PointType  _arg) [virtual]

Set/Get camera center point

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::SetFocalDistance ( double  _arg) [virtual]

Set/Get focal distance

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::SetFocalPoint ( ProjPlanePointType  _arg) [virtual]

Set/Get focal point center point

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::SetInput1 ( const InputImageType image)

Read in image and polyline inputs

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::SetInput2 ( const PolylineType polyline)
template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::SetUpVector ( VectorType  _arg) [virtual]

Set/Get in up vector

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
virtual void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::SetViewVector ( VectorType  _arg) [virtual]

Set/Get view vector

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
ProjPlanePointType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::TransformProjectPoint ( PointType  inputPoint)
template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::typedef ( Concept::HasNumericTraits< typename VectorType::ValueType >  )

Begin concept checking This class requires VectorHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< typename VectorType::ValueType > )


Member Data Documentation

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
const unsigned int itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::InputDimension = 3 [static]

Definition at line 57 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
PointType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::m_CameraCenterPoint [private]

Camera Center point

Definition at line 146 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
double itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::m_FocalDistance [private]

Definition at line 152 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
ProjPlanePointType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::m_FocalPoint [private]

Camera focal points on the projection plane

Definition at line 149 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
MatrixType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::m_RotationMatrix [private]

Matrix representation of the rotation.

Definition at line 143 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
VectorType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::m_UpVector [private]

Definition at line 140 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
VectorType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::m_ViewVector [private]

Definition at line 139 of file itkPolylineMaskImageFilter.h.

template<class TInputImage , class TPolyline , class TVector , class TOutputImage >
const unsigned int itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::NDimensions = TInputImage::ImageDimension [static]

Number of dimensions.

Definition at line 55 of file itkPolylineMaskImageFilter.h.


The documentation for this class was generated from the following file: