ITK
6.0.0
Insight 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 39 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< 3 > | |
using | ColorType = RGBAPixel< double > |
using | PointDimensionType = unsigned int |
using | PointType = Point< double, TPointDimension > |
using | Self = SpatialObjectPoint |
using | SpatialObjectType = SpatialObject< TPointDimension > |
using | VectorType = vnl_vector< double > |
Public Member Functions | |
const CovariantVectorType & | GetNormalInObjectSpace () const |
const CovariantVectorType | GetNormalInWorldSpace () const |
ITK_DEFAULT_COPY_AND_MOVE (SurfaceSpatialObjectPoint) | |
void | SetNormalInObjectSpace (const CovariantVectorType &normal) |
void | SetNormalInWorldSpace (const CovariantVectorType &normal) |
SurfaceSpatialObjectPoint () | |
~SurfaceSpatialObjectPoint () override=default | |
Public Member Functions inherited from itk::SpatialObjectPoint< 3 > | |
double | GetAlpha () const |
double | GetBlue () const |
ColorType | GetColor () const |
double | GetGreen () const |
int | GetId () const |
virtual const char * | GetNameOfClass () const |
const PointType & | GetPositionInObjectSpace () const |
PointType | GetPositionInWorldSpace () const |
double | GetRed () const |
SpatialObjectType * | GetSpatialObject () const |
std::map< std::string, double > & | GetTagScalarDictionary () |
const std::map< std::string, double > & | GetTagScalarDictionary () const |
double | GetTagScalarValue (const std::string &tag) const |
bool | GetTagScalarValue (const std::string &tag, double &value) const |
ITK_DEFAULT_COPY_AND_MOVE (SpatialObjectPoint) | |
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 double firstCoordinate, const TCoordinate... otherCoordinate) |
void | SetPositionInObjectSpace (const PointType &newPositionInObjectSpace) |
void | SetPositionInWorldSpace (const PointType &point) |
void | SetRed (double r) |
void | SetSpatialObject (SpatialObjectType *so) |
void | SetTagScalarDictionary (const std::map< std::string, double > &dict) |
void | SetTagScalarValue (const std::string &tag, double value) |
SpatialObjectPoint () | |
virtual | ~SpatialObjectPoint ()=default |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
CovariantVectorType | m_NormalInObjectSpace {} |
Protected Attributes inherited from itk::SpatialObjectPoint< 3 > | |
ColorType | m_Color |
int | m_Id |
PointType | m_PositionInObjectSpace |
std::map< std::string, double > | m_ScalarDictionary |
WeakPointer< SpatialObjectType > | m_SpatialObject |
Additional Inherited Members | |
Static Public Attributes inherited from itk::SpatialObjectPoint< 3 > | |
static constexpr PointDimensionType | PointDimension |
using itk::SurfaceSpatialObjectPoint< TPointDimension >::CovariantVectorType = CovariantVector<double, TPointDimension> |
Definition at line 48 of file itkSurfaceSpatialObjectPoint.h.
using itk::SurfaceSpatialObjectPoint< TPointDimension >::PointType = Point<double, TPointDimension> |
Definition at line 46 of file itkSurfaceSpatialObjectPoint.h.
using itk::SurfaceSpatialObjectPoint< TPointDimension >::Self = SurfaceSpatialObjectPoint |
Definition at line 44 of file itkSurfaceSpatialObjectPoint.h.
using itk::SurfaceSpatialObjectPoint< TPointDimension >::Superclass = SpatialObjectPoint<TPointDimension> |
Definition at line 45 of file itkSurfaceSpatialObjectPoint.h.
itk::SurfaceSpatialObjectPoint< TPointDimension >::SurfaceSpatialObjectPoint | ( | ) |
Constructor
|
overridedefault |
Destructor
const CovariantVectorType & itk::SurfaceSpatialObjectPoint< TPointDimension >::GetNormalInObjectSpace | ( | ) | const |
Get the normal in object space.
const CovariantVectorType itk::SurfaceSpatialObjectPoint< TPointDimension >::GetNormalInWorldSpace | ( | ) | const |
Get the normal in world space.
itk::SurfaceSpatialObjectPoint< TPointDimension >::ITK_DEFAULT_COPY_AND_MOVE | ( | SurfaceSpatialObjectPoint< TPointDimension > | ) |
|
overrideprotectedvirtual |
Method to print the object.
Reimplemented from itk::SpatialObjectPoint< 3 >.
void itk::SurfaceSpatialObjectPoint< TPointDimension >::SetNormalInObjectSpace | ( | const CovariantVectorType & | normal | ) |
Set the normal in object space.
void itk::SurfaceSpatialObjectPoint< TPointDimension >::SetNormalInWorldSpace | ( | const CovariantVectorType & | normal | ) |
Set the normal in world space.
|
protected |
Definition at line 73 of file itkSurfaceSpatialObjectPoint.h.