|
| mitkClassMacroItkParent (SingleViewerWidgetState, itk::Object) mitkNewMacro1Param(SingleViewerWidgetState |
|
virtual void | SetTimeGeometry (mitk::TimeGeometry *_arg) |
| Sets the time geometry of the viewer. More...
|
|
virtual WindowOrientation | GetOrientation () const |
| Gets the orientation of the viewer. More...
|
|
virtual void | SetOrientation (WindowOrientation _arg) |
| Sets the orientation of the viewer. More...
|
|
virtual WindowLayout | GetWindowLayout () const |
| Gets the window layout of the viewer. More...
|
|
virtual void | SetWindowLayout (WindowLayout _arg) |
| Sets the window of the viewer. More...
|
|
virtual QmitkRenderWindow * | GetSelectedRenderWindow () const |
| Gets the selected render window of the viewer. More...
|
|
virtual void | SetSelectedRenderWindow (QmitkRenderWindow *_arg) |
| Sets the selected render window of the viewer. More...
|
|
virtual unsigned | GetTimeStep () const |
| Gets the selected time step in the viewer. More...
|
|
virtual void | SetTimeStep (unsigned _arg) |
| Sets the selected time step in the viewer. More...
|
|
virtual mitk::Point3D | GetSelectedPosition () const |
| Gets the selected position in the viewer. More...
|
|
virtual void | SetSelectedPosition (mitk::Point3D _arg) |
| Sets the selected position in the viewer. More...
|
|
virtual std::vector
< mitk::Vector2D > | GetCursorPositions () const |
| Gets the cursor positions in the render windows of the viewer. More...
|
|
void | SetCursorPositions (const std::vector< mitk::Vector2D > &cursorPositions) |
| Sets the cursor positions in the render windows of the viewer. More...
|
|
virtual std::vector< double > | GetScaleFactors () const |
| Gets the scale factors in the render windows of the viewer. More...
|
|
void | SetScaleFactors (const std::vector< double > &scaleFactors) |
| Sets the scale factors in the render windows of the viewer. More...
|
|
virtual bool | GetCursorPositionBinding () const |
| Gets the cursor position binding property of the viewer. More...
|
|
virtual void | SetCursorPositionBinding (bool _arg) |
| Sets the cursor position binding property of the viewer. More...
|
|
virtual bool | GetScaleFactorBinding () const |
| Gets the scale factor binding property of the viewer. More...
|
|
virtual void | SetScaleFactorBinding (bool _arg) |
| Sets the scale factor binding property of the viewer. More...
|
|
bool | EqualsWithTolerance (const std::vector< mitk::Vector2D > &cursorPositions1, const std::vector< mitk::Vector2D > &cursorPositions2, double tolerance=0.001) const |
| Compares the cursor positions of the visible render windows, permetting the given tolerance. Returns true if the cursor positions are equal, otherwise false. More...
|
|
bool | EqualsWithTolerance (const std::vector< double > &scaleFactors1, const std::vector< double > &scaleFactors2, double tolerance=0.001) const |
| Compares the scale factors of the visible render windows, permetting the given tolerance. Returns true if the scale factors are equal, otherwise false. More...
|
|
bool | operator== (const SingleViewerWidgetState &otherState) const |
|
bool | operator!= (const SingleViewerWidgetState &otherState) const |
|
void | PrintDifference (SingleViewerWidgetState::Pointer otherState, std::ostream &os=std::cout, itk::Indent indent=0) const |
|
void | Check () const |
|
void niftk::SingleViewerWidgetState::Check |
( |
| ) |
const |
|
inline |
Note: If the display is redirected (like during the overnight builds) then the application will not have key focus. Therefore, here we check if the focus is on the right window if and only if the application has key focus at all.
Note: Here we check the relation between the selected slice indices and the positions of the slice navigation controllers. The SNC positions always go from bottom to top, from left to right and from back to front. The slice indexes are in the same range, but their direction might be flipped depending on the input geometry. The 'flipped' property of the axes is stored in m_WorldFlippedAxes.