ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkSurfaceSpatialObjectPoint.h>
Point used for a Surface 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 38 of file itkSurfaceSpatialObjectPoint.h.
Public Types | |
typedef Point< double, TPointDimension > | PointType |
typedef SurfaceSpatialObjectPoint | Self |
typedef SpatialObjectPoint < TPointDimension > | Superclass |
typedef CovariantVector < double, TPointDimension > | VectorType |
Public Types inherited from itk::SpatialObjectPoint< TPointDimension > | |
typedef PixelType | ColorType |
typedef RGBAPixel< float > | PixelType |
typedef Point< double, TPointDimension > | PointType |
typedef SpatialObjectPoint | Self |
typedef vnl_vector< double > | VectorType |
Public Member Functions | |
const VectorType & | GetNormal () const |
Self & | operator= (const SurfaceSpatialObjectPoint &rhs) |
void | SetNormal (const VectorType &normal) |
void | SetNormal (const double normalx, const double normaly) |
void | SetNormal (const double normalx, const double normaly, const double normalz) |
SurfaceSpatialObjectPoint () | |
virtual | ~SurfaceSpatialObjectPoint () override |
Public Member Functions inherited from itk::SpatialObjectPoint< TPointDimension > | |
float | GetAlpha () const |
float | GetBlue () const |
const PixelType & | GetColor () const |
float | GetGreen () const |
int | GetID () const |
const PointType & | GetPosition () const |
float | GetRed () const |
Self & | operator= (const SpatialObjectPoint &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 | SetGreen (float g) |
void | SetID (const int newID) |
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 | SetRed (float r) |
SpatialObjectPoint () | |
virtual | ~SpatialObjectPoint () |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
Protected Attributes | |
VectorType | m_Normal |
Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension > | |
PixelType | m_Color |
int | m_ID |
PointType | m_X |
typedef Point< double, TPointDimension > itk::SurfaceSpatialObjectPoint< TPointDimension >::PointType |
Definition at line 45 of file itkSurfaceSpatialObjectPoint.h.
typedef SurfaceSpatialObjectPoint itk::SurfaceSpatialObjectPoint< TPointDimension >::Self |
Definition at line 43 of file itkSurfaceSpatialObjectPoint.h.
typedef SpatialObjectPoint< TPointDimension > itk::SurfaceSpatialObjectPoint< TPointDimension >::Superclass |
Definition at line 44 of file itkSurfaceSpatialObjectPoint.h.
typedef CovariantVector< double, TPointDimension > itk::SurfaceSpatialObjectPoint< TPointDimension >::VectorType |
Definition at line 46 of file itkSurfaceSpatialObjectPoint.h.
itk::SurfaceSpatialObjectPoint< TPointDimension >::SurfaceSpatialObjectPoint | ( | ) |
Constructor
|
overridevirtual |
Destructor
const VectorType& itk::SurfaceSpatialObjectPoint< TPointDimension >::GetNormal | ( | ) | const |
Get Normal
Self& itk::SurfaceSpatialObjectPoint< TPointDimension >::operator= | ( | const SurfaceSpatialObjectPoint< TPointDimension > & | rhs | ) |
Copy one SurfaceSpatialObjectPoint to another
|
overrideprotectedvirtual |
Method to print the object.
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
void itk::SurfaceSpatialObjectPoint< TPointDimension >::SetNormal | ( | const VectorType & | normal | ) |
Set Normal
void itk::SurfaceSpatialObjectPoint< TPointDimension >::SetNormal | ( | const double | normalx, |
const double | normaly | ||
) |
void itk::SurfaceSpatialObjectPoint< TPointDimension >::SetNormal | ( | const double | normalx, |
const double | normaly, | ||
const double | normalz | ||
) |
|
protected |
Definition at line 70 of file itkSurfaceSpatialObjectPoint.h.