MatrixDouble Class Reference

The MatrixDouble class. More...

#include <ArmarXCore/util/variants/eigen3/MatrixVariant.h>

+ Inheritance diagram for MatrixDouble:

Public Member Functions

VariantDataClassPtr clone (const Ice::Current &c=Ice::emptyCurrent) const override
 
void deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
 
VariantTypeId getType (const Ice::Current &c=Ice::emptyCurrent) const override
 
Ice::ObjectPtr ice_clone () const override
 
 MatrixDouble (const Eigen::MatrixXd &)
 
 MatrixDouble (int rows, int cols)
 
 MatrixDouble (int rows, int cols, const std::vector< double > &entries)
 
double & operator() (const int x, const int y)
 
std::string output (const Ice::Current &c=Ice::emptyCurrent) const override
 
void serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
 
virtual Eigen::MatrixXd toEigen () const
 
std::string toJsonRowMajor ()
 
bool validate (const Ice::Current &c=Ice::emptyCurrent) override
 

Protected Member Functions

 MatrixDouble ()
 

Friends

template<class BaseClass , class VariantClass >
class GenericFactory
 
std::ostream & operator<< (std::ostream &stream, const MatrixDouble &rhs)
 

Detailed Description

The MatrixDouble class.

Definition at line 114 of file MatrixVariant.h.

Constructor & Destructor Documentation

◆ MatrixDouble() [1/4]

MatrixDouble ( )
protected

Definition at line 192 of file MatrixVariant.cpp.

+ Here is the caller graph for this function:

◆ MatrixDouble() [2/4]

MatrixDouble ( int  rows,
int  cols 
)

Definition at line 198 of file MatrixVariant.cpp.

◆ MatrixDouble() [3/4]

MatrixDouble ( const Eigen::MatrixXd &  m)

Definition at line 205 of file MatrixVariant.cpp.

◆ MatrixDouble() [4/4]

MatrixDouble ( int  rows,
int  cols,
const std::vector< double > &  entries 
)

Definition at line 223 of file MatrixVariant.cpp.

Member Function Documentation

◆ clone()

VariantDataClassPtr clone ( const Ice::Current &  c = Ice::emptyCurrent) const
inlineoverride

Definition at line 134 of file MatrixVariant.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deserialize()

void deserialize ( const armarx::ObjectSerializerBasePtr &  serializer,
const ::Ice::Current &  = Ice::emptyCurrent 
)
override

Definition at line 305 of file MatrixVariant.cpp.

+ Here is the call graph for this function:

◆ getType()

VariantTypeId getType ( const Ice::Current &  c = Ice::emptyCurrent) const
inlineoverride

Definition at line 144 of file MatrixVariant.h.

◆ ice_clone()

Ice::ObjectPtr ice_clone ( ) const
inlineoverride

Definition at line 130 of file MatrixVariant.h.

+ Here is the call graph for this function:

◆ operator()()

double & operator() ( const int  x,
const int  y 
)

Definition at line 254 of file MatrixVariant.cpp.

◆ output()

std::string output ( const Ice::Current &  c = Ice::emptyCurrent) const
inlineoverride

Definition at line 138 of file MatrixVariant.h.

+ Here is the call graph for this function:

◆ serialize()

void serialize ( const armarx::ObjectSerializerBasePtr &  serializer,
const ::Ice::Current &  = Ice::emptyCurrent 
) const
override

Definition at line 282 of file MatrixVariant.cpp.

+ Here is the call graph for this function:

◆ toEigen()

Eigen::MatrixXd toEigen ( ) const
virtual

Definition at line 237 of file MatrixVariant.cpp.

+ Here is the caller graph for this function:

◆ toJsonRowMajor()

std::string toJsonRowMajor ( )

Definition at line 259 of file MatrixVariant.cpp.

◆ validate()

bool validate ( const Ice::Current &  c = Ice::emptyCurrent)
inlineoverride

Definition at line 148 of file MatrixVariant.h.

Friends And Related Function Documentation

◆ GenericFactory

friend class GenericFactory
friend

Definition at line 117 of file MatrixVariant.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const MatrixDouble rhs 
)
friend

Definition at line 158 of file MatrixVariant.h.


The documentation for this class was generated from the following files: