ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkContourSpatialObjectPoint.h>
Public Types | |
typedef Point< double, TPointDimension > | PointType |
typedef ContourSpatialObjectPoint | Self |
typedef SpatialObjectPoint < TPointDimension > | Superclass |
typedef CovariantVector < double, TPointDimension > | VectorType |
Public Types inherited from itk::SpatialObjectPoint< TPointDimension > | |
typedef PixelType | ColorType |
typedef RGBAPixel< float > | PixelType |
Public Member Functions | |
ContourSpatialObjectPoint (void) | |
const VectorType & | GetNormal (void) const |
const PointType & | GetPickedPoint (void) const |
Self & | operator= (const ContourSpatialObjectPoint &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) |
void | SetPickedPoint (const PointType &point) |
void | SetPickedPoint (const double pointx, const double pointy) |
void | SetPickedPoint (const double pointx, const double pointy, const double pointz) |
virtual | ~ContourSpatialObjectPoint (void) |
Public Member Functions inherited from itk::SpatialObjectPoint< TPointDimension > | |
float | GetAlpha (void) const |
float | GetBlue (void) const |
const PixelType & | GetColor (void) const |
float | GetGreen (void) const |
int | GetID (void) const |
const PointType & | GetPosition (void) const |
float | GetRed (void) 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 (void) | |
virtual | ~SpatialObjectPoint (void) |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
VectorType | m_Normal |
PointType | m_PickedPoint |
Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension > | |
PixelType | m_Color |
int | m_ID |
PointType | m_X |
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.
typedef Point< double, TPointDimension > itk::ContourSpatialObjectPoint< TPointDimension >::PointType |
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
Definition at line 44 of file itkContourSpatialObjectPoint.h.
typedef ContourSpatialObjectPoint itk::ContourSpatialObjectPoint< TPointDimension >::Self |
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
Definition at line 42 of file itkContourSpatialObjectPoint.h.
typedef SpatialObjectPoint< TPointDimension > itk::ContourSpatialObjectPoint< TPointDimension >::Superclass |
Definition at line 43 of file itkContourSpatialObjectPoint.h.
typedef CovariantVector< double, TPointDimension > itk::ContourSpatialObjectPoint< TPointDimension >::VectorType |
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
Definition at line 45 of file itkContourSpatialObjectPoint.h.
itk::ContourSpatialObjectPoint< TPointDimension >::ContourSpatialObjectPoint | ( | void | ) |
Constructor. This one defines the number of dimensions in the ContourSpatialObjectPoint
|
virtual |
Default destructor.
const VectorType& itk::ContourSpatialObjectPoint< TPointDimension >::GetNormal | ( | void | ) | const |
Get Normal
const PointType& itk::ContourSpatialObjectPoint< TPointDimension >::GetPickedPoint | ( | void | ) | const |
Get Picked Point
Self& itk::ContourSpatialObjectPoint< TPointDimension >::operator= | ( | const ContourSpatialObjectPoint< TPointDimension > & | rhs | ) |
Copy one ContourSpatialObjectPoint to another
|
protectedvirtual |
Method to print the object.
Reimplemented from itk::SpatialObjectPoint< TPointDimension >.
void itk::ContourSpatialObjectPoint< TPointDimension >::SetNormal | ( | const VectorType & | normal | ) |
Set Normal
void itk::ContourSpatialObjectPoint< TPointDimension >::SetNormal | ( | const double | normalx, |
const double | normaly | ||
) |
void itk::ContourSpatialObjectPoint< TPointDimension >::SetNormal | ( | const double | normalx, |
const double | normaly, | ||
const double | normalz | ||
) |
void itk::ContourSpatialObjectPoint< TPointDimension >::SetPickedPoint | ( | const PointType & | point | ) |
Set Picked Point
void itk::ContourSpatialObjectPoint< TPointDimension >::SetPickedPoint | ( | const double | pointx, |
const double | pointy | ||
) |
void itk::ContourSpatialObjectPoint< TPointDimension >::SetPickedPoint | ( | const double | pointx, |
const double | pointy, | ||
const double | pointz | ||
) |
|
protected |
Definition at line 81 of file itkContourSpatialObjectPoint.h.
|
protected |
Definition at line 82 of file itkContourSpatialObjectPoint.h.