Skip to content

itk::ParticleGeneralShapeGradientMatrix

Each column describes a shape. A shape may be composed of m_DomainsPerShape domains (default 1). ALL DOMAINS ARE NOT ASSUMED TO HAVE THE SAME NUMBER OF PARTICLES! More...

#include <itkParticleGeneralShapeGradientMatrix.h>

Inherits from vnl_matrix< T >, itk::ParticleAttribute< VDimension >

Public Types

Name
typedef T DataType
typedef ParticleGeneralShapeGradientMatrix Self
typedef ParticleAttribute< VDimension > Superclass
typedef SmartPointer< Self > Pointer
typedef SmartPointer< const Self > ConstPointer
typedef WeakPointer< const Self > ConstWeakPointer
typedef ParticleSystem ParticleSystemType

Public Functions

Name
itkNewMacro(Self )
virtual ParticleAttribute void BeforeIteration()
virtual void AfterIteration()
void SetDomainsPerShape(int i)
int GetDomainsPerShape() const
void SetAttributesPerDomain(const std::vector< int > & i)
void SetAttributeScales(const std::vector< double > & s)
void SetXYZ(int i, bool val)
void SetNormals(int i, bool val)
virtual void SetMatrix(const vnl_matrix< T > & m)
virtual void ResizeMatrix(int rs, int cs)
void SetValues(const ParticleSystemType * ps, int idx, int d)
virtual void DomainAddEventCallback(Object * , const EventObject & e)
virtual void PositionAddEventCallback(Object * o, const EventObject & e)
virtual void PositionSetEventCallback(Object * o, const EventObject & e)
virtual void PositionRemoveEventCallback(Object * , const EventObject & )

Protected Functions

Name
ParticleGeneralShapeGradientMatrix()
virtual ~ParticleGeneralShapeGradientMatrix()
void PrintSelf(std::ostream & os, Indent indent) const

Protected Attributes

Name
int m_DomainsPerShape

Additional inherited members

Public Classes inherited from itk::ParticleAttribute< VDimension >

Name
struct DefinedCallbacksStruct

Public Functions inherited from itk::ParticleAttribute< VDimension >

Name
itkTypeMacro(ParticleAttribute , DataObject )
virtual void EventCallback(Object * , const EventObject & )
virtual void EventWithIndexCallback(Object * , const EventObject & )
virtual void TransformSetEventCallback(Object * , const EventObject & )
virtual void PrefixTransformSetEventCallback(Object * , const EventObject & )
virtual void NeighborhoodSetEventCallback(Object * , const EventObject & )

Protected Functions inherited from itk::ParticleAttribute< VDimension >

Name
ParticleAttribute()
virtual ~ParticleAttribute()

Public Attributes inherited from itk::ParticleAttribute< VDimension >

Name
DefinedCallbacksStruct m_DefinedCallbacks

Detailed Description

template <class T ,
unsigned int VDimension>
class itk::ParticleGeneralShapeGradientMatrix;

Each column describes a shape. A shape may be composed of m_DomainsPerShape domains (default 1). ALL DOMAINS ARE NOT ASSUMED TO HAVE THE SAME NUMBER OF PARTICLES!

Each column represents a single shape.

Public Types Documentation

typedef DataType

typedef T itk::ParticleGeneralShapeGradientMatrix< T, VDimension >::DataType;

Standard class typedefs

typedef Self

typedef ParticleGeneralShapeGradientMatrix itk::ParticleGeneralShapeGradientMatrix< T, VDimension >::Self;

typedef Superclass

typedef ParticleAttribute<VDimension> itk::ParticleGeneralShapeGradientMatrix< T, VDimension >::Superclass;

typedef Pointer

typedef SmartPointer<Self> itk::ParticleGeneralShapeGradientMatrix< T, VDimension >::Pointer;

typedef ConstPointer

typedef SmartPointer<const Self> itk::ParticleGeneralShapeGradientMatrix< T, VDimension >::ConstPointer;

typedef ConstWeakPointer

typedef WeakPointer<const Self> itk::ParticleGeneralShapeGradientMatrix< T, VDimension >::ConstWeakPointer;

typedef ParticleSystemType

typedef ParticleSystem itk::ParticleGeneralShapeGradientMatrix< T, VDimension >::ParticleSystemType;

Public Functions Documentation

function itkNewMacro

itkNewMacro(
    Self 
)

Method for creation through the object factory. Run-time type information (and related methods).

function BeforeIteration

inline virtual ParticleAttribute void BeforeIteration()

function AfterIteration

inline virtual void AfterIteration()

function SetDomainsPerShape

inline void SetDomainsPerShape(
    int i
)

Set/Get the number of domains per shape. This can only be safely done before shapes are initialized with points!

function GetDomainsPerShape

inline int GetDomainsPerShape() const

function SetAttributesPerDomain

inline void SetAttributesPerDomain(
    const std::vector< int > & i
)

function SetAttributeScales

inline void SetAttributeScales(
    const std::vector< double > & s
)

function SetXYZ

inline void SetXYZ(
    int i,
    bool val
)

function SetNormals

inline void SetNormals(
    int i,
    bool val
)

function SetMatrix

inline virtual void SetMatrix(
    const vnl_matrix< T > & m
)

function ResizeMatrix

inline virtual void ResizeMatrix(
    int rs,
    int cs
)

function SetValues

inline void SetValues(
    const ParticleSystemType * ps,
    int idx,
    int d
)

function DomainAddEventCallback

inline virtual void DomainAddEventCallback(
    Object * ,
    const EventObject & e
)

Reimplements: itk::ParticleAttribute::DomainAddEventCallback

function PositionAddEventCallback

inline virtual void PositionAddEventCallback(
    Object * o,
    const EventObject & e
)

Reimplements: itk::ParticleAttribute::PositionAddEventCallback

function PositionSetEventCallback

inline virtual void PositionSetEventCallback(
    Object * o,
    const EventObject & e
)

Reimplements: itk::ParticleAttribute::PositionSetEventCallback

function PositionRemoveEventCallback

inline virtual void PositionRemoveEventCallback(
    Object * ,
    const EventObject & 
)

Reimplements: itk::ParticleAttribute::PositionRemoveEventCallback

Protected Functions Documentation

function ParticleGeneralShapeGradientMatrix

inline ParticleGeneralShapeGradientMatrix()

function ~ParticleGeneralShapeGradientMatrix

inline virtual ~ParticleGeneralShapeGradientMatrix()

function PrintSelf

inline void PrintSelf(
    std::ostream & os,
    Indent indent
) const

Protected Attributes Documentation

variable m_DomainsPerShape

int m_DomainsPerShape;

Updated on 2022-07-23 at 17:50:02 -0600