Skip to content

shapeworks::MixedEffectsShapeMatrix

Inherits from shapeworks::LegacyShapeMatrix, vnl_matrix< double >, shapeworks::Observer

Public Types

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

Public Functions

Name
itkNewMacro(Self )
itkTypeMacro(MixedEffectsShapeMatrix , LegacyShapeMatrix )
void UpdateMeanMatrix()
vnl_vector< double > ComputeMean(double k) const
void ResizeParameters(unsigned int n)
virtual void ResizeMeanMatrix(int rs, int cs)
void ResizeExplanatory(unsigned int n)
virtual void DomainAddEventCallback(Object * , const itk::EventObject & e)
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 SetDomainsPerShape(int i)
int GetDomainsPerShape() const
void SetTimeptsPerIndividual(int i)
int GetTimeptsPerIndividual() const
void SetExplanatory(std::vector< double > v)
void SetExplanatory(unsigned int i, double q)
const double & GetExplanatory(unsigned int i) const
double & GetExplanatory(unsigned int i)
const vnl_vector< double > & GetSlope() const
const vnl_vector< double > & GetIntercept() const
const vnl_matrix< double > & GetSlopeRandom() const
const vnl_matrix< double > & GetInterceptRandom() const
void SetSlope(const std::vector< double > & v)
void SetIntercept(const std::vector< double > & v)
void EstimateParameters()
void Initialize()
virtual void BeforeIteration()
void SetRegressionInterval(int i)
int GetRegressionInterval() const

Protected Functions

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

Additional inherited members

Public Functions inherited from shapeworks::LegacyShapeMatrix

Name
virtual void ResizeMatrix(int rs, int cs)
void PrintMatrix()
bool CheckForNans()
virtual void before_iteration()
virtual void after_iteration()
virtual void SetMatrix(const vnl_matrix< double > & m)

Protected Functions inherited from shapeworks::LegacyShapeMatrix

Name
LegacyShapeMatrix()
virtual ~LegacyShapeMatrix()

Protected Attributes inherited from shapeworks::LegacyShapeMatrix

Name
int m_DomainsPerShape

Public Classes inherited from shapeworks::Observer

Name
struct DefinedCallbacksStruct

Public Functions inherited from shapeworks::Observer

Name
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::MixedEffectsShapeMatrix::DataType;

Standard class typedefs

typedef Self

cpp typedef MixedEffectsShapeMatrix shapeworks::MixedEffectsShapeMatrix::Self;

typedef Superclass

cpp typedef LegacyShapeMatrix shapeworks::MixedEffectsShapeMatrix::Superclass;

typedef Pointer

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

typedef ConstPointer

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

typedef ConstWeakPointer

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

Public Functions Documentation

function itkNewMacro

cpp itkNewMacro( Self )

Method for creation through the object factory.

function itkTypeMacro

cpp itkTypeMacro( MixedEffectsShapeMatrix , LegacyShapeMatrix )

Run-time type information (and related methods).

function UpdateMeanMatrix

cpp inline void UpdateMeanMatrix()

function ComputeMean

cpp inline vnl_vector< double > ComputeMean( double k ) const

function ResizeParameters

cpp inline void ResizeParameters( unsigned int n )

function ResizeMeanMatrix

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

function ResizeExplanatory

cpp inline void ResizeExplanatory( unsigned int n )

function DomainAddEventCallback

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

Reimplements: shapeworks::LegacyShapeMatrix::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 PositionAddEventCallback

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

Reimplements: shapeworks::LegacyShapeMatrix::PositionAddEventCallback

function PositionSetEventCallback

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

Reimplements: shapeworks::LegacyShapeMatrix::PositionSetEventCallback

function PositionRemoveEventCallback

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

Reimplements: shapeworks::LegacyShapeMatrix::PositionRemoveEventCallback

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 SetTimeptsPerIndividual

cpp inline void SetTimeptsPerIndividual( int i )

function GetTimeptsPerIndividual

cpp inline int GetTimeptsPerIndividual() const

function SetExplanatory

cpp inline void SetExplanatory( std::vector< double > v )

function SetExplanatory

cpp inline void SetExplanatory( unsigned int i, double q )

function GetExplanatory

cpp inline const double & GetExplanatory( unsigned int i ) const

function GetExplanatory

cpp inline double & GetExplanatory( unsigned int i )

function GetSlope

cpp inline const vnl_vector< double > & GetSlope() const

function GetIntercept

cpp inline const vnl_vector< double > & GetIntercept() const

function GetSlopeRandom

cpp inline const vnl_matrix< double > & GetSlopeRandom() const

function GetInterceptRandom

cpp inline const vnl_matrix< double > & GetInterceptRandom() const

function SetSlope

cpp inline void SetSlope( const std::vector< double > & v )

function SetIntercept

cpp inline void SetIntercept( const std::vector< double > & v )

function EstimateParameters

cpp inline void EstimateParameters()

function Initialize

cpp inline void Initialize()

function BeforeIteration

cpp inline virtual void BeforeIteration()

function SetRegressionInterval

cpp inline void SetRegressionInterval( int i )

function GetRegressionInterval

cpp inline int GetRegressionInterval() const

Protected Functions Documentation

function MixedEffectsShapeMatrix

cpp inline MixedEffectsShapeMatrix()

function ~MixedEffectsShapeMatrix

cpp inline virtual ~MixedEffectsShapeMatrix()

function PrintSelf

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


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