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 AfterIteration()
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 & )
virtual void NeighborhoodSetEventCallback(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

typedef double shapeworks::MixedEffectsShapeMatrix::DataType;

Standard class typedefs

typedef Self

typedef MixedEffectsShapeMatrix shapeworks::MixedEffectsShapeMatrix::Self;

typedef Superclass

typedef LegacyShapeMatrix shapeworks::MixedEffectsShapeMatrix::Superclass;

typedef Pointer

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

typedef ConstPointer

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

typedef ConstWeakPointer

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

Public Functions Documentation

function itkNewMacro

itkNewMacro(
    Self 
)

Method for creation through the object factory.

function itkTypeMacro

itkTypeMacro(
    MixedEffectsShapeMatrix ,
    LegacyShapeMatrix 
)

Run-time type information (and related methods).

function UpdateMeanMatrix

inline void UpdateMeanMatrix()

function ComputeMean

inline vnl_vector< double > ComputeMean(
    double k
) const

function ResizeParameters

inline void ResizeParameters(
    unsigned int n
)

function ResizeMeanMatrix

inline virtual void ResizeMeanMatrix(
    int rs,
    int cs
)

function ResizeExplanatory

inline void ResizeExplanatory(
    unsigned int n
)

function DomainAddEventCallback

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

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

Reimplements: shapeworks::LegacyShapeMatrix::PositionAddEventCallback

function PositionSetEventCallback

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

Reimplements: shapeworks::LegacyShapeMatrix::PositionSetEventCallback

function PositionRemoveEventCallback

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

Reimplements: shapeworks::LegacyShapeMatrix::PositionRemoveEventCallback

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 SetTimeptsPerIndividual

inline void SetTimeptsPerIndividual(
    int i
)

function GetTimeptsPerIndividual

inline int GetTimeptsPerIndividual() const

function SetExplanatory

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

function SetExplanatory

inline void SetExplanatory(
    unsigned int i,
    double q
)

function GetExplanatory

inline const double & GetExplanatory(
    unsigned int i
) const

function GetExplanatory

inline double & GetExplanatory(
    unsigned int i
)

function GetSlope

inline const vnl_vector< double > & GetSlope() const

function GetIntercept

inline const vnl_vector< double > & GetIntercept() const

function GetSlopeRandom

inline const vnl_matrix< double > & GetSlopeRandom() const

function GetInterceptRandom

inline const vnl_matrix< double > & GetInterceptRandom() const

function SetSlope

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

function SetIntercept

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

function EstimateParameters

inline void EstimateParameters()

function Initialize

inline void Initialize()

function BeforeIteration

inline virtual void BeforeIteration()

Reimplements: shapeworks::LegacyShapeMatrix::BeforeIteration

function SetRegressionInterval

inline void SetRegressionInterval(
    int i
)

function GetRegressionInterval

inline int GetRegressionInterval() const

Protected Functions Documentation

function MixedEffectsShapeMatrix

inline MixedEffectsShapeMatrix()

function ~MixedEffectsShapeMatrix

inline virtual ~MixedEffectsShapeMatrix()

function PrintSelf

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

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