#include <VTKViewer_ViewModel.h>
|
| enum | {
HorizontalGradient
, VerticalGradient
, FirstDiagonalGradient
, SecondDiagonalGradient
,
FirstCornerGradient
, SecondCornerGradient
, ThirdCornerGradient
, FourthCornerGradient
,
LastGradient = FourthCornerGradient
} |
| |
| enum | HotOperation { PAN
, ZOOM
, ROTATE
, FIT_AREA
} |
| |
| enum | InteractionStyle { STANDARD
, KEY_FREE
} |
| |
| typedef QMap< HotOperation, Qt::KeyboardModifiers > | StatesMap |
| |
| typedef QMap< HotOperation, Qt::MouseButtons > | ButtonsMap |
| |
| typedef QMap< InteractionStyle, StatesMap > | InteractionStyle2StatesMap |
| |
| typedef QMap< InteractionStyle, ButtonsMap > | InteractionStyle2ButtonsMap |
| |
◆ anonymous enum
supported gradient types
| Enumerator |
|---|
| HorizontalGradient | |
| VerticalGradient | |
| FirstDiagonalGradient | |
| SecondDiagonalGradient | |
| FirstCornerGradient | |
| SecondCornerGradient | |
| ThirdCornerGradient | |
| FourthCornerGradient | |
| LastGradient | |
◆ VTKViewer_Viewer()
| VTKViewer_Viewer::VTKViewer_Viewer |
( |
| ) |
|
Constructor.Sets background color to black.
◆ ~VTKViewer_Viewer()
| VTKViewer_Viewer::~VTKViewer_Viewer |
( |
| ) |
|
|
virtual |
◆ background()
◆ backgroundColor()
| QColor VTKViewer_Viewer::backgroundColor |
( |
| ) |
const |
◆ backgroundData()
| QString VTKViewer_Viewer::backgroundData |
( |
QStringList & |
gradList, |
|
|
QIntList & |
idList, |
|
|
QIntList & |
txtList |
|
) |
| |
|
static |
Get data for supported background modes: gradient types, identifiers and supported image formats
References Qtx::CenterTexture, FirstCornerGradient, FirstDiagonalGradient, FourthCornerGradient, HorizontalGradient, SecondCornerGradient, SecondDiagonalGradient, Qtx::StretchTexture, ThirdCornerGradient, Qtx::TileTexture, and VerticalGradient.
◆ contextMenuPopup()
| void VTKViewer_Viewer::contextMenuPopup |
( |
QMenu * |
thePopup | ) |
|
|
virtual |
◆ createView()
◆ enableMultiselection()
| void VTKViewer_Viewer::enableMultiselection |
( |
bool |
isEnable | ) |
|
◆ enableSelection()
| void VTKViewer_Viewer::enableSelection |
( |
bool |
isEnabled | ) |
|
Sets flag to enable selection isEnable.
! To be done for view windows
References mySelectionEnabled.
◆ getSelectionCount()
| int VTKViewer_Viewer::getSelectionCount |
( |
| ) |
const |
◆ getType()
| virtual QString VTKViewer_Viewer::getType |
( |
| ) |
const |
|
inlinevirtual |
◆ isMultiSelectionEnabled()
| bool VTKViewer_Viewer::isMultiSelectionEnabled |
( |
| ) |
const |
|
inline |
Checks: is multi selection enabled
◆ isSelectionEnabled()
| bool VTKViewer_Viewer::isSelectionEnabled |
( |
| ) |
const |
|
inline |
Checks: is selection enabled
◆ onChangeBackground
| void VTKViewer_Viewer::onChangeBackground |
( |
| ) |
|
|
protectedslot |
◆ onDumpView
| void VTKViewer_Viewer::onDumpView |
( |
| ) |
|
|
protectedslot |
◆ onMouseMove
| void VTKViewer_Viewer::onMouseMove |
( |
SUIT_ViewWindow * |
vw, |
|
|
QMouseEvent * |
event |
|
) |
| |
|
protectedslot |
◆ onMousePress
| void VTKViewer_Viewer::onMousePress |
( |
SUIT_ViewWindow * |
vw, |
|
|
QMouseEvent * |
event |
|
) |
| |
|
protectedslot |
◆ onMouseRelease
| void VTKViewer_Viewer::onMouseRelease |
( |
SUIT_ViewWindow * |
vw, |
|
|
QMouseEvent * |
event |
|
) |
| |
|
protectedslot |
◆ onShowToolbar
| void VTKViewer_Viewer::onShowToolbar |
( |
| ) |
|
|
protectedslot |
◆ selectionChanged
| void VTKViewer_Viewer::selectionChanged |
( |
| ) |
|
|
signal |
◆ setBackground()
◆ setBackgroundColor()
| void VTKViewer_Viewer::setBackgroundColor |
( |
const QColor & |
c | ) |
|
◆ setViewManager()
◆ Type()
| static QString VTKViewer_Viewer::Type |
( |
| ) |
|
|
inlinestatic |
Initialize type of viewer.
◆ myDefaultBackground
◆ myMultiSelectionEnabled
| bool VTKViewer_Viewer::myMultiSelectionEnabled |
|
private |
◆ mySelectionEnabled
| bool VTKViewer_Viewer::mySelectionEnabled |
|
private |
The documentation for this class was generated from the following files: