Orfeo Toolbox  4.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::VesselTubeSpatialObjectPoint< TPointDimension > Class Template Reference

Point used for a tube definition. More...

#include <itkVesselTubeSpatialObjectPoint.h>

+ Inheritance diagram for itk::VesselTubeSpatialObjectPoint< TPointDimension >:
+ Collaboration diagram for itk::VesselTubeSpatialObjectPoint< TPointDimension >:

Public Types

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

Public Member Functions

 VesselTubeSpatialObjectPoint (void)
 
virtual ~VesselTubeSpatialObjectPoint (void)
 
float GetAlpha (void) const
 
float GetAlpha1 (void) const
 
float GetAlpha2 (void) const
 
float GetAlpha3 (void) const
 
float GetBlue (void) const
 
float GetBranchness (void) const
 
const PixelTypeGetColor (void) const
 
float GetGreen (void) const
 
int GetID (void) const
 
bool GetMark (void) const
 
float GetMedialness (void) const
 
const CovariantVectorTypeGetNormal1 (void) const
 
const CovariantVectorTypeGetNormal2 (void) const
 
unsigned short int GetNumDimensions (void) const
 
const PointTypeGetPosition (void) const
 
float GetRadius (void) const
 
float GetRed (void) const
 
float GetRidgeness (void) const
 
const VectorTypeGetTangent (void) const
 
Selfoperator= (const VesselTubeSpatialObjectPoint &rhs)
 
void Print (std::ostream &os) const
 
void SetAlpha (float a)
 
void SetAlpha1 (const float newAlpha)
 
void SetAlpha2 (const float newAlpha)
 
void SetAlpha3 (const float newAlpha)
 
void SetBlue (float b)
 
void SetBranchness (const float newBranchness)
 
void SetColor (const PixelType &color)
 
void SetColor (float r, float g, float b, float a=1)
 
void SetGreen (float g)
 
void SetID (const int newID)
 
void SetMark (const bool newMark)
 
void SetMedialness (const float newMedialness)
 
void SetNormal1 (const CovariantVectorType &newV1)
 
void SetNormal1 (const double v10, const double v11)
 
void SetNormal1 (const double v10, const double v11, const double v12)
 
void SetNormal2 (const CovariantVectorType &newV2)
 
void SetNormal2 (const double v20, const double v21)
 
void SetNormal2 (const double v20, const double v21, const double v22)
 
void SetPosition (const PointType &newX)
 
void SetPosition (const double x0, const double x1)
 
void SetPosition (const double x0, const double x1, const double x2)
 
void SetRadius (const float newR)
 
void SetRed (float r)
 
void SetRidgeness (const float newRidgeness)
 
void SetTangent (const VectorType &newT)
 
void SetTangent (const double t0, const double t1)
 
void SetTangent (const double t0, const double t1, const double t2)
 

Protected Member Functions

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

Protected Attributes

float m_Alpha1
 
float m_Alpha2
 
float m_Alpha3
 
float m_Branchness
 
PixelType m_Color
 
int m_ID
 
bool m_Mark
 
float m_Medialness
 
CovariantVectorType m_Normal1
 
CovariantVectorType m_Normal2
 
unsigned short int m_NumDimensions
 
float m_R
 
float m_Ridgeness
 
VectorType m_T
 
PointType m_X
 

Detailed Description

template<unsigned int TPointDimension = 3>
class itk::VesselTubeSpatialObjectPoint< 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
VesselTubeSpatialObject

Definition at line 37 of file itkVesselTubeSpatialObjectPoint.h.

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 CovariantVector< double, TPointDimension > itk::VesselTubeSpatialObjectPoint< TPointDimension >::CovariantVectorType

Definition at line 46 of file itkVesselTubeSpatialObjectPoint.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::VesselTubeSpatialObjectPoint< TPointDimension >::PointType

Definition at line 44 of file itkVesselTubeSpatialObjectPoint.h.

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

Definition at line 42 of file itkVesselTubeSpatialObjectPoint.h.

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

Definition at line 43 of file itkVesselTubeSpatialObjectPoint.h.

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

Definition at line 45 of file itkVesselTubeSpatialObjectPoint.h.

Constructor & Destructor Documentation

template<unsigned int TPointDimension>
itk::VesselTubeSpatialObjectPoint< TPointDimension >::VesselTubeSpatialObjectPoint ( void  )

Constructor. This one defines the number of dimensions in the VesselTubeSpatialObjectPoint

Constructor

Definition at line 28 of file itkVesselTubeSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
itk::VesselTubeSpatialObjectPoint< TPointDimension >::~VesselTubeSpatialObjectPoint ( void  )
virtual

Default destructor.

Destructor

Definition at line 42 of file itkVesselTubeSpatialObjectPoint.hxx.

Member Function Documentation

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

Return the alpha value of the point

Definition at line 144 of file itkSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::GetAlpha1 ( void  ) const

Get Alpha1

Definition at line 112 of file itkVesselTubeSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::GetAlpha2 ( void  ) const

Get Alpha2

Definition at line 128 of file itkVesselTubeSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::GetAlpha3 ( void  ) const

Get Alpha3

Definition at line 144 of file itkVesselTubeSpatialObjectPoint.hxx.

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

Return the blue channel of the point

Definition at line 126 of file itkSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::GetBranchness ( void  ) const

Get Branchness

Definition at line 80 of file itkVesselTubeSpatialObjectPoint.hxx.

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

Set/Get color of the point

Return the color of the point

Definition at line 51 of file itkSpatialObjectPoint.hxx.

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

Return the green channel of the point

Definition at line 108 of file itkSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
int itk::SpatialObjectPoint< TPointDimension >::GetID ( void  ) const
inherited

Get the SpatialObjectPoint Id.

Get the Identification number of a point

Definition at line 162 of file itkSpatialObjectPoint.hxx.

Referenced by itk::ContourSpatialObjectPoint< TPointDimension >::operator=().

template<unsigned int TPointDimension>
bool itk::VesselTubeSpatialObjectPoint< TPointDimension >::GetMark ( void  ) const

Get Mark

Definition at line 96 of file itkVesselTubeSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::GetMedialness ( void  ) const

Get Medialness

Definition at line 48 of file itkVesselTubeSpatialObjectPoint.hxx.

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

Get V1

Definition at line 103 of file itkTubeSpatialObjectPoint.hxx.

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

Get V2

Definition at line 141 of file itkTubeSpatialObjectPoint.hxx.

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

Get number of dimensions

Definition at line 179 of file itkTubeSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
const SpatialObjectPoint< TPointDimension >::PointType & itk::SpatialObjectPoint< TPointDimension >::GetPosition ( void  ) const
inherited
template<unsigned int TPointDimension>
float itk::TubeSpatialObjectPoint< TPointDimension >::GetRadius ( void  ) const
inherited

Get R

Get the radius

Definition at line 48 of file itkTubeSpatialObjectPoint.hxx.

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

Return the red channel of the point

Definition at line 90 of file itkSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::GetRidgeness ( void  ) const

Get Ridgeness

Definition at line 64 of file itkVesselTubeSpatialObjectPoint.hxx.

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

Get the tangent

Definition at line 65 of file itkTubeSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
VesselTubeSpatialObjectPoint< TPointDimension >::Self & itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator= ( const VesselTubeSpatialObjectPoint< TPointDimension > &  rhs)
template<unsigned int TPointDimension>
void itk::SpatialObjectPoint< TPointDimension >::Print ( std::ostream &  os) const
inherited

PrintSelf method

PrintSelfMethod

Definition at line 222 of file itkSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
void itk::VesselTubeSpatialObjectPoint< TPointDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Print the object

Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.

Definition at line 160 of file itkVesselTubeSpatialObjectPoint.hxx.

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

Set/Get alpha value of the point

Set the alpha value of the point

Definition at line 135 of file itkSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
void itk::VesselTubeSpatialObjectPoint< TPointDimension >::SetAlpha1 ( const float  newAlpha)

Set Alpha1

Definition at line 120 of file itkVesselTubeSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
void itk::VesselTubeSpatialObjectPoint< TPointDimension >::SetAlpha2 ( const float  newAlpha)

Set Alpha2

Definition at line 136 of file itkVesselTubeSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
void itk::VesselTubeSpatialObjectPoint< TPointDimension >::SetAlpha3 ( const float  newAlpha)

Set Alpha3

Definition at line 152 of file itkVesselTubeSpatialObjectPoint.hxx.

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

Set/Get blue color of the point

Set the blue channel of the point

Definition at line 117 of file itkSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
void itk::VesselTubeSpatialObjectPoint< TPointDimension >::SetBranchness ( const float  newBranchness)

Set Branchness

Definition at line 88 of file itkVesselTubeSpatialObjectPoint.hxx.

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

Set the color of the point

Definition at line 60 of file itkSpatialObjectPoint.hxx.

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

Set the color of the point

Definition at line 69 of file itkSpatialObjectPoint.hxx.

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

Set/Get Green color of the point

Set the green channel of the point

Definition at line 99 of file itkSpatialObjectPoint.hxx.

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

Set the SpatialObjectPoint Id.

Set the Identification number of a point

Definition at line 153 of file itkSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
void itk::VesselTubeSpatialObjectPoint< TPointDimension >::SetMark ( const bool  newMark)

Set Mark

Definition at line 104 of file itkVesselTubeSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
void itk::VesselTubeSpatialObjectPoint< TPointDimension >::SetMedialness ( const float  newMedialness)

Set Medialness

Definition at line 56 of file itkVesselTubeSpatialObjectPoint.hxx.

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

Set V1

Definition at line 112 of file itkTubeSpatialObjectPoint.hxx.

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

Definition at line 132 of file itkTubeSpatialObjectPoint.hxx.

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

Definition at line 121 of file itkTubeSpatialObjectPoint.hxx.

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

Set V2

Definition at line 150 of file itkTubeSpatialObjectPoint.hxx.

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

Definition at line 170 of file itkTubeSpatialObjectPoint.hxx.

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

Definition at line 159 of file itkTubeSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
void itk::SpatialObjectPoint< TPointDimension >::SetPosition ( const PointType newX)
inherited
template<unsigned int TPointDimension>
void itk::SpatialObjectPoint< TPointDimension >::SetPosition ( const double  x0,
const double  x1 
)
inherited

Set the position : 2D case

Definition at line 200 of file itkSpatialObjectPoint.hxx.

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

Set the position : 3D case

Definition at line 189 of file itkSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
void itk::TubeSpatialObjectPoint< TPointDimension >::SetRadius ( const float  newR)
inherited

Set R

Set the radius

Definition at line 57 of file itkTubeSpatialObjectPoint.hxx.

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

Set/Get red color of the point

Set the red channel of the point

Definition at line 81 of file itkSpatialObjectPoint.hxx.

template<unsigned int TPointDimension>
void itk::VesselTubeSpatialObjectPoint< TPointDimension >::SetRidgeness ( const float  newRidgeness)

Set Ridgeness

Definition at line 72 of file itkVesselTubeSpatialObjectPoint.hxx.

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

Set T. Couldn't use macros for these methods

Definition at line 74 of file itkTubeSpatialObjectPoint.hxx.

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

Definition at line 94 of file itkTubeSpatialObjectPoint.hxx.

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

Definition at line 83 of file itkTubeSpatialObjectPoint.hxx.

Member Data Documentation

template<unsigned int TPointDimension = 3>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::m_Alpha1
protected

First of 3 alpha values

Definition at line 103 of file itkVesselTubeSpatialObjectPoint.h.

Referenced by itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().

template<unsigned int TPointDimension = 3>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::m_Alpha2
protected

Second of 3 alpha values

Definition at line 106 of file itkVesselTubeSpatialObjectPoint.h.

Referenced by itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().

template<unsigned int TPointDimension = 3>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::m_Alpha3
protected

Third of 3 alpha values

Definition at line 109 of file itkVesselTubeSpatialObjectPoint.h.

Referenced by itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().

template<unsigned int TPointDimension = 3>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::m_Branchness
protected

The branchness of the tube point

Definition at line 118 of file itkVesselTubeSpatialObjectPoint.h.

Referenced by itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().

template<unsigned int TPointDimension = 3>
PixelType itk::SpatialObjectPoint< TPointDimension >::m_Color
protectedinherited
template<unsigned int TPointDimension = 3>
int itk::SpatialObjectPoint< TPointDimension >::m_ID
protectedinherited
template<unsigned int TPointDimension = 3>
bool itk::VesselTubeSpatialObjectPoint< TPointDimension >::m_Mark
protected

Is the tube point marked (selected) ?

Definition at line 121 of file itkVesselTubeSpatialObjectPoint.h.

Referenced by itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().

template<unsigned int TPointDimension = 3>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::m_Medialness
protected

The medialness of the tube point

Definition at line 112 of file itkVesselTubeSpatialObjectPoint.h.

Referenced by itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().

template<unsigned int TPointDimension = 3>
CovariantVectorType itk::TubeSpatialObjectPoint< TPointDimension >::m_Normal1
protectedinherited
template<unsigned int TPointDimension = 3>
CovariantVectorType itk::TubeSpatialObjectPoint< TPointDimension >::m_Normal2
protectedinherited
template<unsigned int TPointDimension = 3>
unsigned short int itk::TubeSpatialObjectPoint< TPointDimension >::m_NumDimensions
protectedinherited
template<unsigned int TPointDimension = 3>
float itk::TubeSpatialObjectPoint< TPointDimension >::m_R
protectedinherited
template<unsigned int TPointDimension = 3>
float itk::VesselTubeSpatialObjectPoint< TPointDimension >::m_Ridgeness
protected

The ridgeness of the tube point

Definition at line 115 of file itkVesselTubeSpatialObjectPoint.h.

Referenced by itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().

template<unsigned int TPointDimension = 3>
VectorType itk::TubeSpatialObjectPoint< TPointDimension >::m_T
protectedinherited
template<unsigned int TPointDimension = 3>
PointType itk::SpatialObjectPoint< TPointDimension >::m_X
protectedinherited

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

Generated at Sat Mar 8 2014 17:59:21 for Orfeo Toolbox with doxygen 1.8.3.1