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

#include <itkSurfaceSpatialObjectPoint.h>

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

Detailed Description

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

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

See Also
SpatialObjectPoint
Examples:
Examples/SpatialObjects/SurfaceSpatialObject.cxx.

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 VectorTypeGetNormal () const
 
Selfoperator= (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 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
 

Protected Attributes

VectorType m_Normal
 
- 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::SurfaceSpatialObjectPoint< TPointDimension >::PointType

Definition at line 45 of file itkSurfaceSpatialObjectPoint.h.

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

Definition at line 43 of file itkSurfaceSpatialObjectPoint.h.

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

Definition at line 44 of file itkSurfaceSpatialObjectPoint.h.

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

Definition at line 46 of file itkSurfaceSpatialObjectPoint.h.

Constructor & Destructor Documentation

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

Constructor

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

Destructor

Member Function Documentation

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

Get Normal

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

Copy one SurfaceSpatialObjectPoint to another

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

Method to print the object.

Reimplemented from itk::SpatialObjectPoint< TPointDimension >.

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

Set Normal

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

Member Data Documentation

template<unsigned int TPointDimension = 3>
VectorType itk::SurfaceSpatialObjectPoint< TPointDimension >::m_Normal
protected

Definition at line 70 of file itkSurfaceSpatialObjectPoint.h.


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