MatrixFloat Class Reference

The MatrixFloat class. More...

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

+ Inheritance diagram for MatrixFloat:

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
 
 MatrixFloat (const Eigen::MatrixXf &)
 
 MatrixFloat (int rows, int cols)
 
 MatrixFloat (int rows, int cols, const std::vector< float > &entries)
 
floatoperator() (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::MatrixXf toEigen () const
 
std::string toJsonRowMajor ()
 
std::vector< floattoVector () const
 
bool validate (const Ice::Current &c=Ice::emptyCurrent) override
 

Protected Member Functions

 MatrixFloat ()
 

Friends

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

Detailed Description

The MatrixFloat class.

Definition at line 48 of file MatrixVariant.h.

Constructor & Destructor Documentation

◆ MatrixFloat() [1/4]

MatrixFloat ( )
protected

Definition at line 37 of file MatrixVariant.cpp.

+ Here is the caller graph for this function:

◆ MatrixFloat() [2/4]

MatrixFloat ( int  rows,
int  cols 
)

Definition at line 43 of file MatrixVariant.cpp.

◆ MatrixFloat() [3/4]

MatrixFloat ( const Eigen::MatrixXf &  m)

Definition at line 50 of file MatrixVariant.cpp.

◆ MatrixFloat() [4/4]

MatrixFloat ( int  rows,
int  cols,
const std::vector< float > &  entries 
)

Definition at line 68 of file MatrixVariant.cpp.

Member Function Documentation

◆ clone()

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

Definition at line 70 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 155 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 80 of file MatrixVariant.h.

◆ ice_clone()

Ice::ObjectPtr ice_clone ( ) const
inlineoverride

Definition at line 66 of file MatrixVariant.h.

+ Here is the call graph for this function:

◆ operator()()

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

Definition at line 104 of file MatrixVariant.cpp.

◆ output()

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

Definition at line 74 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 132 of file MatrixVariant.cpp.

+ Here is the call graph for this function:

◆ toEigen()

Eigen::MatrixXf toEigen ( ) const
virtual

Definition at line 82 of file MatrixVariant.cpp.

+ Here is the caller graph for this function:

◆ toJsonRowMajor()

std::string toJsonRowMajor ( )

Definition at line 109 of file MatrixVariant.cpp.

◆ toVector()

std::vector< float > toVector ( ) const

Definition at line 99 of file MatrixVariant.cpp.

◆ validate()

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

Definition at line 84 of file MatrixVariant.h.

Friends And Related Function Documentation

◆ GenericFactory

friend class GenericFactory
friend

Definition at line 51 of file MatrixVariant.h.

◆ operator<<

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

Definition at line 93 of file MatrixVariant.h.


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