Skip to content


Inherits from vnl_matrix< double >, shapeworks::Observer

Inherited by shapeworks::LinearRegressionShapeMatrix, shapeworks::MixedEffectsShapeMatrix

Public Types

typedef double DataType
typedef LegacyShapeMatrix Self
typedef Observer Superclass
typedef itk::SmartPointer< Self > Pointer
typedef itk::SmartPointer< const Self > ConstPointer
typedef itk::WeakPointer< const Self > ConstWeakPointer

Public Functions

itkNewMacro(Self )
virtual Observer void DomainAddEventCallback(Object * , const itk::EventObject & e)
virtual void ResizeMatrix(int rs, int cs)
virtual void PositionAddEventCallback(Object * o, const itk::EventObject & e)
virtual void PositionSetEventCallback(Object * o, const itk::EventObject & e)
virtual void PositionRemoveEventCallback(Object * , const itk::EventObject & )
void PrintMatrix()
bool CheckForNans()
void SetDomainsPerShape(int i)
int GetDomainsPerShape() const
virtual void BeforeIteration()
virtual void AfterIteration()
virtual void SetMatrix(const vnl_matrix< double > & m)

Protected Functions

virtual ~LegacyShapeMatrix()
void PrintSelf(std::ostream & os, itk::Indent indent) const

Protected Attributes

int m_DomainsPerShape

Additional inherited members

Public Classes inherited from shapeworks::Observer

struct DefinedCallbacksStruct

Public Functions inherited from shapeworks::Observer

itkTypeMacro(Observer , DataObject )
virtual void TransformSetEventCallback(Object * , const itk::EventObject & )
virtual void PrefixTransformSetEventCallback(Object * , const itk::EventObject & )
virtual void NeighborhoodSetEventCallback(Object * , const itk::EventObject & )

Protected Functions inherited from shapeworks::Observer

virtual ~Observer()

Public Attributes inherited from shapeworks::Observer

DefinedCallbacksStruct m_DefinedCallbacks

Public Types Documentation

typedef DataType

typedef double shapeworks::LegacyShapeMatrix::DataType;

Standard class typedefs

typedef Self

typedef LegacyShapeMatrix shapeworks::LegacyShapeMatrix::Self;

typedef Superclass

typedef Observer shapeworks::LegacyShapeMatrix::Superclass;

typedef Pointer

typedef itk::SmartPointer<Self> shapeworks::LegacyShapeMatrix::Pointer;

typedef ConstPointer

typedef itk::SmartPointer<const Self> shapeworks::LegacyShapeMatrix::ConstPointer;

typedef ConstWeakPointer

typedef itk::WeakPointer<const Self> shapeworks::LegacyShapeMatrix::ConstWeakPointer;

Public Functions Documentation

function itkNewMacro


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

function DomainAddEventCallback

inline virtual Observer void DomainAddEventCallback(
    Object * ,
    const itk::EventObject & e

Reimplements: shapeworks::Observer::DomainAddEventCallback

Reimplemented by: shapeworks::LinearRegressionShapeMatrix::DomainAddEventCallback, shapeworks::MixedEffectsShapeMatrix::DomainAddEventCallback

Callbacks that may be defined by a subclass. If a subclass defines one of these callback methods, the corresponding flag in m_DefinedCallbacks should be set to true so that the ParticleSystem will know to register the appropriate event with this method.

function ResizeMatrix

inline virtual void ResizeMatrix(
    int rs,
    int cs

function PositionAddEventCallback

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

Reimplements: shapeworks::Observer::PositionAddEventCallback

Reimplemented by: shapeworks::LinearRegressionShapeMatrix::PositionAddEventCallback, shapeworks::MixedEffectsShapeMatrix::PositionAddEventCallback

function PositionSetEventCallback

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

Reimplements: shapeworks::Observer::PositionSetEventCallback

Reimplemented by: shapeworks::LinearRegressionShapeMatrix::PositionSetEventCallback, shapeworks::MixedEffectsShapeMatrix::PositionSetEventCallback

function PositionRemoveEventCallback

inline virtual void PositionRemoveEventCallback(
    Object * ,
    const itk::EventObject & 

Reimplements: shapeworks::Observer::PositionRemoveEventCallback

Reimplemented by: shapeworks::LinearRegressionShapeMatrix::PositionRemoveEventCallback, shapeworks::MixedEffectsShapeMatrix::PositionRemoveEventCallback

function PrintMatrix

inline void PrintMatrix()

function CheckForNans

inline bool CheckForNans()

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 BeforeIteration

inline virtual void BeforeIteration()

Reimplemented by: shapeworks::LinearRegressionShapeMatrix::BeforeIteration, shapeworks::MixedEffectsShapeMatrix::BeforeIteration

function AfterIteration

inline virtual void AfterIteration()

function SetMatrix

inline virtual void SetMatrix(
    const vnl_matrix< double > & m

Protected Functions Documentation

function LegacyShapeMatrix

inline LegacyShapeMatrix()

function ~LegacyShapeMatrix

inline virtual ~LegacyShapeMatrix()

function PrintSelf

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

Protected Attributes Documentation

variable m_DomainsPerShape

int m_DomainsPerShape;

Updated on 2024-03-17 at 12:58:44 -0600