ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
itk::ContourSpatialObjectPoint< TPointDimension > Class Template Reference

#include <itkContourSpatialObjectPoint.h>

+ Inheritance diagram for itk::ContourSpatialObjectPoint< TPointDimension >:
+ Collaboration diagram for itk::ContourSpatialObjectPoint< TPointDimension >:

Detailed Description

template<unsigned int TPointDimension = 3>
class itk::ContourSpatialObjectPoint< TPointDimension >

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.

See Also
SpatialObjectPoint

Definition at line 37 of file 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
 
typedef Point< double,
TPointDimension > 
PointType
 
typedef SpatialObjectPoint Self
 
typedef vnl_vector< double > VectorType
 

Public Member Functions

 ContourSpatialObjectPoint ()
 
const VectorTypeGetNormal () const
 
const PointTypeGetPickedPoint () const
 
Selfoperator= (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 () override
 
- Public Member Functions inherited from itk::SpatialObjectPoint< TPointDimension >
float GetAlpha () const
 
float GetBlue () const
 
const PixelTypeGetColor () const
 
float GetGreen () const
 
int GetID () const
 
const PointTypeGetPosition () const
 
float GetRed () const
 
Selfoperator= (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
 

Private Attributes

VectorType m_Normal
 
PointType m_PickedPoint
 

Additional Inherited Members

- Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension >
PixelType m_Color
 
int m_ID
 
PointType m_X
 

Member Typedef Documentation

template<unsigned int TPointDimension = 3>
typedef Point< double, TPointDimension > itk::ContourSpatialObjectPoint< TPointDimension >::PointType

Definition at line 44 of file itkContourSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef ContourSpatialObjectPoint itk::ContourSpatialObjectPoint< TPointDimension >::Self

Definition at line 42 of file itkContourSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef SpatialObjectPoint< TPointDimension > itk::ContourSpatialObjectPoint< TPointDimension >::Superclass

Definition at line 43 of file itkContourSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
typedef CovariantVector< double, TPointDimension > itk::ContourSpatialObjectPoint< TPointDimension >::VectorType

Definition at line 45 of file itkContourSpatialObjectPoint.h.

Constructor & Destructor Documentation

template<unsigned int TPointDimension = 3>
itk::ContourSpatialObjectPoint< TPointDimension >::ContourSpatialObjectPoint ( )

Constructor. This one defines the number of dimensions in the ContourSpatialObjectPoint

template<unsigned int TPointDimension = 3>
virtual itk::ContourSpatialObjectPoint< TPointDimension >::~ContourSpatialObjectPoint ( )
overridevirtual

Default destructor.

Member Function Documentation

template<unsigned int TPointDimension = 3>
const VectorType& itk::ContourSpatialObjectPoint< TPointDimension >::GetNormal ( ) const

Get the normal.

template<unsigned int TPointDimension = 3>
const PointType& itk::ContourSpatialObjectPoint< TPointDimension >::GetPickedPoint ( ) const

Get the picked point.

template<unsigned int TPointDimension = 3>
Self& itk::ContourSpatialObjectPoint< TPointDimension >::operator= ( const ContourSpatialObjectPoint< TPointDimension > &  rhs)

Copy a surface point to another.

template<unsigned int TPointDimension = 3>
virtual void itk::ContourSpatialObjectPoint< TPointDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

PrintSelf method

Reimplemented from itk::SpatialObjectPoint< TPointDimension >.

template<unsigned int TPointDimension = 3>
void itk::ContourSpatialObjectPoint< TPointDimension >::SetNormal ( const VectorType normal)

Set the normal : N-D case.

template<unsigned int TPointDimension = 3>
void itk::ContourSpatialObjectPoint< TPointDimension >::SetNormal ( const double  normalx,
const double  normaly 
)

Set the normal : 2D case.

template<unsigned int TPointDimension = 3>
void itk::ContourSpatialObjectPoint< TPointDimension >::SetNormal ( const double  normalx,
const double  normaly,
const double  normalz 
)

Set the normal : 3D case.

template<unsigned int TPointDimension = 3>
void itk::ContourSpatialObjectPoint< TPointDimension >::SetPickedPoint ( const PointType point)

Set the picked point : N-D case.

template<unsigned int TPointDimension = 3>
void itk::ContourSpatialObjectPoint< TPointDimension >::SetPickedPoint ( const double  pointx,
const double  pointy 
)

Set the picked point : 2D case.

template<unsigned int TPointDimension = 3>
void itk::ContourSpatialObjectPoint< TPointDimension >::SetPickedPoint ( const double  pointx,
const double  pointy,
const double  pointz 
)

Set the picked point : 3D case.

Member Data Documentation

template<unsigned int TPointDimension = 3>
VectorType itk::ContourSpatialObjectPoint< TPointDimension >::m_Normal
private

Definition at line 89 of file itkContourSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
PointType itk::ContourSpatialObjectPoint< TPointDimension >::m_PickedPoint
private

Definition at line 90 of file itkContourSpatialObjectPoint.h.


The documentation for this class was generated from the following file: