![]() |
Orfeo Toolbox
3.16
|
Point used for a tube definition. More...
#include <itkDTITubeSpatialObjectPoint.h>
Inheritance diagram for itk::DTITubeSpatialObjectPoint< TPointDimension >:
Collaboration diagram for itk::DTITubeSpatialObjectPoint< TPointDimension >:Public Types | |
| typedef PixelType | ColorType |
| typedef CovariantVector < double, TPointDimension > | CovariantVectorType |
| enum | FieldEnumType { FA, ADC, GA } |
| typedef std::vector< FieldType > | FieldListType |
| typedef std::pair< std::string, float > | FieldType |
| typedef RGBAPixel< float > | PixelType |
| typedef Point< double, TPointDimension > | PointType |
| typedef DTITubeSpatialObjectPoint | Self |
| typedef SpatialObjectPoint < TPointDimension > | Superclass |
| typedef Vector< double, TPointDimension > | VectorType |
Public Member Functions | |
| DTITubeSpatialObjectPoint (void) | |
| virtual | ~DTITubeSpatialObjectPoint (void) |
| void | AddField (const char *name, float value) |
| void | AddField (FieldEnumType name, float value) |
| float | GetAlpha (void) const |
| float | GetBlue (void) const |
| const PixelType & | GetColor (void) const |
| float | GetField (const char *name) const |
| float | GetField (FieldEnumType name) const |
| const FieldListType & | GetFields () const |
| float | GetGreen (void) const |
| int | GetID (void) const |
| const CovariantVectorType & | GetNormal1 (void) const |
| const CovariantVectorType & | GetNormal2 (void) const |
| unsigned short int | GetNumDimensions (void) const |
| const PointType & | GetPosition (void) const |
| float | GetRadius (void) const |
| float | GetRed (void) const |
| const VectorType & | GetTangent (void) const |
| const float * | GetTensorMatrix () const |
| Self & | operator= (const DTITubeSpatialObjectPoint &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 | SetField (FieldEnumType name, float value) |
| void | SetField (const char *name, float value) |
| void | SetGreen (float g) |
| void | SetID (const int newID) |
| 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 | SetTangent (const VectorType &newT) |
| void | SetTangent (const double t0, const double t1) |
| void | SetTangent (const double t0, const double t1, const double t2) |
| void | SetTensorMatrix (const DiffusionTensor3D< double > &matrix) |
| void | SetTensorMatrix (const DiffusionTensor3D< float > &matrix) |
| void | SetTensorMatrix (const float *matrix) |
Protected Member Functions | |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| std::string | TranslateEnumToChar (FieldEnumType name) const |
Protected Attributes | |
| PixelType | m_Color |
| FieldListType | m_Fields |
| int | m_ID |
| CovariantVectorType | m_Normal1 |
| CovariantVectorType | m_Normal2 |
| unsigned short int | m_NumDimensions |
| float | m_R |
| VectorType | m_T |
| float | m_TensorMatrix [6] |
| PointType | m_X |
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 37 of file itkDTITubeSpatialObjectPoint.h.
|
inherited |
Definition at line 53 of file itkSpatialObjectPoint.h.
| typedef CovariantVector<double, TPointDimension > itk::DTITubeSpatialObjectPoint< TPointDimension >::CovariantVectorType |
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 47 of file itkDTITubeSpatialObjectPoint.h.
| typedef std::vector<FieldType> itk::DTITubeSpatialObjectPoint< TPointDimension >::FieldListType |
Definition at line 49 of file itkDTITubeSpatialObjectPoint.h.
| typedef std::pair<std::string,float> itk::DTITubeSpatialObjectPoint< TPointDimension >::FieldType |
Definition at line 48 of file itkDTITubeSpatialObjectPoint.h.
|
inherited |
Definition at line 52 of file itkSpatialObjectPoint.h.
| typedef Point< double, TPointDimension > itk::DTITubeSpatialObjectPoint< TPointDimension >::PointType |
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 45 of file itkDTITubeSpatialObjectPoint.h.
| typedef DTITubeSpatialObjectPoint itk::DTITubeSpatialObjectPoint< TPointDimension >::Self |
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 43 of file itkDTITubeSpatialObjectPoint.h.
| typedef SpatialObjectPoint<TPointDimension> itk::DTITubeSpatialObjectPoint< TPointDimension >::Superclass |
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 44 of file itkDTITubeSpatialObjectPoint.h.
| typedef Vector<double, TPointDimension > itk::DTITubeSpatialObjectPoint< TPointDimension >::VectorType |
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 46 of file itkDTITubeSpatialObjectPoint.h.
| enum itk::DTITubeSpatialObjectPoint::FieldEnumType |
Definition at line 53 of file itkDTITubeSpatialObjectPoint.h.
| itk::DTITubeSpatialObjectPoint< TPointDimension >::DTITubeSpatialObjectPoint | ( | void | ) |
Constructor. This one defines the # of dimensions in the DTITubeSpatialObjectPoint
Constructor
Definition at line 29 of file itkDTITubeSpatialObjectPoint.txx.
|
virtual |
| void itk::DTITubeSpatialObjectPoint< TPointDimension >::AddField | ( | const char * | name, |
| float | value | ||
| ) |
Add a field to the point list
Definition at line 85 of file itkDTITubeSpatialObjectPoint.txx.
| void itk::DTITubeSpatialObjectPoint< TPointDimension >::AddField | ( | FieldEnumType | name, |
| float | value | ||
| ) |
Add a field to the point list
Definition at line 134 of file itkDTITubeSpatialObjectPoint.txx.
|
inherited |
Return the alpha value of the point
Definition at line 145 of file itkSpatialObjectPoint.txx.
|
inherited |
Return the blue channel of the point
Definition at line 127 of file itkSpatialObjectPoint.txx.
|
inherited |
Set/Get color of the point
Return the color of the point
Definition at line 52 of file itkSpatialObjectPoint.txx.
| float itk::DTITubeSpatialObjectPoint< TPointDimension >::GetField | ( | const char * | name | ) | const |
Return the value of the specific fiedls
Return the value of the given field
Definition at line 155 of file itkDTITubeSpatialObjectPoint.txx.
| float itk::DTITubeSpatialObjectPoint< TPointDimension >::GetField | ( | FieldEnumType | name | ) | const |
Add a field to the point list
Definition at line 174 of file itkDTITubeSpatialObjectPoint.txx.
|
inline |
Return the list of extra fields
Definition at line 97 of file itkDTITubeSpatialObjectPoint.h.
Referenced by itk::DTITubeSpatialObjectPoint< TPointDimension >::operator=().
|
inherited |
Return the green channel of the point
Definition at line 109 of file itkSpatialObjectPoint.txx.
|
inherited |
Get the SpatialObjectPoint Id.
Get the Identification number of a point
Definition at line 163 of file itkSpatialObjectPoint.txx.
Referenced by itk::ContourSpatialObjectPoint< TPointDimension >::operator=().
|
inherited |
Get V1
Definition at line 103 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Get V2
Definition at line 141 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Get # of dimensions
Definition at line 180 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Return a pointer to the point object.
Return the position of a point
Definition at line 173 of file itkSpatialObjectPoint.txx.
Referenced by itk::PolygonSpatialObject< TDimension >::DeletePoint(), itk::PolygonSpatialObject< TDimension >::InsertPoint(), itk::ContourSpatialObjectPoint< TPointDimension >::operator=(), itk::PolygonSpatialObject< TDimension >::RemoveSegment(), and itk::PolygonSpatialObject< TDimension >::ReplacePoint().
|
inherited |
|
inherited |
Return the red channel of the point
Definition at line 91 of file itkSpatialObjectPoint.txx.
|
inherited |
Get the tangent
Definition at line 65 of file itkTubeSpatialObjectPoint.txx.
|
inline |
Definition at line 81 of file itkDTITubeSpatialObjectPoint.h.
| DTITubeSpatialObjectPoint< TPointDimension >::Self & itk::DTITubeSpatialObjectPoint< TPointDimension >::operator= | ( | const DTITubeSpatialObjectPoint< TPointDimension > & | rhs | ) |
Copy one DTITubeSpatialObjectPoint to another
Definition at line 194 of file itkDTITubeSpatialObjectPoint.txx.
References itk::DTITubeSpatialObjectPoint< TPointDimension >::GetFields(), itk::SpatialObjectPoint< TPointDimension >::m_Color, itk::SpatialObjectPoint< TPointDimension >::m_ID, itk::TubeSpatialObjectPoint< TPointDimension >::m_Normal1, itk::TubeSpatialObjectPoint< TPointDimension >::m_Normal2, itk::TubeSpatialObjectPoint< TPointDimension >::m_NumDimensions, itk::TubeSpatialObjectPoint< TPointDimension >::m_R, itk::TubeSpatialObjectPoint< TPointDimension >::m_T, itk::DTITubeSpatialObjectPoint< TPointDimension >::m_TensorMatrix, and itk::SpatialObjectPoint< TPointDimension >::m_X.
|
inherited |
|
protectedvirtual |
Print the object
Reimplemented from itk::TubeSpatialObjectPoint< TPointDimension >.
Definition at line 52 of file itkDTITubeSpatialObjectPoint.txx.
|
inherited |
Set/Get alpha value of the point
Set the alpha value of the point
Definition at line 136 of file itkSpatialObjectPoint.txx.
|
inherited |
Set/Get blue color of the point
Set the blue channel of the point
Definition at line 118 of file itkSpatialObjectPoint.txx.
|
inherited |
Set the color of the point
Definition at line 61 of file itkSpatialObjectPoint.txx.
|
inherited |
Set the color of the point
Definition at line 70 of file itkSpatialObjectPoint.txx.
| void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetField | ( | FieldEnumType | name, |
| float | value | ||
| ) |
Set a field value
Set a value to a field in the point list
Definition at line 114 of file itkDTITubeSpatialObjectPoint.txx.
| void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetField | ( | const char * | name, |
| float | value | ||
| ) |
Set a field value to the point list
Definition at line 96 of file itkDTITubeSpatialObjectPoint.txx.
|
inherited |
Set/Get Green color of the point
Set the green channel of the point
Definition at line 100 of file itkSpatialObjectPoint.txx.
|
inherited |
Set the SpatialObjectPoint Id.
Set the Identification number of a point
Definition at line 154 of file itkSpatialObjectPoint.txx.
|
inherited |
Set V1
Definition at line 112 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Definition at line 132 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Definition at line 121 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Set V2
Definition at line 151 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Definition at line 171 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Definition at line 160 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Set the point object. Couldn't use macros for these methods.
Set the position : n-D case
Definition at line 182 of file itkSpatialObjectPoint.txx.
Referenced by itk::PolygonSpatialObject< TDimension >::AddPoint(), itk::PolygonGroupSpatialObjectXMLFileReader::EndElement(), otb::FillGapsFilter::GenerateData(), itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::GetLines(), otb::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::GetLines(), itk::PolygonSpatialObject< TDimension >::InsertPoint(), otb::LocalHoughFilter< TInputImage >::LinePointResearch(), and itk::PolygonSpatialObject< TDimension >::ReplacePoint().
|
inherited |
Set the position : 2D case
Definition at line 202 of file itkSpatialObjectPoint.txx.
|
inherited |
Set the position : 3D case
Definition at line 191 of file itkSpatialObjectPoint.txx.
|
inherited |
|
inherited |
Set/Get red color of the point
Set the red channel of the point
Definition at line 82 of file itkSpatialObjectPoint.txx.
|
inherited |
Set T. Couldn't use macros for these methods
Definition at line 74 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Definition at line 94 of file itkTubeSpatialObjectPoint.txx.
|
inherited |
Definition at line 83 of file itkTubeSpatialObjectPoint.txx.
|
inline |
Set/Get the tensor matrix
Definition at line 63 of file itkDTITubeSpatialObjectPoint.h.
References itk::FixedArray< TComponent, NDimension *(NDimension+1)/2 >::Begin(), and itk::FixedArray< TComponent, NDimension *(NDimension+1)/2 >::End().
|
inline |
Definition at line 68 of file itkDTITubeSpatialObjectPoint.h.
References itk::FixedArray< TComponent, NDimension *(NDimension+1)/2 >::Begin(), and itk::FixedArray< TComponent, NDimension *(NDimension+1)/2 >::End().
|
inline |
Definition at line 73 of file itkDTITubeSpatialObjectPoint.h.
|
protected |
Translate the enum to char
Translate the enumerated types to a string
Definition at line 61 of file itkDTITubeSpatialObjectPoint.txx.
|
protectedinherited |
Color of the point
Definition at line 108 of file itkSpatialObjectPoint.h.
Referenced by itk::SpatialObjectPoint< TPointDimension >::operator=(), itk::DTITubeSpatialObjectPoint< TPointDimension >::operator=(), itk::TubeSpatialObjectPoint< TPointDimension >::operator=(), and itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().
|
protected |
Definition at line 107 of file itkDTITubeSpatialObjectPoint.h.
|
protectedinherited |
A unique ID assigned to this SpatialObjectPoint
Definition at line 102 of file itkSpatialObjectPoint.h.
Referenced by itk::LineSpatialObjectPoint< TPointDimension >::operator=(), itk::SurfaceSpatialObjectPoint< TPointDimension >::operator=(), itk::SpatialObjectPoint< TPointDimension >::operator=(), itk::DTITubeSpatialObjectPoint< TPointDimension >::operator=(), itk::TubeSpatialObjectPoint< TPointDimension >::operator=(), and itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 103 of file itkTubeSpatialObjectPoint.h.
Referenced by itk::DTITubeSpatialObjectPoint< TPointDimension >::operator=(), itk::TubeSpatialObjectPoint< TPointDimension >::operator=(), and itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().
|
protectedinherited |
The radius of the tube point
Definition at line 100 of file itkTubeSpatialObjectPoint.h.
Referenced by itk::DTITubeSpatialObjectPoint< TPointDimension >::operator=(), itk::TubeSpatialObjectPoint< TPointDimension >::operator=(), and itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().
|
protectedinherited |
|
protected |
Definition at line 106 of file itkDTITubeSpatialObjectPoint.h.
Referenced by itk::DTITubeSpatialObjectPoint< TPointDimension >::operator=().
|
protectedinherited |
Position of the point
Definition at line 105 of file itkSpatialObjectPoint.h.
Referenced by itk::LineSpatialObjectPoint< TPointDimension >::operator=(), itk::SurfaceSpatialObjectPoint< TPointDimension >::operator=(), itk::SpatialObjectPoint< TPointDimension >::operator=(), itk::DTITubeSpatialObjectPoint< TPointDimension >::operator=(), itk::TubeSpatialObjectPoint< TPointDimension >::operator=(), and itk::VesselTubeSpatialObjectPoint< TPointDimension >::operator=().