ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkLineSpatialObjectPoint.h>
Point used for a line definition.
This class contains all the functions necessary to define a point that can be used to build lines. This Class derives from SpatialObjectPoint. A LineSpatialObjectPoint has NDimension-1 normals.
Definition at line 42 of file itkLineSpatialObjectPoint.h.
Public Types | |
using | CovariantVectorType = CovariantVector< double, TPointDimension > |
using | NormalArrayType = FixedArray< CovariantVectorType, TPointDimension-1 > |
using | PointType = Point< double, TPointDimension > |
using | Self = LineSpatialObjectPoint |
using | Superclass = SpatialObjectPoint< 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 | |
const CovariantVectorType & | GetNormalInObjectSpace (unsigned int index) const |
LineSpatialObjectPoint () | |
Self & | operator= (const LineSpatialObjectPoint &rhs) |
void | SetNormalInObjectSpace (CovariantVectorType &normal, unsigned int index) |
~LineSpatialObjectPoint () 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 |
Protected Attributes | |
NormalArrayType | m_NormalArrayInObjectSpace |
Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension > | |
ColorType | m_Color |
int | m_Id |
PointType | m_PositionInObjectSpace |
SpatialObjectType::Pointer | m_SpatialObject |
using itk::LineSpatialObjectPoint< TPointDimension >::CovariantVectorType = CovariantVector< double, TPointDimension > |
Definition at line 50 of file itkLineSpatialObjectPoint.h.
using itk::LineSpatialObjectPoint< TPointDimension >::NormalArrayType = FixedArray< CovariantVectorType, TPointDimension - 1 > |
Definition at line 51 of file itkLineSpatialObjectPoint.h.
using itk::LineSpatialObjectPoint< TPointDimension >::PointType = Point< double, TPointDimension > |
Definition at line 49 of file itkLineSpatialObjectPoint.h.
using itk::LineSpatialObjectPoint< TPointDimension >::Self = LineSpatialObjectPoint |
Definition at line 47 of file itkLineSpatialObjectPoint.h.
using itk::LineSpatialObjectPoint< TPointDimension >::Superclass = SpatialObjectPoint< TPointDimension > |
Definition at line 48 of file itkLineSpatialObjectPoint.h.
itk::LineSpatialObjectPoint< TPointDimension >::LineSpatialObjectPoint | ( | ) |
Constructor
|
overridedefault |
Destructor
const CovariantVectorType& itk::LineSpatialObjectPoint< TPointDimension >::GetNormalInObjectSpace | ( | unsigned int | index | ) | const |
Get Normal
Self& itk::LineSpatialObjectPoint< TPointDimension >::operator= | ( | const LineSpatialObjectPoint< TPointDimension > & | rhs | ) |
Copy one LineSpatialObjectPoint to another
|
overrideprotectedvirtual |
Method to print the object.
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
void itk::LineSpatialObjectPoint< TPointDimension >::SetNormalInObjectSpace | ( | CovariantVectorType & | normal, |
unsigned int | index | ||
) |
Set Normal
|
protected |
Definition at line 70 of file itkLineSpatialObjectPoint.h.