ITK  5.0.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

Definition at line 38 of file itkSurfaceSpatialObjectPoint.h.

Public Types

using CovariantVectorType = CovariantVector< double, TPointDimension >
 
using PointType = Point< double, TPointDimension >
 
using Self = SurfaceSpatialObjectPoint
 
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

const CovariantVectorTypeGetNormalInObjectSpace () const
 
Selfoperator= (const SurfaceSpatialObjectPoint &rhs)
 
void SetNormalInObjectSpace (const CovariantVectorType &normal)
 
 SurfaceSpatialObjectPoint ()
 
 ~SurfaceSpatialObjectPoint () 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 PointTypeGetPositionInObjectSpace () const
 
PointType GetPositionInWorldSpace () const
 
double GetRed () const
 
Selfoperator= (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
 

Protected Attributes

CovariantVectorType m_NormalInObjectSpace
 
- Protected Attributes inherited from itk::SpatialObjectPoint< TPointDimension >
ColorType m_Color
 
int m_Id
 
PointType m_PositionInObjectSpace
 
SpatialObjectType::Pointer m_SpatialObject
 

Member Typedef Documentation

template<unsigned int TPointDimension = 3>
using itk::SurfaceSpatialObjectPoint< TPointDimension >::CovariantVectorType = CovariantVector< double, TPointDimension >

Definition at line 47 of file itkSurfaceSpatialObjectPoint.h.

template<unsigned int TPointDimension = 3>
using itk::SurfaceSpatialObjectPoint< TPointDimension >::PointType = Point< double, TPointDimension >

Definition at line 45 of file itkSurfaceSpatialObjectPoint.h.

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

Definition at line 43 of file itkSurfaceSpatialObjectPoint.h.

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

Definition at line 44 of file itkSurfaceSpatialObjectPoint.h.

Constructor & Destructor Documentation

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

Constructor

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

Destructor

Member Function Documentation

template<unsigned int TPointDimension = 3>
const CovariantVectorType& itk::SurfaceSpatialObjectPoint< TPointDimension >::GetNormalInObjectSpace ( ) 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>
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 >::SetNormalInObjectSpace ( const CovariantVectorType normal)

Set Normal

Member Data Documentation

template<unsigned int TPointDimension = 3>
CovariantVectorType itk::SurfaceSpatialObjectPoint< TPointDimension >::m_NormalInObjectSpace
protected

Definition at line 66 of file itkSurfaceSpatialObjectPoint.h.


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