RobWorkProject
24.12.4-
|
RenderMatrix, visualization of a matrix of values. More...
#include <RenderMatrix.hpp>
Inherits Render.
Public Types | |
typedef rw::core::Ptr< RenderMatrix > | Ptr |
smart pointer type to this class | |
Public Types inherited from Render | |
typedef rw::core::Ptr< Render > | Ptr |
smart pointer type to this class | |
typedef DrawableNode::DrawType | DrawType |
when calling render on the draw mode or type can be specified. See DrawableNode::DrawType | |
Public Member Functions | |
RenderMatrix (const std::string &id, size_t cols, size_t rows, float width, float height) | |
Constructs a RenderMatrix. More... | |
virtual | ~RenderMatrix () |
void | setValue (size_t col, size_t row, float val) |
sets the value of the texel at (col,row) | |
void | setMaxDepth (float maxlen) |
sets the max depth of the 3d boxed graph | |
void | draw (const rw::graphics::DrawableNode::RenderInfo &info, rw::graphics::DrawableNode::DrawType type, double alpha) const |
Public Member Functions inherited from Render | |
virtual | ~Render () |
destructor | |
Additional Inherited Members | |
Protected Member Functions inherited from Render | |
Render () | |
Only instances of classes inheriting Render is allowed. | |
RenderMatrix, visualization of a matrix of values.
RenderMatrix | ( | const std::string & | id, |
size_t | cols, | ||
size_t | rows, | ||
float | width, | ||
float | height | ||
) |
Constructs a RenderMatrix.
id | [in] String identifier |
cols | [in] Number of columns |
rows | [in] Number of rows |
width | [in] Width of matrix in meters |
height | [in] Height of matrix in meters |
|
inlinevirtual |
Destroys RenderMatrix
|
virtual |
info | [in] state and rendering specific info |
type | [in] the drawtype which is being used |
alpha | [in] the alpha value to render with |
Implements Render.