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

itk::TubeSpatialObjectPoint< TPointDimension > Class Template Reference

Point used for a tube definition. More...

#include <itkTubeSpatialObjectPoint.h>

Inheritance diagram for itk::TubeSpatialObjectPoint< TPointDimension >:

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

Collaboration graph
[legend]

List of all members.

Public Types

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

Public Member Functions

int GetID (void) const
const CovariantVectorTypeGetNormal1 (void) const
const CovariantVectorTypeGetNormal2 (void) const
unsigned short int GetNumDimensions (void) const
const PointTypeGetPosition (void) const
float GetRadius (void) const
const VectorTypeGetTangent (void) const
Selfoperator= (const TubeSpatialObjectPoint &rhs)
void Print (std::ostream &os) const
void SetID (const int newID)
void SetRadius (const float newR)
 TubeSpatialObjectPoint (void)
virtual ~TubeSpatialObjectPoint (void)
float GetAlpha (void) const
void SetAlpha (float a)
float GetBlue (void) const
void SetBlue (float b)
const PixelTypeGetColor (void) const
void SetColor (float r, float g, float b, float a=1)
void SetColor (const PixelType &color)
float GetGreen (void) const
void SetGreen (float g)
float GetRed (void) const
void SetRed (float r)
void SetNormal1 (const double v10, const double v11, const double v12)
void SetNormal1 (const double v10, const double v11)
void SetNormal1 (const CovariantVectorType &newV1)
void SetNormal2 (const double v20, const double v21, const double v22)
void SetNormal2 (const double v20, const double v21)
void SetNormal2 (const CovariantVectorType &newV2)
void SetPosition (const double x0, const double x1, const double x2)
void SetPosition (const double x0, const double x1)
void SetPosition (const PointType &newX)
void SetTangent (const double t0, const double t1, const double t2)
void SetTangent (const double t0, const double t1)
void SetTangent (const VectorType &newT)

Protected Member Functions

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

Protected Attributes

PixelType m_Color
int m_ID
CovariantVectorType m_Normal1
CovariantVectorType m_Normal2
unsigned short int m_NumDimensions
float m_R
VectorType m_T
PointType m_X


Detailed Description

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

Point used for a tube definition.

This class contains all the functions necessary to define a point that can be used to build tubes.

See also:
TubeSpatialObject

Definition at line 38 of file itkTubeSpatialObjectPoint.h.


Member Typedef Documentation

typedef PixelType itk::SpatialObjectPoint< TPointDimension >::ColorType [inherited]

Definition at line 53 of file itkSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef CovariantVector<double, TPointDimension > itk::TubeSpatialObjectPoint< TPointDimension >::CovariantVectorType

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::TubeSpatialObjectPoint< TPointDimension >::PointType

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

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

template<unsigned int TPointDimension = 3>
typedef Vector<double, TPointDimension > itk::TubeSpatialObjectPoint< TPointDimension >::VectorType


Constructor & Destructor Documentation

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

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

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

Default destructor.


Member Function Documentation

float itk::SpatialObjectPoint< TPointDimension >::GetAlpha ( void   )  const [inherited]

Set/Get alpha value of the point

float itk::SpatialObjectPoint< TPointDimension >::GetBlue ( void   )  const [inherited]

Set/Get blue color of the point

const PixelType& itk::SpatialObjectPoint< TPointDimension >::GetColor ( void   )  const [inherited]

Set/Get color of the point

float itk::SpatialObjectPoint< TPointDimension >::GetGreen ( void   )  const [inherited]

Set/Get Green color of the point

int itk::SpatialObjectPoint< TPointDimension >::GetID ( void   )  const [inherited]

Get the SpatialObjectPoint Id.

template<unsigned int TPointDimension = 3>
const CovariantVectorType& itk::TubeSpatialObjectPoint< TPointDimension >::GetNormal1 ( void   )  const

Get V1

template<unsigned int TPointDimension = 3>
const CovariantVectorType& itk::TubeSpatialObjectPoint< TPointDimension >::GetNormal2 ( void   )  const

Get V2

template<unsigned int TPointDimension = 3>
unsigned short int itk::TubeSpatialObjectPoint< TPointDimension >::GetNumDimensions ( void   )  const

Get # of dimensions

const PointType& itk::SpatialObjectPoint< TPointDimension >::GetPosition ( void   )  const [inherited]

Return a pointer to the point object.

template<unsigned int TPointDimension = 3>
float itk::TubeSpatialObjectPoint< TPointDimension >::GetRadius ( void   )  const

Get R

float itk::SpatialObjectPoint< TPointDimension >::GetRed ( void   )  const [inherited]

Set/Get red color of the point

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

Get the tangent

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

Copy one TubeSpatialObjectPoint to another

void itk::SpatialObjectPoint< TPointDimension >::Print ( std::ostream &  os  )  const [inherited]

PrintSelf method

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

void itk::SpatialObjectPoint< TPointDimension >::SetAlpha ( float  a  )  [inherited]

Set/Get alpha value of the point

void itk::SpatialObjectPoint< TPointDimension >::SetBlue ( float  b  )  [inherited]

Set/Get blue color of the point

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

Set/Get color of the point

void itk::SpatialObjectPoint< TPointDimension >::SetColor ( const PixelType color  )  [inherited]

Set/Get color of the point

void itk::SpatialObjectPoint< TPointDimension >::SetGreen ( float  g  )  [inherited]

Set/Get Green color of the point

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

Set the SpatialObjectPoint Id.

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal1 ( const double  v10,
const double  v11,
const double  v12 
)

Set V1

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal1 ( const double  v10,
const double  v11 
)

Set V1

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal1 ( const CovariantVectorType newV1  ) 

Set V1

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal2 ( const double  v20,
const double  v21,
const double  v22 
)

Set V2

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal2 ( const double  v20,
const double  v21 
)

Set V2

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal2 ( const CovariantVectorType newV2  ) 

Set V2

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.

void itk::SpatialObjectPoint< TPointDimension >::SetPosition ( const double  x0,
const double  x1 
) [inherited]

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

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::TubeSpatialObjectPoint< TPointDimension >::SetRadius ( const float  newR  ) 

Set R

void itk::SpatialObjectPoint< TPointDimension >::SetRed ( float  r  )  [inherited]

Set/Get red color of the point

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetTangent ( const double  t0,
const double  t1,
const double  t2 
)

Set T. Couldn't use macros for these methods

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetTangent ( const double  t0,
const double  t1 
)

Set T. Couldn't use macros for these methods

template<unsigned int TPointDimension = 3>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetTangent ( const VectorType newT  ) 

Set T. Couldn't use macros for these methods


Member Data Documentation

PixelType itk::SpatialObjectPoint< TPointDimension >::m_Color [protected, inherited]

Color of the point

Definition at line 114 of file itkSpatialObjectPoint.h.

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>
CovariantVectorType itk::TubeSpatialObjectPoint< TPointDimension >::m_Normal1 [protected]

Definition at line 99 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
CovariantVectorType itk::TubeSpatialObjectPoint< TPointDimension >::m_Normal2 [protected]

Definition at line 100 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
unsigned short int itk::TubeSpatialObjectPoint< TPointDimension >::m_NumDimensions [protected]

# of dimensions

Definition at line 106 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
float itk::TubeSpatialObjectPoint< TPointDimension >::m_R [protected]

The radius of the tube point

Definition at line 103 of file itkTubeSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
VectorType itk::TubeSpatialObjectPoint< TPointDimension >::m_T [protected]

Definition at line 98 of file itkTubeSpatialObjectPoint.h.

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 Sep 15 14:07:55 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000