ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkDTITubeSpatialObjectPoint.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 37 of file itkDTITubeSpatialObjectPoint.h.
Public Types | |
using | CovariantVectorType = CovariantVector< double, TPointDimension > |
enum | FieldEnumType { FA, ADC, GA } |
using | FieldListType = std::vector< FieldType > |
using | FieldType = std::pair< std::string, float > |
using | PointType = Point< double, TPointDimension > |
using | Self = DTITubeSpatialObjectPoint |
using | Superclass = SpatialObjectPoint< TPointDimension > |
using | VectorType = Vector< double, TPointDimension > |
Public Types inherited from itk::TubeSpatialObjectPoint< TPointDimension > | |
using | CovariantVectorType = CovariantVector< double, TPointDimension > |
using | PointType = Point< double, TPointDimension > |
using | Self = TubeSpatialObjectPoint |
using | Superclass = SpatialObjectPoint< TPointDimension > |
using | VectorType = Vector< double, TPointDimension > |
Public Types inherited from itk::SpatialObjectPoint< TPointDimension > | |
using | ColorType = RGBAPixel< double > |
using | PointType = Point< double, TPointDimension > |
using | Self = SpatialObjectPoint |
using | SpatialObjectType = SpatialObject< TPointDimension > |
using | VectorType = vnl_vector< double > |
Public Member Functions | |
void | AddField (const char *name, float value) |
void | AddField (FieldEnumType name, float value) |
DTITubeSpatialObjectPoint () | |
float | GetField (const char *name) const |
float | GetField (FieldEnumType name) const |
const FieldListType & | GetFields () const |
const float * | GetTensorMatrix () const |
Self & | operator= (const DTITubeSpatialObjectPoint &rhs) |
void | SetField (FieldEnumType name, float value) |
void | SetField (const char *name, float value) |
void | SetTensorMatrix (const DiffusionTensor3D< double > &matrix) |
void | SetTensorMatrix (const DiffusionTensor3D< float > &matrix) |
void | SetTensorMatrix (const float *matrix) |
~DTITubeSpatialObjectPoint () override=default | |
Public Member Functions inherited from itk::TubeSpatialObjectPoint< TPointDimension > | |
double | GetAlpha1 () const |
double | GetAlpha2 () const |
double | GetAlpha3 () const |
double | GetBranchness () const |
double | GetMedialness () const |
const CovariantVectorType & | GetNormal1InObjectSpace () const |
const CovariantVectorType | GetNormal1InWorldSpace () const |
const CovariantVectorType & | GetNormal2InObjectSpace () const |
const CovariantVectorType | GetNormal2InWorldSpace () const |
double | GetRadiusInObjectSpace () const |
double | GetRadiusInWorldSpace () const |
double | GetRidgeness () const |
const VectorType & | GetTangentInObjectSpace () const |
const VectorType | GetTangentInWorldSpace () const |
Self & | operator= (const TubeSpatialObjectPoint &rhs) |
void | SetAlpha1 (double alpha1) |
void | SetAlpha2 (double alpha2) |
void | SetAlpha3 (double alpha3) |
void | SetBranchness (double branchness) |
void | SetMedialness (double medialness) |
void | SetNormal1InObjectSpace (const CovariantVectorType &newV1) |
void | SetNormal1InWorldSpace (const CovariantVectorType &newV1) |
void | SetNormal2InObjectSpace (const CovariantVectorType &newV2) |
void | SetNormal2InWorldSpace (const CovariantVectorType &newV2) |
void | SetRadiusInObjectSpace (double newR) |
void | SetRadiusInWorldSpace (double newR) |
void | SetRidgeness (double ridgeness) |
void | SetTangentInObjectSpace (const VectorType &newT) |
void | SetTangentInWorldSpace (const VectorType &newT) |
TubeSpatialObjectPoint () | |
~TubeSpatialObjectPoint () override=default | |
Public Member Functions inherited from itk::SpatialObjectPoint< TPointDimension > | |
double | GetAlpha () const |
double | GetBlue () const |
ColorType | GetColor () const |
double | GetGreen () const |
int | GetId () const |
const PointType & | GetPositionInObjectSpace () const |
PointType | GetPositionInWorldSpace () const |
double | GetRed () const |
Self & | operator= (const SpatialObjectPoint &rhs) |
void | Print (std::ostream &os) const |
void | SetAlpha (double a) |
void | SetBlue (double b) |
void | SetColor (ColorType color) |
void | SetColor (double r, double g, double b, double a=1) |
void | SetGreen (double g) |
void | SetId (int id) |
void | SetPositionInObjectSpace (const PointType &newPositionInObjectSpace) |
template<typename... TCoordinate> | |
void | SetPositionInObjectSpace (const double firstCoordinate, const TCoordinate...otherCoordinate) |
void | SetPositionInWorldSpace (const PointType &point) |
void | SetRed (double r) |
void | SetSpatialObject (SpatialObjectType *so) |
SpatialObjectPoint () | |
virtual | ~SpatialObjectPoint ()=default |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
std::string | TranslateEnumToChar (FieldEnumType name) const |
Protected Member Functions inherited from itk::TubeSpatialObjectPoint< TPointDimension > | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Protected Attributes | |
FieldListType | m_Fields |
float | m_TensorMatrix [6] |
Protected Attributes inherited from itk::TubeSpatialObjectPoint< TPointDimension > | |
double | m_Alpha1 |
double | m_Alpha2 |
double | m_Alpha3 |
double | m_Branchness |
double | m_Medialness |
CovariantVectorType | m_Normal1InObjectSpace |
CovariantVectorType | m_Normal2InObjectSpace |
double | m_RadiusInObjectSpace |
double | m_Ridgeness |
VectorType | m_TangentInObjectSpace |
Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension > | |
ColorType | m_Color |
int | m_Id |
PointType | m_PositionInObjectSpace |
SpatialObjectType::Pointer | m_SpatialObject |
using itk::DTITubeSpatialObjectPoint< TPointDimension >::CovariantVectorType = CovariantVector< double, TPointDimension > |
Definition at line 46 of file itkDTITubeSpatialObjectPoint.h.
using itk::DTITubeSpatialObjectPoint< TPointDimension >::FieldListType = std::vector< FieldType > |
Definition at line 48 of file itkDTITubeSpatialObjectPoint.h.
using itk::DTITubeSpatialObjectPoint< TPointDimension >::FieldType = std::pair< std::string, float > |
Definition at line 47 of file itkDTITubeSpatialObjectPoint.h.
using itk::DTITubeSpatialObjectPoint< TPointDimension >::PointType = Point< double, TPointDimension > |
Definition at line 44 of file itkDTITubeSpatialObjectPoint.h.
using itk::DTITubeSpatialObjectPoint< TPointDimension >::Self = DTITubeSpatialObjectPoint |
Definition at line 42 of file itkDTITubeSpatialObjectPoint.h.
using itk::DTITubeSpatialObjectPoint< TPointDimension >::Superclass = SpatialObjectPoint< TPointDimension > |
Definition at line 43 of file itkDTITubeSpatialObjectPoint.h.
using itk::DTITubeSpatialObjectPoint< TPointDimension >::VectorType = Vector< double, TPointDimension > |
Definition at line 45 of file itkDTITubeSpatialObjectPoint.h.
enum itk::DTITubeSpatialObjectPoint::FieldEnumType |
Enumerator | |
---|---|
FA | |
ADC | |
GA |
Definition at line 52 of file itkDTITubeSpatialObjectPoint.h.
itk::DTITubeSpatialObjectPoint< TPointDimension >::DTITubeSpatialObjectPoint | ( | ) |
Constructor. This one defines the number of dimensions in the DTITubeSpatialObjectPoint
|
overridedefault |
Default destructor.
void itk::DTITubeSpatialObjectPoint< TPointDimension >::AddField | ( | const char * | name, |
float | value | ||
) |
Add a field to the point list
void itk::DTITubeSpatialObjectPoint< TPointDimension >::AddField | ( | FieldEnumType | name, |
float | value | ||
) |
Add a field to the point list
float itk::DTITubeSpatialObjectPoint< TPointDimension >::GetField | ( | const char * | name | ) | const |
Return the value of the specific fiedls
float itk::DTITubeSpatialObjectPoint< TPointDimension >::GetField | ( | FieldEnumType | name | ) | const |
|
inline |
Return the list of extra fields
Definition at line 97 of file itkDTITubeSpatialObjectPoint.h.
|
inline |
Definition at line 80 of file itkDTITubeSpatialObjectPoint.h.
Self& itk::DTITubeSpatialObjectPoint< TPointDimension >::operator= | ( | const DTITubeSpatialObjectPoint< TPointDimension > & | rhs | ) |
Copy one DTITubeSpatialObjectPoint to another
|
overrideprotectedvirtual |
Print the object
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetField | ( | FieldEnumType | name, |
float | value | ||
) |
Set a field value
void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetField | ( | const char * | name, |
float | value | ||
) |
|
inline |
Set/Get the tensor matrix
Definition at line 62 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 67 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 72 of file itkDTITubeSpatialObjectPoint.h.
|
protected |
Translate the enum to char
|
protected |
Definition at line 107 of file itkDTITubeSpatialObjectPoint.h.
|
protected |
Definition at line 106 of file itkDTITubeSpatialObjectPoint.h.