ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkTubeSpatialObjectPoint.h>
Point used for a tube definition.
This class contains all the functions necessary to define a point that can be used to build tubes.
Definition at line 38 of file itkTubeSpatialObjectPoint.h.
Public Types | |
typedef CovariantVector < double, TPointDimension > | CovariantVectorType |
typedef Point< double, TPointDimension > | PointType |
typedef TubeSpatialObjectPoint | Self |
typedef SpatialObjectPoint < TPointDimension > | Superclass |
typedef Vector< double, TPointDimension > | VectorType |
Public Types inherited from itk::SpatialObjectPoint< TPointDimension > | |
typedef PixelType | ColorType |
typedef RGBAPixel< float > | PixelType |
typedef Point< double, TPointDimension > | PointType |
typedef SpatialObjectPoint | Self |
typedef vnl_vector< double > | VectorType |
Public Member Functions | |
const CovariantVectorType & | GetNormal1 () const |
const CovariantVectorType & | GetNormal2 () const |
unsigned short int | GetNumDimensions () const |
float | GetRadius () const |
const VectorType & | GetTangent () const |
Self & | operator= (const TubeSpatialObjectPoint &rhs) |
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 | SetRadius (const float newR) |
void | SetTangent (const VectorType &newT) |
void | SetTangent (const double t0, const double t1) |
void | SetTangent (const double t0, const double t1, const double t2) |
TubeSpatialObjectPoint () | |
virtual | ~TubeSpatialObjectPoint () override |
Public Member Functions inherited from itk::SpatialObjectPoint< TPointDimension > | |
float | GetAlpha () const |
float | GetBlue () const |
const PixelType & | GetColor () const |
float | GetGreen () const |
int | GetID () const |
const PointType & | GetPosition () const |
float | GetRed () const |
Self & | operator= (const SpatialObjectPoint &rhs) |
void | Print (std::ostream &os) const |
void | SetAlpha (float a) |
void | SetBlue (float b) |
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 | SetPosition (const PointType &newX) |
void | SetPosition (const double x0, const double x1) |
void | SetPosition (const double x0, const double x1, const double x2) |
void | SetRed (float r) |
SpatialObjectPoint () | |
virtual | ~SpatialObjectPoint () |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Protected Attributes | |
CovariantVectorType | m_Normal1 |
CovariantVectorType | m_Normal2 |
unsigned short int | m_NumDimensions |
float | m_R |
VectorType | m_T |
Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension > | |
PixelType | m_Color |
int | m_ID |
PointType | m_X |
typedef CovariantVector< double, TPointDimension > itk::TubeSpatialObjectPoint< TPointDimension >::CovariantVectorType |
Definition at line 47 of file itkTubeSpatialObjectPoint.h.
typedef Point< double, TPointDimension > itk::TubeSpatialObjectPoint< TPointDimension >::PointType |
Definition at line 45 of file itkTubeSpatialObjectPoint.h.
typedef TubeSpatialObjectPoint itk::TubeSpatialObjectPoint< TPointDimension >::Self |
Definition at line 43 of file itkTubeSpatialObjectPoint.h.
typedef SpatialObjectPoint< TPointDimension > itk::TubeSpatialObjectPoint< TPointDimension >::Superclass |
Definition at line 44 of file itkTubeSpatialObjectPoint.h.
typedef Vector< double, TPointDimension > itk::TubeSpatialObjectPoint< TPointDimension >::VectorType |
Definition at line 46 of file itkTubeSpatialObjectPoint.h.
itk::TubeSpatialObjectPoint< TPointDimension >::TubeSpatialObjectPoint | ( | ) |
Constructor. This one defines the number of dimensions in the TubeSpatialObjectPoint
|
overridevirtual |
Default destructor.
const CovariantVectorType& itk::TubeSpatialObjectPoint< TPointDimension >::GetNormal1 | ( | ) | const |
Get V1
const CovariantVectorType& itk::TubeSpatialObjectPoint< TPointDimension >::GetNormal2 | ( | ) | const |
Get V2
unsigned short int itk::TubeSpatialObjectPoint< TPointDimension >::GetNumDimensions | ( | ) | const |
Get number of dimensions
float itk::TubeSpatialObjectPoint< TPointDimension >::GetRadius | ( | ) | const |
Get R
const VectorType& itk::TubeSpatialObjectPoint< TPointDimension >::GetTangent | ( | ) | const |
Get the tangent
Self& itk::TubeSpatialObjectPoint< TPointDimension >::operator= | ( | const TubeSpatialObjectPoint< TPointDimension > & | rhs | ) |
Copy one TubeSpatialObjectPoint to another
|
overrideprotectedvirtual |
Print the object
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
Reimplemented in itk::VesselTubeSpatialObjectPoint< TPointDimension >.
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal1 | ( | const CovariantVectorType & | newV1 | ) |
Set V1
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal1 | ( | const double | v10, |
const double | v11 | ||
) |
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal1 | ( | const double | v10, |
const double | v11, | ||
const double | v12 | ||
) |
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal2 | ( | const CovariantVectorType & | newV2 | ) |
Set V2
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal2 | ( | const double | v20, |
const double | v21 | ||
) |
void itk::TubeSpatialObjectPoint< TPointDimension >::SetNormal2 | ( | const double | v20, |
const double | v21, | ||
const double | v22 | ||
) |
void itk::TubeSpatialObjectPoint< TPointDimension >::SetRadius | ( | const float | newR | ) |
Set R
void itk::TubeSpatialObjectPoint< TPointDimension >::SetTangent | ( | const VectorType & | newT | ) |
Set T. Couldn't use macros for these methods
void itk::TubeSpatialObjectPoint< TPointDimension >::SetTangent | ( | const double | t0, |
const double | t1 | ||
) |
void itk::TubeSpatialObjectPoint< TPointDimension >::SetTangent | ( | const double | t0, |
const double | t1, | ||
const double | t2 | ||
) |
|
protected |
Definition at line 101 of file itkTubeSpatialObjectPoint.h.
|
protected |
Definition at line 102 of file itkTubeSpatialObjectPoint.h.
|
protected |
number of dimensions
Definition at line 108 of file itkTubeSpatialObjectPoint.h.
|
protected |
The radius of the tube point
Definition at line 105 of file itkTubeSpatialObjectPoint.h.
|
protected |
Definition at line 100 of file itkTubeSpatialObjectPoint.h.