#include <VectorVis.h>
Holds data regarding visualization of vector data so that it can be accessed and manipulated by the VectorVisualizationDataWidget
Protected Attributes | |
int | subsampleXY |
int | subsampleZ |
int | shapeScale |
bool | rgb |
bool | shape |
std::string | tensorOrder |
Public Member Functions | |
VectorVis (int _subsampleXY=5, int _subsampleZ=5, int _shapeScale=10, bool _rgb=true, bool _shape=false, std::string _tensorOrder="LowerTriRowMajor") | |
Accessor/Getter functions | |
int | getSubsampleXY () const |
int | getSubsampleZ () const |
int | getShapeScale () const |
bool | getRgb () const |
bool | getShape () const |
std::string | getTensorOrder () const |
Mutator/Setter functions | |
void | setSubsampleXY (int _subsampleXY) |
void | setSubsampleZ (int _subsampleZ) |
void | setShapeScale (int scale) |
void | setRgb (bool _rgb) |
void | setShape (bool vis) |
void | setTensorOrder (std::string _tensorOrder) |
Static Public Member Functions | |
static const char * | Name () |
Friends | |
std::istream & | operator>> (std::istream &in, VectorVis &v) |
std::ostream & | operator<< (std::ostream &out, const VectorVis &v) |
|
protected |
When true, a 3 channel image is displayed as an RGB image. When false, the image is displayed in greyscale, with the value being the norm of the 3 channels.
|
protected |
When true, a shape is drawn representing the data. In a 3 channel image, that shape is an arrow, and in a 6 channel image, the shape is an ellipsoid.
|
protected |
The size of the shape is multiplied by this value before it is drawn.
|
protected |
One shape is drawn every subsampleXY values in both the X plane and the Y plane. So, as subsampleXY is increased, the density of the shapes decreases.
|
protected |
One shape is drawn every subsampleZ values in Z plane. So, as subsampleZ is increased, the density of the shapes decreases.
|
protected |
Specifies the order that tensor information is encoded. Possible values are LowerTriRowMajor, UpperTriRowMajor, DiagonalFirst
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Stream operator that allows data to be sent to the GUI
|
friend |
Stream operator that allows data to be received from the GUI