Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

itk::SurfaceSpatialObjectPoint< TPointDimension > Class Template Reference

Point used for a Surface definition. More...

#include <itkSurfaceSpatialObjectPoint.h>

Inheritance diagram for itk::SurfaceSpatialObjectPoint< TPointDimension >:
Inheritance graph
[legend]
Collaboration diagram for itk::SurfaceSpatialObjectPoint< TPointDimension >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef PixelType ColorType
typedef RGBAPixel< float > PixelType
typedef Point< double,
TPointDimension > 
PointType
typedef SurfaceSpatialObjectPoint Self
typedef SpatialObjectPoint
< TPointDimension > 
Superclass
typedef CovariantVector
< double, TPointDimension > 
VectorType

Public Member Functions

int GetID (void) const
const VectorTypeGetNormal (void) const
const PointTypeGetPosition (void) const
Selfoperator= (const SurfaceSpatialObjectPoint &rhs)
void Print (std::ostream &os) const
void SetID (const int newID)
 SurfaceSpatialObjectPoint (void)
virtual ~SurfaceSpatialObjectPoint (void)

void SetNormal (const VectorType &normal)
void SetNormal (const double normalx, const double normaly)
void SetNormal (const double normalx, const double normaly, const double normalz)

void SetPosition (const PointType &newX)
void SetPosition (const double x0, const double x1)
void SetPosition (const double x0, const double x1, const double x2)

const PixelTypeGetColor (void) const
void SetColor (const PixelType &color)
void SetColor (float r, float g, float b, float a=1)

void SetRed (float r)
float GetRed (void) const

void SetGreen (float g)
float GetGreen (void) const

void SetBlue (float b)
float GetBlue (void) const

void SetAlpha (float a)
float GetAlpha (void) const

Protected Member Functions

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

Protected Attributes

PixelType m_Color
int m_ID
VectorType m_Normal
PointType m_X

Detailed Description

template<unsigned int TPointDimension = 3>
class itk::SurfaceSpatialObjectPoint< TPointDimension >

Point used for a Surface definition.

This class contains all the functions necessary to define a point that can be used to build surfaces. A surface point has a position and only one normal

See also:
SpatialObjectPoint

Definition at line 38 of file itkSurfaceSpatialObjectPoint.h.


Member Typedef Documentation

template<unsigned int TPointDimension = 3>
typedef PixelType itk::SpatialObjectPoint< TPointDimension >::ColorType [inherited]

Definition at line 53 of file itkSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef RGBAPixel< float > itk::SpatialObjectPoint< TPointDimension >::PixelType [inherited]

Definition at line 52 of file itkSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef Point< double, TPointDimension > itk::SurfaceSpatialObjectPoint< TPointDimension >::PointType

Reimplemented from itk::SpatialObjectPoint< TPointDimension >.

Definition at line 46 of file itkSurfaceSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef SurfaceSpatialObjectPoint itk::SurfaceSpatialObjectPoint< TPointDimension >::Self

Reimplemented from itk::SpatialObjectPoint< TPointDimension >.

Definition at line 44 of file itkSurfaceSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef SpatialObjectPoint<TPointDimension> itk::SurfaceSpatialObjectPoint< TPointDimension >::Superclass

Definition at line 45 of file itkSurfaceSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef CovariantVector<double,TPointDimension> itk::SurfaceSpatialObjectPoint< TPointDimension >::VectorType

Reimplemented from itk::SpatialObjectPoint< TPointDimension >.

Definition at line 47 of file itkSurfaceSpatialObjectPoint.h.


Constructor & Destructor Documentation

template<unsigned int TPointDimension = 3>
itk::SurfaceSpatialObjectPoint< TPointDimension >::SurfaceSpatialObjectPoint ( void   ) 

Constructor

template<unsigned int TPointDimension = 3>
virtual itk::SurfaceSpatialObjectPoint< TPointDimension >::~SurfaceSpatialObjectPoint ( void   )  [virtual]

Destructor


Member Function Documentation

template<unsigned int TPointDimension = 3>
float itk::SpatialObjectPoint< TPointDimension >::GetAlpha ( void   )  const [inherited]

Set/Get alpha value of the point

template<unsigned int TPointDimension = 3>
float itk::SpatialObjectPoint< TPointDimension >::GetBlue ( void   )  const [inherited]

Set/Get blue color of the point

template<unsigned int TPointDimension = 3>
const PixelType& itk::SpatialObjectPoint< TPointDimension >::GetColor ( void   )  const [inherited]

Set/Get color of the point

template<unsigned int TPointDimension = 3>
float itk::SpatialObjectPoint< TPointDimension >::GetGreen ( void   )  const [inherited]

Set/Get Green color of the point

template<unsigned int TPointDimension = 3>
int itk::SpatialObjectPoint< TPointDimension >::GetID ( void   )  const [inherited]

Get the SpatialObjectPoint Id.

template<unsigned int TPointDimension = 3>
const VectorType& itk::SurfaceSpatialObjectPoint< TPointDimension >::GetNormal ( void   )  const

Get Normal

template<unsigned int TPointDimension = 3>
const PointType& itk::SpatialObjectPoint< TPointDimension >::GetPosition ( void   )  const [inherited]

Return a pointer to the point object.

template<unsigned int TPointDimension = 3>
float itk::SpatialObjectPoint< TPointDimension >::GetRed ( void   )  const [inherited]

Set/Get red color of the point

template<unsigned int TPointDimension = 3>
Self& itk::SurfaceSpatialObjectPoint< TPointDimension >::operator= ( const SurfaceSpatialObjectPoint< TPointDimension > &  rhs  ) 

Copy one SurfaceSpatialObjectPoint to another

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::Print ( std::ostream &  os  )  const [inherited]

PrintSelf method

template<unsigned int TPointDimension = 3>
virtual void itk::SurfaceSpatialObjectPoint< TPointDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Method to print the object.

Reimplemented from itk::SpatialObjectPoint< TPointDimension >.

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::SetAlpha ( float  a  )  [inherited]

Set/Get alpha value of the point

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::SetBlue ( float  b  )  [inherited]

Set/Get blue color of the point

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::SetColor ( float  r,
float  g,
float  b,
float  a = 1 
) [inherited]

Set/Get color of the point

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::SetColor ( const PixelType color  )  [inherited]

Set/Get color of the point

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::SetGreen ( float  g  )  [inherited]

Set/Get Green color of the point

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::SetID ( const int  newID  )  [inherited]

Set the SpatialObjectPoint Id.

template<unsigned int TPointDimension = 3>
void itk::SurfaceSpatialObjectPoint< TPointDimension >::SetNormal ( const double  normalx,
const double  normaly 
)

Set Normal

template<unsigned int TPointDimension = 3>
void itk::SurfaceSpatialObjectPoint< TPointDimension >::SetNormal ( const double  normalx,
const double  normaly,
const double  normalz 
)

Set Normal

template<unsigned int TPointDimension = 3>
void itk::SurfaceSpatialObjectPoint< TPointDimension >::SetNormal ( const VectorType normal  ) 

Set Normal

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::SetPosition ( const double  x0,
const double  x1 
) [inherited]

Set the point object. Couldn't use macros for these methods.

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::SetPosition ( const PointType newX  )  [inherited]

Set the point object. Couldn't use macros for these methods.

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::SetPosition ( const double  x0,
const double  x1,
const double  x2 
) [inherited]

Set the point object. Couldn't use macros for these methods.

template<unsigned int TPointDimension = 3>
void itk::SpatialObjectPoint< TPointDimension >::SetRed ( float  r  )  [inherited]

Set/Get red color of the point


Member Data Documentation

template<unsigned int TPointDimension = 3>
PixelType itk::SpatialObjectPoint< TPointDimension >::m_Color [protected, inherited]

Color of the point

Definition at line 114 of file itkSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
int itk::SpatialObjectPoint< TPointDimension >::m_ID [protected, inherited]

A unique ID assigned to this SpatialObjectPoint

Definition at line 108 of file itkSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
VectorType itk::SurfaceSpatialObjectPoint< TPointDimension >::m_Normal [protected]

Definition at line 70 of file itkSurfaceSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
PointType itk::SpatialObjectPoint< TPointDimension >::m_X [protected, inherited]

Position of the point

Definition at line 111 of file itkSpatialObjectPoint.h.


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

Generated at Tue Jul 13 2010 02:40:29 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000