Skip to content

shapeworks::LegacyShapeMatrix

Inherits from vnl_matrix< double >, shapeworks::Observer

Inherited by shapeworks::LinearRegressionShapeMatrix, shapeworks::MixedEffectsShapeMatrix

Public Types

Name
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

Name
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 before_iteration()
virtual void after_iteration()
virtual void SetMatrix(const vnl_matrix< double > & m)

Protected Functions

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

Protected Attributes

Name
int m_DomainsPerShape

Additional inherited members

Public Classes inherited from shapeworks::Observer

Name
struct DefinedCallbacksStruct

Public Functions inherited from shapeworks::Observer

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

Protected Functions inherited from shapeworks::Observer

Name
Observer()
virtual ~Observer()

Public Attributes inherited from shapeworks::Observer

Name
DefinedCallbacksStruct m_DefinedCallbacks

Public Types Documentation

typedef DataType

cpp typedef double shapeworks::LegacyShapeMatrix::DataType;

Standard class typedefs

typedef Self

cpp typedef LegacyShapeMatrix shapeworks::LegacyShapeMatrix::Self;

typedef Superclass

cpp typedef Observer shapeworks::LegacyShapeMatrix::Superclass;

typedef Pointer

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

typedef ConstPointer

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

typedef ConstWeakPointer

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

Public Functions Documentation

function itkNewMacro

cpp itkNewMacro( Self )

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

function DomainAddEventCallback

cpp 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

cpp inline virtual void ResizeMatrix( int rs, int cs )

function PositionAddEventCallback

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

Reimplements: shapeworks::Observer::PositionAddEventCallback

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

function PositionSetEventCallback

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

Reimplements: shapeworks::Observer::PositionSetEventCallback

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

function PositionRemoveEventCallback

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

Reimplements: shapeworks::Observer::PositionRemoveEventCallback

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

function PrintMatrix

cpp inline void PrintMatrix()

function CheckForNans

cpp inline bool CheckForNans()

function SetDomainsPerShape

cpp 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

cpp inline int GetDomainsPerShape() const

function before_iteration

cpp inline virtual void before_iteration()

function after_iteration

cpp inline virtual void after_iteration()

function SetMatrix

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

Protected Functions Documentation

function LegacyShapeMatrix

cpp inline LegacyShapeMatrix()

function ~LegacyShapeMatrix

cpp inline virtual ~LegacyShapeMatrix()

function PrintSelf

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

Protected Attributes Documentation

variable m_DomainsPerShape

cpp int m_DomainsPerShape;


Updated on 2026-03-31 at 16:02:10 +0000