ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
itk::FrustumSpatialFunction< VImageDimension, TInput > Class Template Reference

#include <itkFrustumSpatialFunction.h>

+ Inheritance diagram for itk::FrustumSpatialFunction< VImageDimension, TInput >:
+ Collaboration diagram for itk::FrustumSpatialFunction< VImageDimension, TInput >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
enum  FrustumRotationPlaneType {
  RotateInXZPlane = 1,
  RotateInYZPlane
}
typedef Superclass::InputType InputType
typedef Superclass::OutputType OutputType
typedef SmartPointer< SelfPointer
typedef FrustumSpatialFunction
< VImageDimension, TInput > 
Self
typedef
InteriorExteriorSpatialFunction
< VImageDimension, TInput > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
OutputType Evaluate (const InputType &position) const
virtual const char * GetNameOfClass () const
virtual InputType GetApex () const
virtual void SetApex (InputType _arg)
virtual double GetAngleZ () const
virtual void SetAngleZ (double _arg)
virtual double GetApertureAngleX () const
virtual void SetApertureAngleX (double _arg)
virtual double GetApertureAngleY () const
virtual void SetApertureAngleY (double _arg)
virtual double GetTopPlane () const
virtual void SetTopPlane (double _arg)
virtual double GetBottomPlane () const
virtual void SetBottomPlane (double _arg)

Static Public Member Functions

static Pointer New ()

Private Member Functions

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

Private Attributes

double m_AngleZ
double m_ApertureAngleX
double m_ApertureAngleY
InputType m_Apex
double m_BottomPlane
FrustumRotationPlaneType m_RotationPlane
double m_TopPlane
virtual void SetRotationPlane (FrustumRotationPlaneType _arg)
 FrustumSpatialFunction ()
virtual ~FrustumSpatialFunction ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
class itk::FrustumSpatialFunction< VImageDimension, TInput >

Spatial function implementation of a truncated pyramid.

Implements a function that returns 0 for points inside or on the surface of a truncated pyrami, 1 for points outside the truncated pyramid

Definition at line 39 of file itkFrustumSpatialFunction.h.


Member Typedef Documentation

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
typedef SmartPointer< const Self > itk::FrustumSpatialFunction< VImageDimension, TInput >::ConstPointer
template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
typedef Superclass::InputType itk::FrustumSpatialFunction< VImageDimension, TInput >::InputType

Input type for the function

Reimplemented from itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >.

Definition at line 54 of file itkFrustumSpatialFunction.h.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
typedef Superclass::OutputType itk::FrustumSpatialFunction< VImageDimension, TInput >::OutputType

Output type for the function

Reimplemented from itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >.

Definition at line 60 of file itkFrustumSpatialFunction.h.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
typedef SmartPointer< Self > itk::FrustumSpatialFunction< VImageDimension, TInput >::Pointer
template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
typedef FrustumSpatialFunction< VImageDimension, TInput > itk::FrustumSpatialFunction< VImageDimension, TInput >::Self

Standard class typedefs.

Reimplemented from itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >.

Definition at line 45 of file itkFrustumSpatialFunction.h.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
typedef InteriorExteriorSpatialFunction< VImageDimension, TInput > itk::FrustumSpatialFunction< VImageDimension, TInput >::Superclass

Member Enumeration Documentation

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
enum itk::FrustumSpatialFunction::FrustumRotationPlaneType

Rotate the frustum in the XZ or the YZ plane

Enumerator:
RotateInXZPlane 
RotateInYZPlane 

Definition at line 63 of file itkFrustumSpatialFunction.h.


Constructor & Destructor Documentation

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
itk::FrustumSpatialFunction< VImageDimension, TInput >::FrustumSpatialFunction ( ) [protected]

Set macro to set the plane in which the frustum should rotate

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual itk::FrustumSpatialFunction< VImageDimension, TInput >::~FrustumSpatialFunction ( ) [protected, virtual]

Set macro to set the plane in which the frustum should rotate

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
itk::FrustumSpatialFunction< VImageDimension, TInput >::FrustumSpatialFunction ( const Self ) [private]

Member Function Documentation

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual::itk::LightObject::Pointer itk::FrustumSpatialFunction< VImageDimension, TInput >::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<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
OutputType itk::FrustumSpatialFunction< VImageDimension, TInput >::Evaluate ( const InputType position) const

Evaluates the function at a given position

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual double itk::FrustumSpatialFunction< VImageDimension, TInput >::GetAngleZ ( ) const [virtual]

Get and set the angle of the pyramid axis with respect to the Z axis

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual double itk::FrustumSpatialFunction< VImageDimension, TInput >::GetApertureAngleX ( ) const [virtual]

Get and set the aperture angle in X

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual double itk::FrustumSpatialFunction< VImageDimension, TInput >::GetApertureAngleY ( ) const [virtual]

Get and set the aperture angle in Y

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual InputType itk::FrustumSpatialFunction< VImageDimension, TInput >::GetApex ( ) const [virtual]

Get and set the center of the sphere

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual double itk::FrustumSpatialFunction< VImageDimension, TInput >::GetBottomPlane ( ) const [virtual]

Get and set the bottom plane distance to the Apex

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual const char* itk::FrustumSpatialFunction< VImageDimension, TInput >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual double itk::FrustumSpatialFunction< VImageDimension, TInput >::GetTopPlane ( ) const [virtual]

Get and set the top plane distance to the Apex

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
static Pointer itk::FrustumSpatialFunction< VImageDimension, TInput >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
void itk::FrustumSpatialFunction< VImageDimension, TInput >::operator= ( const Self ) [private]
template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
void itk::FrustumSpatialFunction< VImageDimension, TInput >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Set macro to set the plane in which the frustum should rotate

Reimplemented from itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual void itk::FrustumSpatialFunction< VImageDimension, TInput >::SetAngleZ ( double  _arg) [virtual]

Get and set the angle of the pyramid axis with respect to the Z axis

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual void itk::FrustumSpatialFunction< VImageDimension, TInput >::SetApertureAngleX ( double  _arg) [virtual]

Get and set the aperture angle in X

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual void itk::FrustumSpatialFunction< VImageDimension, TInput >::SetApertureAngleY ( double  _arg) [virtual]

Get and set the aperture angle in Y

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual void itk::FrustumSpatialFunction< VImageDimension, TInput >::SetApex ( InputType  _arg) [virtual]

Get and set the center of the sphere

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual void itk::FrustumSpatialFunction< VImageDimension, TInput >::SetBottomPlane ( double  _arg) [virtual]

Get and set the bottom plane distance to the Apex

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual void itk::FrustumSpatialFunction< VImageDimension, TInput >::SetRotationPlane ( FrustumRotationPlaneType  _arg) [virtual]

Set macro to set the plane in which the frustum should rotate

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
virtual void itk::FrustumSpatialFunction< VImageDimension, TInput >::SetTopPlane ( double  _arg) [virtual]

Get and set the top plane distance to the Apex


Member Data Documentation

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
double itk::FrustumSpatialFunction< VImageDimension, TInput >::m_AngleZ [private]

Angle between the pyramid axis and the Z axis

Definition at line 118 of file itkFrustumSpatialFunction.h.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
double itk::FrustumSpatialFunction< VImageDimension, TInput >::m_ApertureAngleX [private]

Aperture Angle in X direction

Definition at line 121 of file itkFrustumSpatialFunction.h.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
double itk::FrustumSpatialFunction< VImageDimension, TInput >::m_ApertureAngleY [private]

Aperture Angle in Y direction

Definition at line 124 of file itkFrustumSpatialFunction.h.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
InputType itk::FrustumSpatialFunction< VImageDimension, TInput >::m_Apex [private]

The apex of the pyramid (of the same type as Input)

Definition at line 115 of file itkFrustumSpatialFunction.h.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
double itk::FrustumSpatialFunction< VImageDimension, TInput >::m_BottomPlane [private]

Distance from Apex to bottom plane

Definition at line 130 of file itkFrustumSpatialFunction.h.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
FrustumRotationPlaneType itk::FrustumSpatialFunction< VImageDimension, TInput >::m_RotationPlane [private]

Plane in which to the frustum is being rotated

Definition at line 133 of file itkFrustumSpatialFunction.h.

template<unsigned int VImageDimension = 3, typename TInput = Point< double, 3 >>
double itk::FrustumSpatialFunction< VImageDimension, TInput >::m_TopPlane [private]

Distance from Apex to top plane

Definition at line 127 of file itkFrustumSpatialFunction.h.


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