ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput > Class Template Reference

#include <itkTorusInteriorExteriorSpatialFunction.h>

Detailed Description

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
class itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >

Spatial function implementation of torus symmetric about the z-axis in 3D.

Handle with care! May behave in strange ways when used with dimensions other than 3

Definition at line 40 of file itkTorusInteriorExteriorSpatialFunction.h.

+ Inheritance diagram for itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >:
+ Collaboration diagram for itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = TorusInteriorExteriorSpatialFunction
 
using Superclass = InteriorExteriorSpatialFunction< VDimension, TInput >
 
- Public Types inherited from itk::InteriorExteriorSpatialFunction< VDimension, TInput >
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = InteriorExteriorSpatialFunction
 
using Superclass = SpatialFunction< bool, VDimension, TInput >
 
- Public Types inherited from itk::SpatialFunction< bool, VDimension, TInput >
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = SpatialFunction
 
using Superclass = FunctionBase< TInput, bool >
 
- Public Types inherited from itk::FunctionBase< TInput, bool >
using ConstPointer = SmartPointer< const Self >
 
using InputType = TInput
 
using OutputType = bool
 
using Pointer = SmartPointer< Self >
 
using Self = FunctionBase
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

OutputType Evaluate (const InputType &position) const override
 
const char * GetNameOfClass () const override
 
virtual InputType GetOrigin () const
 
virtual void SetOrigin (InputType _arg)
 
virtual double GetMajorRadius () const
 
virtual void SetMajorRadius (double _arg)
 
virtual double GetMinorRadius () const
 
virtual void SetMinorRadius (double _arg)
 
- Public Member Functions inherited from itk::SpatialFunction< bool, VDimension, TInput >
const char * GetNameOfClass () const override
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const override
 
 TorusInteriorExteriorSpatialFunction ()=default
 
 ~TorusInteriorExteriorSpatialFunction () override=default
 
- Protected Member Functions inherited from itk::InteriorExteriorSpatialFunction< VDimension, TInput >
 InteriorExteriorSpatialFunction ()=default
 
 ~InteriorExteriorSpatialFunction () override=default
 
- Protected Member Functions inherited from itk::SpatialFunction< bool, VDimension, TInput >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 SpatialFunction ()=default
 
 ~SpatialFunction () override=default
 
- Protected Member Functions inherited from itk::FunctionBase< TInput, bool >
 FunctionBase ()=default
 
 ~FunctionBase () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

double m_MajorRadius { 3.0 }
 
double m_MinorRadius { 1.0 }
 
InputType m_Origin {}
 

Additional Inherited Members

- Static Public Attributes inherited from itk::SpatialFunction< bool, VDimension, TInput >
static constexpr unsigned int ImageDimension
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstPointer

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
using itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::ConstPointer = SmartPointer<const Self>

Definition at line 50 of file itkTorusInteriorExteriorSpatialFunction.h.

◆ Pointer

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
using itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::Pointer = SmartPointer<Self>

Definition at line 49 of file itkTorusInteriorExteriorSpatialFunction.h.

◆ Self

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
using itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::Self = TorusInteriorExteriorSpatialFunction

Standard class type aliases.

Definition at line 47 of file itkTorusInteriorExteriorSpatialFunction.h.

◆ Superclass

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
using itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::Superclass = InteriorExteriorSpatialFunction<VDimension, TInput>

Definition at line 48 of file itkTorusInteriorExteriorSpatialFunction.h.

Constructor & Destructor Documentation

◆ TorusInteriorExteriorSpatialFunction()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::TorusInteriorExteriorSpatialFunction ( )
protecteddefault

◆ ~TorusInteriorExteriorSpatialFunction()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::~TorusInteriorExteriorSpatialFunction ( )
overrideprotecteddefault

Member Function Documentation

◆ Evaluate()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
OutputType itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::Evaluate ( const InputType position) const
overridevirtual

Evaluates the function at a given position.

Implements itk::InteriorExteriorSpatialFunction< VDimension, TInput >.

◆ GetMajorRadius()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
virtual double itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::GetMajorRadius ( ) const
virtual

Set/Get the major radius of the torus.

◆ GetMinorRadius()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
virtual double itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::GetMinorRadius ( ) const
virtual

Set/Get the minor radius of the torus (radius of tube).

◆ GetNameOfClass()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
const char* itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::GetNameOfClass ( ) const
overridevirtual

◆ GetOrigin()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
virtual InputType itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::GetOrigin ( ) const
virtual

Set/Get the origin of the torus (the point from which the major radius is measured).

◆ New()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
static Pointer itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
void itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::InteriorExteriorSpatialFunction< VDimension, TInput >.

◆ SetMajorRadius()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
virtual void itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::SetMajorRadius ( double  _arg)
virtual

Set/Get the major radius of the torus.

◆ SetMinorRadius()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
virtual void itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::SetMinorRadius ( double  _arg)
virtual

Set/Get the minor radius of the torus (radius of tube).

◆ SetOrigin()

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
virtual void itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::SetOrigin ( InputType  _arg)
virtual

Set/Get the origin of the torus (the point from which the major radius is measured).

Member Data Documentation

◆ m_MajorRadius

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
double itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::m_MajorRadius { 3.0 }
private

Definition at line 92 of file itkTorusInteriorExteriorSpatialFunction.h.

◆ m_MinorRadius

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
double itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::m_MinorRadius { 1.0 }
private

Definition at line 93 of file itkTorusInteriorExteriorSpatialFunction.h.

◆ m_Origin

template<unsigned int VDimension = 3, typename TInput = Point<double, VDimension>>
InputType itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >::m_Origin {}
private

Definition at line 91 of file itkTorusInteriorExteriorSpatialFunction.h.


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