ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkContourSpatialObjectPoint.h>
Point used for a Contour definition.
This class contains all the functions necessary to define a point that can be used to build surfaces. A surface point has a position and only one normal.
Definition at line 37 of file itkContourSpatialObjectPoint.h.
Public Types | |
using | CovariantVectorType = CovariantVector< double, TPointDimension > |
using | PointType = Point< double, TPointDimension > |
using | Self = ContourSpatialObjectPoint |
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 | |
ContourSpatialObjectPoint () | |
const CovariantVectorType & | GetNormalInObjectSpace () const |
const PointType & | GetPickedPointInObjectSpace () const |
Self & | operator= (const ContourSpatialObjectPoint &rhs) |
void | SetNormalInObjectSpace (const CovariantVectorType &normal) |
void | SetPickedPointInObjectSpace (const PointType &point) |
~ContourSpatialObjectPoint () 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 |
Private Attributes | |
CovariantVectorType | m_NormalInObjectSpace |
PointType | m_PickedPointInObjectSpace |
Additional Inherited Members | |
Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension > | |
ColorType | m_Color |
int | m_Id |
PointType | m_PositionInObjectSpace |
SpatialObjectType::Pointer | m_SpatialObject |
using itk::ContourSpatialObjectPoint< TPointDimension >::CovariantVectorType = CovariantVector< double, TPointDimension > |
Definition at line 45 of file itkContourSpatialObjectPoint.h.
using itk::ContourSpatialObjectPoint< TPointDimension >::PointType = Point< double, TPointDimension > |
Definition at line 44 of file itkContourSpatialObjectPoint.h.
using itk::ContourSpatialObjectPoint< TPointDimension >::Self = ContourSpatialObjectPoint |
Definition at line 42 of file itkContourSpatialObjectPoint.h.
using itk::ContourSpatialObjectPoint< TPointDimension >::Superclass = SpatialObjectPoint< TPointDimension > |
Definition at line 43 of file itkContourSpatialObjectPoint.h.
itk::ContourSpatialObjectPoint< TPointDimension >::ContourSpatialObjectPoint | ( | ) |
Constructor. This one defines the number of dimensions in the ContourSpatialObjectPoint
|
overridedefault |
Default destructor.
const CovariantVectorType& itk::ContourSpatialObjectPoint< TPointDimension >::GetNormalInObjectSpace | ( | ) | const |
Get the normal.
const PointType& itk::ContourSpatialObjectPoint< TPointDimension >::GetPickedPointInObjectSpace | ( | ) | const |
Get the picked point.
Self& itk::ContourSpatialObjectPoint< TPointDimension >::operator= | ( | const ContourSpatialObjectPoint< TPointDimension > & | rhs | ) |
Copy a surface point to another.
|
overrideprotectedvirtual |
PrintSelf method
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
void itk::ContourSpatialObjectPoint< TPointDimension >::SetNormalInObjectSpace | ( | const CovariantVectorType & | normal | ) |
Set the normal : N-D case.
void itk::ContourSpatialObjectPoint< TPointDimension >::SetPickedPointInObjectSpace | ( | const PointType & | point | ) |
Set the picked point : N-D case.
|
private |
Definition at line 75 of file itkContourSpatialObjectPoint.h.
|
private |
Definition at line 76 of file itkContourSpatialObjectPoint.h.