![]() |
open_iA
2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Provides magic lens functionality for a given vtk render window, which can have up to eight lenses into other datasets. More...
#include <iAMagicLens.h>
Public Types | |
| enum | ViewMode { CENTERED, OFFSET } |
Public Member Functions | |
| void | addInput (vtkImageReslice *reslicer, vtkScalarsToColors *cTF, QString const &name) |
| qreal | frameWidth () const |
| iAMagicLens () | |
| bool | isEnabled () |
| double | opacity () const |
| void | render () |
| void | setEnabled (bool isEnabled) |
| shows or hides the magic lens More... | |
| void | setFrameWidth (qreal frameWidth) |
| void | setInterpolate (bool on) |
| void | setLensCount (int count) |
| void | setOpacity (double opacity) |
| void | setRenderWindow (vtkGenericOpenGLRenderWindow *renderWindow) |
| void | setSize (int newSize) |
| void | setSrcWindowEnabled (bool enabled) |
| void | setViewMode (ViewMode mode) |
| int | size () const |
| void | updateColors () |
| void | updatePosition (vtkCamera *cam, double const lensPos[3], int const mousePos[2]) |
| ViewMode | viewMode () const |
Static Public Attributes | |
| static const double | DefaultFrameWidth = 5 |
| static const int | OffsetModeXOffset = 10 |
Provides magic lens functionality for a given vtk render window, which can have up to eight lenses into other datasets.
| iAMagicLens::iAMagicLens | ( | ) |
| void iAMagicLens::addInput | ( | vtkImageReslice * | reslicer, |
| vtkScalarsToColors * | cTF, | ||
| QString const & | name | ||
| ) |
| qreal iAMagicLens::frameWidth | ( | ) | const |
| bool iAMagicLens::isEnabled | ( | ) |
| double iAMagicLens::opacity | ( | ) | const |
| void iAMagicLens::render | ( | ) |
| void iAMagicLens::setEnabled | ( | bool | isEnabled | ) |
shows or hides the magic lens
| void iAMagicLens::setFrameWidth | ( | qreal | frameWidth | ) |
| void iAMagicLens::setInterpolate | ( | bool | on | ) |
| void iAMagicLens::setLensCount | ( | int | count | ) |
| void iAMagicLens::setOpacity | ( | double | opacity | ) |
| void iAMagicLens::setRenderWindow | ( | vtkGenericOpenGLRenderWindow * | renderWindow | ) |
| void iAMagicLens::setSize | ( | int | newSize | ) |
| void iAMagicLens::setSrcWindowEnabled | ( | bool | enabled | ) |
| void iAMagicLens::setViewMode | ( | ViewMode | mode | ) |
| int iAMagicLens::size | ( | ) | const |
| void iAMagicLens::updateColors | ( | ) |
| void iAMagicLens::updatePosition | ( | vtkCamera * | cam, |
| double const | lensPos[3], | ||
| int const | mousePos[2] | ||
| ) |
| iAMagicLens::ViewMode iAMagicLens::viewMode | ( | ) | const |
|
static |
|
static |
1.8.16