SOFA plugin: SofaMatrix  master
Open source framework for multi-physics simuation
sofa::type::BaseMatrixImageProxy Struct Reference

#include <BaseMatrixImageProxy.h>

A simple proxy of a BaseMatrix, compatible with a Data that can be visualized in the GUI, as a bitmap, with a BaseMatrixImageViewerWidget. More...

Detailed Description

A simple proxy of a BaseMatrix, compatible with a Data that can be visualized in the GUI, as a bitmap, with a BaseMatrixImageViewerWidget.

Protected Attributes

linearalgebra::BaseMatrixm_matrix { nullptr }
 

Public Member Functions

 BaseMatrixImageProxy ()
 
linearalgebra::BaseMatrixgetMatrix () const
 
void setMatrix (linearalgebra::BaseMatrix *m_matrix)
 

Static Public Member Functions

static const char * Name ()
 

Friends

std::istream & operator>> (std::istream &in, BaseMatrixImageProxy &)
 
std::ostream & operator<< (std::ostream &out, const BaseMatrixImageProxy &p)
 

Attribute details

◆ m_matrix

linearalgebra::BaseMatrix* sofa::type::BaseMatrixImageProxy::m_matrix { nullptr }
protected

Constructor details

◆ BaseMatrixImageProxy()

sofa::type::BaseMatrixImageProxy::BaseMatrixImageProxy ( )
inline

Function details

◆ getMatrix()

linearalgebra::BaseMatrix* sofa::type::BaseMatrixImageProxy::getMatrix ( ) const
inline

◆ Name()

static const char* sofa::type::BaseMatrixImageProxy::Name ( )
inlinestatic

◆ setMatrix()

void sofa::type::BaseMatrixImageProxy::setMatrix ( linearalgebra::BaseMatrix m_matrix)
inline

Related details

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const BaseMatrixImageProxy p 
)
friend

◆ operator>>

std::istream& operator>> ( std::istream &  in,
BaseMatrixImageProxy  
)
friend