OpenWalnut  1.4.0
Public Member Functions | Private Attributes
WCrosshair Class Reference

This class stores the position of the crossing navigation slices, which is also represented as crosshairs in the navigation widgets. More...

#include <WCrosshair.h>

List of all members.

Public Member Functions

WPosition getPosition ()
 Get the position of the crosshair.
void setPosition (WPosition position)
 Set the position of the crosshair for updating it.

Private Attributes

WPosition m_position
 Stores the current position of the crosshair.

Detailed Description

This class stores the position of the crossing navigation slices, which is also represented as crosshairs in the navigation widgets.

It can be used for placing things. An example are the ROIBoxes which are placed at the crosshairs position at the moment I am writing this.

Definition at line 39 of file WCrosshair.h.


Member Function Documentation

Get the position of the crosshair.

Returns:
the position

Definition at line 27 of file WCrosshair.cpp.

References m_position.

void WCrosshair::setPosition ( WPosition  position)

Set the position of the crosshair for updating it.

Parameters:
positionThe new position.

Definition at line 32 of file WCrosshair.cpp.

References m_position.


Member Data Documentation

Stores the current position of the crosshair.

Definition at line 58 of file WCrosshair.h.

Referenced by getPosition(), and setPosition().


The documentation for this class was generated from the following files: