#include <matriximage.h>
Inheritance diagram for Plot::MatrixImage


Public Methods | |
| void | draw_bar_on_matrix_element (const MatrixSubscript row, const MatrixSubscript col, double angle, double length, double width=1, PixelType p=default_fg) |
| Calls AARImage<>::draw_bar for a line centered on the given matrix element. More... | |
| template<classT> void | outline_boundary<T> (const BoundingBox<T>& bb, unsigned thickness, PixelType p=default_fg) |
| Draws a line of the indicated thickness around the matrix area enclosed by the given BoundingBox. More... | |
Constructors and Destructors | |
| MatrixImage () | |
| Empty image constructor. More... | |
| template<classMatrix> | MatrixImage<Matrix> (const Matrix &A, double scale=1.0, int borderwidth=0, const ColorLookup<PixelType>& L=RYWColorLookup<PixelType>() ) |
| Constructor taking a single matrix, to plot one dimension. More... | |
| template<classMatrix> | MatrixImage<Matrix> (const Matrix &H, const Matrix &S, const Matrix &V, double scale=1.0, int borderwidth=0 ) |
| Constructor taking matrices for Hue, Saturation, and Value. More... | |
Member functions take coordinates in the original matrix rather than (scaled and offset) pixel coordinates.
The border was deliberately included in this class rather than simply having an operation that takes an existing image and adds a border. The reason is that certain outlining operations supported by this class will deliberately overwrite part of the border so that they enclose the precise area included in the outline, without losing any enclosed area to the nonzero width of the outline itself.
Definition at line 37 of file matriximage.h.
|
||||
|
Empty image constructor.
Definition at line 105 of file matriximage.h. |
|
||||||||||||
|
Constructor taking a single matrix, to plot one dimension. L determines the mapping from a magnitude to a color Definition at line 136 of file matriximage.h. |
|
||||||||||||||
|
Constructor taking matrices for Hue, Saturation, and Value.
Definition at line 155 of file matriximage.h. |
|
||||||||||||||
|
Calls AARImage<>::draw_bar for a line centered on the given matrix element.
Definition at line 117 of file matriximage.h. |
|
||||||||||
|
Draws a line of the indicated thickness around the matrix area enclosed by the given BoundingBox.
Definition at line 173 of file matriximage.h. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000