#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 60 of file itkDTITubeSpatialObjectPoint.h.
Inheritance diagram for itk::DTITubeSpatialObjectPoint< TPointDimension >:
Collaboration diagram for itk::DTITubeSpatialObjectPoint< TPointDimension >:Public Types | |
| using | CovariantVectorType = CovariantVector<double, TPointDimension> |
| using | DTITubeSpatialObjectPointFieldEnum = DTITubeSpatialObjectPointEnums::DTITubeSpatialObjectPointField |
| using | FieldListType = std::vector<FieldType> |
| using | FieldType = std::pair<std::string, float> |
| using | PointType = Point<double, TPointDimension> |
| using | Self = DTITubeSpatialObjectPoint |
| using | Superclass = TubeSpatialObjectPoint<TPointDimension> |
| using | VectorType = Vector<double, TPointDimension> |
Public Types inherited from itk::TubeSpatialObjectPoint< 3 > | |
| using | CovariantVectorType |
| using | PointType |
| using | Self |
| using | Superclass |
| using | VectorType |
Public Types inherited from itk::SpatialObjectPoint< TPointDimension > | |
| using | ColorType |
| using | ColorType |
| using | PointDimensionType |
| using | PointDimensionType |
| using | PointType |
| using | PointType |
| using | Self |
| using | Self |
| using | SpatialObjectType |
| using | SpatialObjectType |
| using | VectorType |
| using | VectorType |
Public Member Functions | |
| void | AddField (const char *name, float value) |
| void | AddField (DTITubeSpatialObjectPointFieldEnum name, float value) |
| DTITubeSpatialObjectPoint () | |
| float | GetField (const char *name) const |
| float | GetField (DTITubeSpatialObjectPointFieldEnum name) const |
| const FieldListType & | GetFields () const |
| const float * | GetTensorMatrix () const |
| ITK_DEFAULT_COPY_AND_MOVE (DTITubeSpatialObjectPoint) | |
| void | SetField (const char *name, float value) |
| void | SetField (DTITubeSpatialObjectPointFieldEnum 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< 3 > | |
| double | GetAlpha1 () const |
| double | GetAlpha2 () const |
| double | GetAlpha3 () const |
| double | GetBranchness () const |
| double | GetCurvature () const |
| double | GetIntensity () const |
| double | GetLevelness () 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 |
| double | GetRoundness () const |
| const VectorType & | GetTangentInObjectSpace () const |
| const VectorType | GetTangentInWorldSpace () const |
| ITK_DEFAULT_COPY_AND_MOVE (TubeSpatialObjectPoint) | |
| void | SetAlpha1 (double alpha1) |
| void | SetAlpha2 (double alpha2) |
| void | SetAlpha3 (double alpha3) |
| void | SetBranchness (double branchness) |
| void | SetCurvature (double curvature) |
| void | SetIntensity (double intensity) |
| void | SetLevelness (double levelness) |
| 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 | SetRoundness (double roundness) |
| 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 | GetAlpha () const |
| double | GetBlue () const |
| double | GetBlue () const |
| ColorType | GetColor () const |
| ColorType | GetColor () const |
| double | GetGreen () const |
| double | GetGreen () const |
| int | GetId () const |
| int | GetId () const |
| virtual const char * | GetNameOfClass () const |
| virtual const char * | GetNameOfClass () const |
| const PointType & | GetPositionInObjectSpace () const |
| const PointType & | GetPositionInObjectSpace () const |
| PointType | GetPositionInWorldSpace () const |
| PointType | GetPositionInWorldSpace () const |
| double | GetRed () const |
| double | GetRed () const |
| SpatialObjectType * | GetSpatialObject () const |
| SpatialObjectType * | GetSpatialObject () const |
| std::map< std::string, double > & | GetTagScalarDictionary () |
| std::map< std::string, double > & | GetTagScalarDictionary () |
| const std::map< std::string, double > & | GetTagScalarDictionary () const |
| const std::map< std::string, double > & | GetTagScalarDictionary () const |
| double | GetTagScalarValue (const std::string &tag) const |
| double | GetTagScalarValue (const std::string &tag) const |
| bool | GetTagScalarValue (const std::string &tag, double &value) const |
| bool | GetTagScalarValue (const std::string &tag, double &value) const |
| ITK_DEFAULT_COPY_AND_MOVE (SpatialObjectPoint) | |
| ITK_DEFAULT_COPY_AND_MOVE (SpatialObjectPoint) | |
| void | Print (std::ostream &os) const |
| void | Print (std::ostream &os) const |
| void | SetAlpha (double a) |
| void | SetAlpha (double a) |
| void | SetBlue (double b) |
| void | SetBlue (double b) |
| void | SetColor (ColorType color) |
| void | SetColor (ColorType color) |
| void | SetColor (double r, double g, double b, double a=1) |
| void | SetColor (double r, double g, double b, double a=1) |
| void | SetGreen (double g) |
| void | SetGreen (double g) |
| void | SetId (int id) |
| void | SetId (int id) |
| void | SetPositionInObjectSpace (const double firstCoordinate, const TCoordinate... otherCoordinate) |
| void | SetPositionInObjectSpace (const double firstCoordinate, const TCoordinate... otherCoordinate) |
| void | SetPositionInObjectSpace (const PointType &newPositionInObjectSpace) |
| void | SetPositionInObjectSpace (const PointType &newPositionInObjectSpace) |
| void | SetPositionInWorldSpace (const PointType &point) |
| void | SetPositionInWorldSpace (const PointType &point) |
| void | SetRed (double r) |
| void | SetRed (double r) |
| void | SetSpatialObject (SpatialObjectType *so) |
| void | SetSpatialObject (SpatialObjectType *so) |
| void | SetTagScalarDictionary (const std::map< std::string, double > &dict) |
| void | SetTagScalarDictionary (const std::map< std::string, double > &dict) |
| void | SetTagScalarValue (const std::string &tag, double value) |
| void | SetTagScalarValue (const std::string &tag, double value) |
| SpatialObjectPoint () | |
| SpatialObjectPoint () | |
| virtual | ~SpatialObjectPoint ()=default |
| virtual | ~SpatialObjectPoint ()=default |
Protected Member Functions | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| std::string | TranslateEnumToChar (DTITubeSpatialObjectPointFieldEnum name) const |
Protected Member Functions inherited from itk::TubeSpatialObjectPoint< 3 > | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
Protected Attributes | |
| FieldListType | m_Fields {} |
| float | m_TensorMatrix [6] {} |
Protected Attributes inherited from itk::TubeSpatialObjectPoint< 3 > | |
| double | m_Alpha1 |
| double | m_Alpha2 |
| double | m_Alpha3 |
| double | m_Branchness |
| double | m_Curvature |
| double | m_Intensity |
| double | m_Levelness |
| double | m_Medialness |
| CovariantVectorType | m_Normal1InObjectSpace |
| CovariantVectorType | m_Normal2InObjectSpace |
| double | m_RadiusInObjectSpace |
| double | m_Ridgeness |
| double | m_Roundness |
| VectorType | m_TangentInObjectSpace |
Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension > | |
| ColorType | m_Color |
| ColorType | m_Color |
| int | m_Id |
| int | m_Id |
| PointType | m_PositionInObjectSpace |
| PointType | m_PositionInObjectSpace |
| std::map< std::string, double > | m_ScalarDictionary |
| std::map< std::string, double > | m_ScalarDictionary |
| WeakPointer< SpatialObjectType > | m_SpatialObject |
| WeakPointer< SpatialObjectType > | m_SpatialObject |
Additional Inherited Members | |
Static Public Attributes inherited from itk::SpatialObjectPoint< TPointDimension > | |
| static constexpr PointDimensionType | PointDimension |
| static constexpr PointDimensionType | PointDimension |
| using itk::DTITubeSpatialObjectPoint< TPointDimension >::CovariantVectorType = CovariantVector<double, TPointDimension> |
Definition at line 69 of file itkDTITubeSpatialObjectPoint.h.
| using itk::DTITubeSpatialObjectPoint< TPointDimension >::DTITubeSpatialObjectPointFieldEnum = DTITubeSpatialObjectPointEnums::DTITubeSpatialObjectPointField |
Definition at line 73 of file itkDTITubeSpatialObjectPoint.h.
| using itk::DTITubeSpatialObjectPoint< TPointDimension >::FieldListType = std::vector<FieldType> |
Definition at line 71 of file itkDTITubeSpatialObjectPoint.h.
| using itk::DTITubeSpatialObjectPoint< TPointDimension >::FieldType = std::pair<std::string, float> |
Definition at line 70 of file itkDTITubeSpatialObjectPoint.h.
| using itk::DTITubeSpatialObjectPoint< TPointDimension >::PointType = Point<double, TPointDimension> |
Definition at line 67 of file itkDTITubeSpatialObjectPoint.h.
| using itk::DTITubeSpatialObjectPoint< TPointDimension >::Self = DTITubeSpatialObjectPoint |
Definition at line 65 of file itkDTITubeSpatialObjectPoint.h.
| using itk::DTITubeSpatialObjectPoint< TPointDimension >::Superclass = TubeSpatialObjectPoint<TPointDimension> |
Definition at line 66 of file itkDTITubeSpatialObjectPoint.h.
| using itk::DTITubeSpatialObjectPoint< TPointDimension >::VectorType = Vector<double, TPointDimension> |
Definition at line 68 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 | ( | DTITubeSpatialObjectPointFieldEnum | name, |
| float | value ) |
Add a field to the point list.
| float itk::DTITubeSpatialObjectPoint< TPointDimension >::GetField | ( | const char * | name | ) | const |
Get the value of the specified field.
|
nodiscard |
|
inlinenodiscard |
Get the list of fields.
Definition at line 136 of file itkDTITubeSpatialObjectPoint.h.
|
inlinenodiscard |
Definition at line 114 of file itkDTITubeSpatialObjectPoint.h.
| itk::DTITubeSpatialObjectPoint< TPointDimension >::ITK_DEFAULT_COPY_AND_MOVE | ( | DTITubeSpatialObjectPoint< TPointDimension > | ) |
|
overrideprotectedvirtual |
Print the object
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
| void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetField | ( | const char * | name, |
| float | value ) |
| void itk::DTITubeSpatialObjectPoint< TPointDimension >::SetField | ( | DTITubeSpatialObjectPointFieldEnum | name, |
| float | value ) |
Set a field value.
|
inline |
Set/Get the tensor matrix
Definition at line 93 of file itkDTITubeSpatialObjectPoint.h.
|
inline |
Definition at line 99 of file itkDTITubeSpatialObjectPoint.h.
|
inline |
Definition at line 105 of file itkDTITubeSpatialObjectPoint.h.
|
nodiscardprotected |
Translate the enum to a string.
|
protected |
Definition at line 150 of file itkDTITubeSpatialObjectPoint.h.
|
protected |
Definition at line 149 of file itkDTITubeSpatialObjectPoint.h.