shapeworks::LinearRegressionShapeMatrix
Inherits from shapeworks::LegacyShapeMatrix, vnl_matrix< double >, shapeworks::Observer
Public Types
| Name | |
|---|---|
| typedef double | DataType |
| typedef LinearRegressionShapeMatrix | 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(LinearRegressionShapeMatrix , 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 | 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 |
| 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 | |
|---|---|
| LinearRegressionShapeMatrix() | |
| virtual | ~LinearRegressionShapeMatrix() |
| 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::LinearRegressionShapeMatrix::DataType;
Standard class typedefs
typedef Self
cpp
typedef LinearRegressionShapeMatrix shapeworks::LinearRegressionShapeMatrix::Self;
typedef Superclass
cpp
typedef LegacyShapeMatrix shapeworks::LinearRegressionShapeMatrix::Superclass;
typedef Pointer
cpp
typedef itk::SmartPointer<Self> shapeworks::LinearRegressionShapeMatrix::Pointer;
typedef ConstPointer
cpp
typedef itk::SmartPointer<const Self> shapeworks::LinearRegressionShapeMatrix::ConstPointer;
typedef ConstWeakPointer
cpp
typedef itk::WeakPointer<const Self> shapeworks::LinearRegressionShapeMatrix::ConstWeakPointer;
Public Functions Documentation
function itkNewMacro
cpp
itkNewMacro(
Self
)
Method for creation through the object factory.
function itkTypeMacro
cpp
itkTypeMacro(
LinearRegressionShapeMatrix ,
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 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 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 LinearRegressionShapeMatrix
cpp
inline LinearRegressionShapeMatrix()
function ~LinearRegressionShapeMatrix
cpp
inline virtual ~LinearRegressionShapeMatrix()
function PrintSelf
cpp
inline void PrintSelf(
std::ostream & os,
itk::Indent indent
) const
Updated on 2026-03-31 at 16:02:10 +0000