Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::LineSpatialObjectPoint< TPointDimension > Class Template Reference

#include <itkLineSpatialObjectPoint.h>

Inheritance diagram for itk::LineSpatialObjectPoint< TPointDimension >:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Point used for a line definition.

This class contains all the functions necessary to define a point that can be used to build lines. This Class derives from SpatialObjectPoint. A LineSpatialObjectPoint has NDimension-1 normals.

Definition at line 37 of file itkLineSpatialObjectPoint.h.

Public Types

typedef PixelType ColorType
typedef FixedArray< VectorType,
TPointDimension-1 > 
NormalArrayType
typedef RGBAPixel< float > PixelType
typedef Point< double, TPointDimension > PointType
typedef LineSpatialObjectPoint Self
typedef SpatialObjectPoint<
TPointDimension > 
Superclass
typedef CovariantVector< double,
TPointDimension > 
VectorType

Public Member Functions

float GetAlpha (void) const
float GetBlue (void) const
Set Get color of the point
*const PixelType
GetColor (void) const
float GetGreen (void) const
int GetID (void) const
const VectorTypeGetNormal (unsigned int index) const
const PointTypeGetPosition (void) const
float GetRed (void) const
 LineSpatialObjectPoint (void)
Selfoperator= (const LineSpatialObjectPoint &rhs)
void Print (std::ostream &os) const
Set Get alpha value of the
point *void 
SetAlpha (float a)
Set Get blue color of the
point *void 
SetBlue (float b)
void SetColor (float r, float g, float b, float a=1)
void SetColor (const PixelType &color)
Set Get Green color of the
point *void 
SetGreen (float g)
void SetID (const int newID)
void SetNormal (VectorType &normal, unsigned int index)
void SetPosition (const double x0, const double x1, const double x2)
void SetPosition (const double x0, const double x1)
Set the point object Couldn
t use macros for these methods
*void 
SetPosition (const PointType &newX)
Set Get red color of the point
*void 
SetRed (float r)
virtual ~LineSpatialObjectPoint (void)

Protected Member Functions

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

Protected Attributes

PixelType m_Color
int m_ID
NormalArrayType m_NormalArray
PointType m_X


Member Typedef Documentation

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

Definition at line 52 of file itkSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef FixedArray<VectorType,TPointDimension-1> itk::LineSpatialObjectPoint< TPointDimension >::NormalArrayType
 

Definition at line 47 of file itkLineSpatialObjectPoint.h.

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

Definition at line 51 of file itkSpatialObjectPoint.h.

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

Reimplemented from itk::SpatialObjectPoint< TPointDimension >.

Definition at line 45 of file itkLineSpatialObjectPoint.h.

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

Reimplemented from itk::SpatialObjectPoint< TPointDimension >.

Definition at line 43 of file itkLineSpatialObjectPoint.h.

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

Definition at line 44 of file itkLineSpatialObjectPoint.h.

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

Reimplemented from itk::SpatialObjectPoint< TPointDimension >.

Definition at line 46 of file itkLineSpatialObjectPoint.h.


Constructor & Destructor Documentation

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

Constructor. This one defines the # of dimensions in the LineSpatialObjectPoint

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

Default destructor.


Member Function Documentation

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

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

template<unsigned int TPointDimension = 3>
Set Get color of the point* const PixelType& itk::SpatialObjectPoint< TPointDimension >::GetColor void   )  const [inherited]
 

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

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::LineSpatialObjectPoint< TPointDimension >::GetNormal unsigned int  index  )  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]
 

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

Copy one LineSpatialObjectPoint 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::LineSpatialObjectPoint< 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>
Set Get alpha value of the point* void itk::SpatialObjectPoint< TPointDimension >::SetAlpha float  a  )  [inherited]
 

template<unsigned int TPointDimension = 3>
Set Get blue color of the point* void itk::SpatialObjectPoint< TPointDimension >::SetBlue float  b  )  [inherited]
 

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

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

template<unsigned int TPointDimension = 3>
Set Get Green color of the point* void itk::SpatialObjectPoint< TPointDimension >::SetGreen float  g  )  [inherited]
 

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::LineSpatialObjectPoint< TPointDimension >::SetNormal VectorType normal,
unsigned int  index
 

Set Normal

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

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

template<unsigned int TPointDimension = 3>
Set the point object Couldn t use macros for these methods* void itk::SpatialObjectPoint< TPointDimension >::SetPosition const PointType newX  )  [inherited]
 

template<unsigned int TPointDimension = 3>
Set Get red color of the point* void itk::SpatialObjectPoint< TPointDimension >::SetRed float  r  )  [inherited]
 


Member Data Documentation

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

Color of the point

Definition at line 113 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 107 of file itkSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
NormalArrayType itk::LineSpatialObjectPoint< TPointDimension >::m_NormalArray [protected]
 

Definition at line 66 of file itkLineSpatialObjectPoint.h.

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

Position of the point

Definition at line 110 of file itkSpatialObjectPoint.h.


The documentation for this class was generated from the following file:
Generated at Sun Jul 9 20:36:24 2006 for ITK by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2000