Computer Assisted Medical Intervention Tool Kit  version 5.2
 
Loading...
Searching...
No Matches
camitk Namespace Reference

Classes

class  AbortException
 Exception class to handle abortion in component instantiation. More...
 
class  Action
 Action class is an abstract class that enables you to build a action (generally on a component). More...
 
class  ActionExtension
 This class describes what is a generic Action extension. More...
 
class  ActionWidget
 Build a default widget for a given action using its Qt properties. More...
 
class  Application
 The generic/default application. More...
 
class  ArbitrarySingleImageComponent
 This Component manages the specific case of arbitrary orientation of a sub-component of the image component. More...
 
class  CamiTKFile
 CamiTKFile provides functions to read and write in the CAMITK file format. More...
 
class  CamiTKLogger
 This is the default logger for CamiTK. More...
 
class  Component
 A Component represents something that could be included in the explorer view, the interactive 3D viewer, and that could have or not a contextual popup menu (open by a right click in the explorer), a property dialog (to change some properties) Thus, a Component inherits from many abstract classes. More...
 
class  ComponentExtension
 This class describes what is a generic Component extension. More...
 
class  ConsoleStream
 Provides a console windows, within the CamiTK application. More...
 
class  Core
 Core class specifies the basic static information for the CamiTK API. More...
 
class  ExtensionManager
 This class is used to manage all plugins loaded by the application. More...
 
class  Frame
 Represents a hierarchy of frames. More...
 
class  GeometricObject
 A geometric object allows one to create geometric object (sphere, arrow, ...) that can be added directly in the scene using getActor(). More...
 
class  Geometry
 A 3D representation of a vtkPointSet to be displayed in a InteractiveViewer, this class implements the InterfaceGeometry. More...
 
class  HistoryComponent
 HistoryComponent class describes the component information (name, type) stored in the history. More...
 
class  HistoryItem
 HistoryItem class describes the entry of an action used in a pipeline, in the history. More...
 
class  ImageAcquisitionComponent
 This class describes what is a generic Image Acquisition Component which derives from Component. More...
 
class  ImageAcquisitionComponentExtension
 This class describes what is a generic Image Acquisition Component extension. More...
 
class  ImageComponent
 The manager of the Image Volume data. More...
 
class  ImageComponentExtension
 Abstract class created to support export file formats for ImageComponent Any data component plugin creating an ImageComponent should inherit from this class. More...
 
class  ImageOrientationHelper
 Helper class. More...
 
class  InteractiveViewer
 InteractiveViewer is used to view 3D objects and slices (anything that provides either a InterfaceBitMap or a InterfaceGeometry). More...
 
class  InteractiveViewerFrame
 InteractiveViewerFrame is the basic container for the InteractiveViewer widget. More...
 
class  InterfaceBitMap
 This class describes what are the methods to implement for a BitMap. More...
 
class  InterfaceFrame
 This class describes what are the methods to implement in order to manage a Component position in space. More...
 
class  InterfaceGeometry
 This class describes what are the methods to implement for a Geometry (rendering parameters, input/output, filters, picking parameters...) More...
 
class  InterfaceLogger
 The CamiTK logger interface provides a flexible tracing system to CamiTK applications. More...
 
class  InterfaceNode
 This class describe what are the methods to implement for a hierarchical tree node. More...
 
class  InterfaceProperty
 This class describe what are the methods to implement in order to manage dynamic properties. More...
 
class  ItkProgressObserver
 Allows showing a progress bar when using ITK methods. More...
 
class  Log
 This class is a log utility. More...
 
class  MainWindow
 This class is the base class for your application. More...
 
class  MeshComponent
 Basic component to manage any kind of mesh. More...
 
class  MeshComponentExtension
 Abstract class created to support export file formats for MeshComponent Any data component plugin creating a MeshComponent should inherit from this class. More...
 
class  MeshDataFilterModel
 CamiTK intern class to help automatically sort or show specific data. More...
 
class  MeshDataModel
 Qt model for mesh data. More...
 
class  MeshDataView
 Qt view for mesh data. More...
 
class  MeshSelectionModel
 Qt model for mesh selection This class use the Qt model/view design. More...
 
class  MeshSelectionView
 Qt view for mesh selection. More...
 
class  ObjectController
 The object controller class. More...
 
class  ObjectControllerPrivate
 
class  PersistenceManager
 
class  PlaneC
 This class allows you to transform a plane(translation,rotation around an axis) and visualize it. More...
 
class  Property
 This class describes a property that can be used in components and actions or any class that needs to be passed to ObjectControler. More...
 
class  PropertyObject
 This class describes a property object. More...
 
class  ScreenshotFormatInfo
 class containing all information concerning exporting images (screenshot) and the different supported format and extension. More...
 
class  SettingsDialog
 This class controls the settings dialog user interface. More...
 
class  SimplisticComponent
 This class has been implemented to be able to instantiate a very basic component with NO_REPRESENTATION. More...
 
class  SingleImageComponent
 This Component manages sub-component of the image component seen as a single orientation only (axial OR sagittal OR coronal). More...
 
class  Slice
 Display a slice (i.e. More...
 
class  SliderSpinBoxWidget
 A utility class to have QSpinBox and QSlider synchronized. More...
 
class  SliderTextWidget
 This widget allows you to use a slider with a lineedit in a Dialog Box. More...
 
class  Viewer
 Viewer is an abstract class that is the base class for all viewers. More...
 
class  ViewerDockStyle
 a specific style made for QDockWidget that adds an icon to the dock widget title More...
 
class  ViewerExtension
 This class describes what is a generic Action extension. More...
 
class  vtkInteractorStylePick
 Specific backward compatible interactor for CamiTK RendererWidget Interactor used when we are in picking mode. More...
 

Typedefs

using ActionList = QList< Action * >
 A list of Action.
 
using ActionSet = QSet< Action * >
 A set of Action.
 
using ComponentList = QList< Component * >
 A list of Component.
 
using ViewerList = QList< Viewer * >
 A list of Viewer.
 
using ViewerSet = QSet< Viewer * >
 A set of Viewer.
 
using vtkSmartPointerCamera = vtkSmartPointer< vtkCamera >
 

Enumerations

enum  CameraOrientation {
  RIGHT_DOWN , LEFT_UP , RIGHT_UP , LEFT_BACK ,
  BACK_DOWN
}
 
enum  ControlMode { JOYSTICK , TRACKBALL , TRACKBALL_2D , NONE }
 list of possible user interaction control mode More...
 
enum  MouseButtonState { NO_BUTTON , LEFT_BUTTON , MIDDLE_BUTTON , RIGHT_BUTTON }
 state of the pressed button (for 3 buttons mouse) More...
 

Functions

bool actionLessThan (const camitk::Action *a1, const camitk::Action *a2)
 
 addProp (annotatedCube)
 
 addProp (axes)
 
renderWindow AddRenderer (renderer)
 
axeXTextProp BoldOn ()
 
 for (const auto &orientationDecorationActor :orientationDecorationActors)
 
 for (int i=0;i< 4;i++)
 
vtklup ForceBuild ()
 
annotatedCube GetAssembly () -> SetPosition(0.0, 0.0, 0.0)
 
logoRepresentation GetImageProperty () -> SetOpacity(0.7)
 
orientationDecorationActors[3] GetPositionCoordinate () -> SetValue(0.5, 0.05)
 
colorBarWidget GetScalarBarActor () -> SetLookupTable(vtklup)
 
axes GetXAxisCaptionActor2D () -> SetCaptionTextProperty(axeXTextProp)
 
axes GetYAxisCaptionActor2D () -> SetCaptionTextProperty(axeYTextProp)
 
axes GetZAxisCaptionActor2D () -> SetCaptionTextProperty(axeZTextProp)
 
transform Identity ()
 
renderWindowInteractor Initialize ()
 
axeXTextProp ItalicOn ()
 
QFile logoFile (":/camiTKIcon")
 
void mouseMoveEvent (QMouseEvent *event) override
 mouse move handler overriden to manage different version of VTK
 
void mousePressEvent (QMouseEvent *event) override
 mouse press handler overriden to manage different version of VTK
 
void mouseReleaseEvent (QMouseEvent *event) override
 mouse release handler overriden to manage different version of VTK
 
QSizePolicy policy (QSizePolicy::Expanding, QSizePolicy::Expanding)
 
 RendererWidget (QWidget *parent=nullptr, ControlMode mode=RendererWidget::TRACKBALL)
 constructors.
 
colorBarWidget RepositionableOn ()
 
transform Scale (0.05, 0.05, 0.05)
 
colorBarWidget SelectableOn ()
 
acProp SetAmbient (1)
 
 setBackgroundColor (0.0, 0.0, 0.0)
 
pickingButtonDiverter SetCallback (RendererWidget::divertionCallback)
 
 setCameraOrientation (cameraOrientation)
 
pickingButtonDiverter SetClientData (controlInteractorStyle)
 
acProp SetColor (0, 0, 1)
 
acProp SetColor (0, 1, 0)
 
orientationDecorationsProp SetColor (0.0, 1.0, 1.0)
 
acProp SetColor (0.18, 0.28, 0.23)
 
acProp SetColor (0.5, 1, 1)
 
acProp SetColor (1, 0, 0)
 
 setControlMode (mode)
 
acProp SetDiffuse (0)
 
logoWidget SetEnabled (true)
 
annotatedCube SetFaceTextScale (0.65)
 
imageReader SetFileName (tempLogofile->fileName().toStdString().c_str())
 
axeXTextProp SetFontFamilyToArial ()
 
orientationDecorationsProp SetFontSize (14)
 
axeXTextProp SetFontSize (20)
 
policy setHeightForWidth (false)
 
vtklup SetHueRange (2.0/3.0, 0.0)
 
logoRepresentation SetImage (imageReader->GetOutput())
 
renderWindow SetInteractor (renderWindowInteractor)
 
acProp SetInterpolationToFlat ()
 
acProp SetLineWidth (1)
 
 setMinimumSize (150, 150)
 
 setObjectName ("RendererWidget")
 
logoRepresentation SetPosition (0.93, 0.01)
 
logoRepresentation SetPosition2 (0.1, 0.05)
 
renderWindowInteractor SetRenderWindow (renderWindow)
 
logoWidget SetRepresentation (logoRepresentation)
 
axes SetShaftTypeToCylinder ()
 
logoRepresentation SetShowBorderToOff ()
 
 setSizePolicy (policy)
 
axes SetTotalLength (0.1, 0.1, 0.1)
 
axes SetXAxisLabelText ("x")
 
annotatedCube SetXFaceTextRotation (90)
 
annotatedCube SetXMinusFaceText ("R")
 
annotatedCube SetXPlusFaceText ("L")
 
axes SetYAxisLabelText ("y")
 
annotatedCube SetYMinusFaceText ("A")
 
annotatedCube SetYPlusFaceText ("P")
 
axes SetZAxisLabelText ("z")
 
annotatedCube SetZFaceTextRotation (90)
 
annotatedCube SetZMinusFaceText ("I")
 
annotatedCube SetZPlusFaceText ("S")
 
axeXTextProp ShadowOff ()
 
axeYTextProp ShallowCopy (axeXTextProp)
 
imageReader Update ()
 
bool viewerLessThan (const camitk::Viewer *v1, const camitk::Viewer *v2)
 
axes VisibilityOff ()
 
 vtkInstantiatorNewMacro (vtkInteractorStylePick)
 
 vtkStandardNewMacro (vtkInteractorStylePick)
 
 ~RendererWidget () override
 destructor
 
add/manipulate actors
void addProp (vtkSmartPointer< vtkProp > p, bool refresh=false)
 add a vtkActor or vtkActor2D, updating the cull face depending on the current state.
 
bool containsProp (vtkSmartPointer< vtkProp >)
 is the given vtkProp (e.g. vtkActor or vtkActor2D) in this renderer
 
void removeProp (vtkSmartPointer< vtkProp > p, bool refresh=false)
 remove the given vtkProp (e.g.
 
void actorTransform (vtkSmartPointer< vtkActor >, double *, int, double **, double *, double *)
 perform the transformation of the actor
 

Variables

vtkSmartPointer< vtkProperty > acProp = annotatedCube->GetCubeProperty()
 
vtkSmartPointer< vtkTextProperty > axeXTextProp = vtkSmartPointer<vtkTextProperty>::New()
 
vtkSmartPointer< vtkTextProperty > axeYTextProp = vtkSmartPointer<vtkTextProperty>::New()
 
vtkSmartPointer< vtkTextProperty > axeZTextProp = vtkSmartPointer<vtkTextProperty>::New()
 
vtkSmartPointer< vtkPNGReader > imageReader = vtkPNGReader::New()
 
vtkSmartPointer< vtkLogoRepresentation > logoRepresentation = vtkSmartPointer<vtkLogoRepresentation>::New()
 
QString orientationDecorationLetters [4] = "R"
 
vtkSmartPointer< vtkTextProperty > orientationDecorationsProp = vtkSmartPointer<vtkTextProperty>::New()
 
vtkSmartPointer< vtkRenderWindow > renderWindow = GetRenderWindow()
 
vtkScalarBarRepresentation * rep = vtkScalarBarRepresentation::SafeDownCast(colorBarWidget->GetRepresentation())
 
QTemporaryFile * tempLogofile = QTemporaryFile::createNativeFile(logoFile)
 
vtkSmartPointer< vtkTransform > transform = vtkSmartPointer<vtkTransform>::New()
 
vtkSmartPointer< vtkWindowLevelLookupTable > vtklup = vtkSmartPointer<vtkWindowLevelLookupTable>::New()
 
extra actors managements

is the gradient background displayed

 displayLogo = true
 is the logo displayed
 
 displayColorScale = false
 is the color scale currently displayed
 
 axes = vtkSmartPointer<vtkAxesActor>::New()
 axes actor
 
 annotatedCube = vtkSmartPointer<vtkAnnotatedCubeActor>::New()
 annotated cube actor
 
 logoWidget = vtkSmartPointer<vtkLogoWidget>::New()
 logo widget
 
 colorBarWidget = vtkSmartPointer<vtkScalarBarWidget>::New()
 the scalar bar widget
 
 displayGradient = false
 
vtkSmartPointer< vtkScalarBarActor > colorScale
 the color scale displaying the lookup table + values
 
vtkSmartPointer< vtkActor2D > orientationDecorationActors [4]
 annotated cube text actors
 
vtkSmartPointer< vtkTextMapper > orientationDecorationsTextMapper [4]
 annotated cube text
 

view/camera settings

Reset camera settings (position, what is looked at and how)

 backfaceCulling = false
 Is back face culling on?
 
 fxaaAntialiasing = false
 
 rendering3DRedBlue = false
 is rendering in 3D stereo red/blue
 
 pointSize = 4.0
 default point size
 
 renderer = vtkSmartPointer<vtkRenderer>::New()
 The current renderer.
 
 cameraOrientation = RIGHT_DOWN
 state of the initial camera orientation
 
bool lightFollowCamera
 Is the light following the camera.
 
void setBackfaceCulling (bool)
 
bool getBackfaceCulling () const
 Get the current state of backface culling.
 
void setFxaaAntialiasing (bool)
 Set/unset FXAA Antialiasing in renderer.
 
bool getFxaaAntialiasing () const
 Get the current state of FXAA Antialiasing in renderer.
 
void setCameraOrientation (RendererWidget::CameraOrientation)
 Set the current axes mode.
 
RendererWidget::CameraOrientation getCameraOrientation () const
 Return the current axes mode.
 
void setLightFollowCamera (bool)
 Set/unset the light to follow the camera.
 
bool getLightFollowCamera () const
 Get the current state of the property.
 
void setPointSize (double size)
 set the default point size
 
double getPointSize () const
 get the current value of point size
 
void rotateCamera (double angle, int axe)
 Rotate the camera around param "axe" of "angle" degrees.
 
void resetCamera ()
 reset the camera to the default position, default FOV.
 
void resetCamera (double *bounds)
 reset the camera to the default position, default FOV and use the given bounds to focus on
 
void getCameraSettings (double *position, double *focalPoint, double *viewUp)
 get camera settings information (position, what is looked at and how) in world coordinates
 
void setActiveCamera (vtkCamera *cam)
 set active camera
 
vtkCamera * getActiveCamera ()
 get the active camera
 
void getMouse3DCoordinates (double &x, double &y, double &z)
 get the mouse coordinates in 3D
 
void setBackgroundColor (double, double, double)
 set the background color (rgb)
 
void getBackgroundColor (double &, double &, double &)
 get the background color (rgb)
 
bool getGradientBackground ()
 get the current state of the gradient background
 
void setGradientBackground (bool)
 set the gradient background
 
void toogle3DRedBlue ()
 toggle stereo 3D red/blue rendering (you will need red/blue glasses)
 
void toggleLogo (bool)
 toggle logo
 
void toggleAxes (bool)
 display the axes
 
void updateAxes ()
 update the axes sizes
 
void toggleOrientationDecorations (bool)
 display orientation decorations
 
void setOrientationDecorationsLetters (QString letters[4])
 give the lettres for orientation decoration: Left, Right, Top, Down
 
void setColorScale (bool)
 display the color scale in the viewport, use setColorScaleMinMax to change the displayed values
 
bool getColorScale () const
 get the color display state
 
void setColorScaleMinMax (double m, double M)
 set the min and max values.
 
void setColorScaleTitle (QString t)
 set the color scale title.
 
void computeVisiblePropBounds (double *bounds)
 get the bounding box of all visible actors [xmin,xmax, ymin,ymax, zmin,zmax]
 
void resetClippingPlanes (double *bounds=nullptr)
 reset the camera clipping plane to a given bounding box If no bounds are given, reset to show all visible actors
 
void resetCameraSettings ()
 

picking and interaction

to manage interactions

 renderWindowInteractor = vtkSmartPointer<QVTKInteractor>::New()
 
 controlMode = NONE
 current control mode
 
 controlInteractorStyle = nullptr
 for the interaction with the scene
 
void setAreaPicking (bool areaPicking)
 
ControlMode getControlMode () const
 get the current control mode
 
void setControlMode (ControlMode mode)
 Set the interaction like trackball or joystick style.
 
void setPicker (vtkSmartPointer< vtkAbstractPropPicker > woodyWood)
 set the picker to handle the action
 
void pick ()
 Perform picking using the current mouse position.
 
void pickActor (int, int)
 Perform picking from screen coordinates.
 
void keyPressEvent (QKeyEvent *e) override
 key events (do nothing but pass on e to the parent widget), please do not add any shortcut management here (see note in implementation)!
 
void screenshot (QString filename)
 save the screenshot in a file
 
void refresh ()
 refresh the display
 
void startPicking ()
 
void endPicking ()
 end picking
 
void actorPicked (vtkSmartPointer< vtkPicker >)
 
void rightButtonPressed ()
 send when the mouse right button is clicked
 

callback and interaction

manage connections between vtk objets events and qt slots

 pickInteractorStyle = vtkSmartPointer<vtkInteractorStylePick>::New()
 picking interactor
 
 pickingButtonDiverter = vtkSmartPointer<vtkCallbackCommand>::New()
 the callback to remove left button interaction while in picking mode
 
 pickingDiverter = false
 is the picking diverter used
 
static void divertionCallback (vtkObject *, unsigned long, void *, void *)
 a diverter observer callback (to be used to divert undesired events)
 

Typedef Documentation

◆ ActionList

using camitk::ActionList = typedef QList<Action*>

A list of Action.

◆ ActionSet

using camitk::ActionSet = typedef QSet<Action*>

A set of Action.

◆ ComponentList

A list of Component.

◆ ViewerList

using camitk::ViewerList = typedef QList<Viewer*>

A list of Viewer.

◆ ViewerSet

using camitk::ViewerSet = typedef QSet<Viewer*>

A set of Viewer.

◆ vtkSmartPointerCamera

using camitk::vtkSmartPointerCamera = typedef vtkSmartPointer<vtkCamera>

Enumeration Type Documentation

◆ CameraOrientation

Enumerator
RIGHT_DOWN 

World axes are seen so that x points to the right, y points downward.

LEFT_UP 

World axes are seen so that x points to the left, y points upward.

RIGHT_UP 

World axes are seen so that x points to the right, y points upward.

LEFT_BACK 
BACK_DOWN 

< World axes are seen so that x points to the left, y points backward. For Medical Images Coronal Views (see Image Reorientation Action Documentation)

◆ ControlMode

list of possible user interaction control mode

Enumerator
JOYSTICK 

the mouse is used a joystick

TRACKBALL 

the mouse is used as a trackball (default)

TRACKBALL_2D 

same as TRACKBALL but does not allow rotation using left button (but zoom and displacement parallel to slice is allowed)

NONE 

◆ MouseButtonState

state of the pressed button (for 3 buttons mouse)

Enumerator
NO_BUTTON 

no buttons are currently pressed

LEFT_BUTTON 

the mouse left button is currently pressed

MIDDLE_BUTTON 

the mouse middle button is currently pressed (or 3rd button emulation)

RIGHT_BUTTON 

the mouse right button is currently pressed

Function Documentation

◆ actionLessThan()

bool camitk::actionLessThan ( const camitk::Action a1,
const camitk::Action a2 
)

References camitk::Action::getName().

Referenced by camitk::Component::getActionMenu(), and camitk::Application::getActions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ actorPicked()

void camitk::actorPicked ( vtkSmartPointer< vtkPicker >  )

References actorPicked().

Referenced by actorPicked().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ actorTransform()

void camitk::actorTransform ( vtkSmartPointer< vtkActor >  ,
double *  ,
int  ,
double **  ,
double *  ,
double *   
)

perform the transformation of the actor

References actorTransform().

Referenced by actorTransform().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addProp() [1/3]

camitk::addProp ( annotatedCube  )

References addProp().

+ Here is the call graph for this function:

◆ addProp() [2/3]

camitk::addProp ( axes  )

References addProp().

Referenced by addProp(), addProp(), addProp(), and for().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addProp() [3/3]

void camitk::addProp ( vtkSmartPointer< vtkProp >  p,
bool  refresh = false 
)

add a vtkActor or vtkActor2D, updating the cull face depending on the current state.

The method checks it is not already there first. This method is "clever": it does different things (that should be documented below), depending on the type of the vtkProp

Action performed depending on the vtkProp (true) type:

  • vtkActor: apply the current backface culling and point size property to the actor.
    Parameters
    pthe vtkProp to add to the scene
    refreshif true the axes are refreshed (default false)

References addProp().

+ Here is the call graph for this function:

◆ AddRenderer()

renderWindow camitk::AddRenderer ( renderer  )

References renderWindow.

◆ BoldOn()

axeXTextProp camitk::BoldOn ( )

References axeXTextProp.

◆ computeVisiblePropBounds()

void camitk::computeVisiblePropBounds ( double *  bounds)

get the bounding box of all visible actors [xmin,xmax, ymin,ymax, zmin,zmax]

References computeVisiblePropBounds().

Referenced by computeVisiblePropBounds().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ containsProp()

bool camitk::containsProp ( vtkSmartPointer< vtkProp >  )

is the given vtkProp (e.g. vtkActor or vtkActor2D) in this renderer

References containsProp().

Referenced by containsProp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ divertionCallback()

static void camitk::divertionCallback ( vtkObject *  ,
unsigned long  ,
void *  ,
void *   
)
staticprotected

a diverter observer callback (to be used to divert undesired events)

References divertionCallback().

Referenced by divertionCallback().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ endPicking()

void camitk::endPicking ( )
protected

end picking

References endPicking().

Referenced by endPicking().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ for() [1/2]

camitk::for ( const auto &orientationDecorationActor :orientationDecorationActors  )

References addProp(), and orientationDecorationActors.

+ Here is the call graph for this function:

◆ for() [2/2]

◆ ForceBuild()

vtklup camitk::ForceBuild ( )

References vtklup.

◆ getActiveCamera()

vtkCamera * camitk::getActiveCamera ( )

get the active camera

References getActiveCamera().

Referenced by getActiveCamera().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAssembly()

annotatedCube camitk::GetAssembly ( ) -> SetPosition(0.0, 0.0, 0.0)

References annotatedCube.

◆ getBackfaceCulling()

bool camitk::getBackfaceCulling ( ) const

Get the current state of backface culling.

References getBackfaceCulling().

Referenced by getBackfaceCulling().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getBackgroundColor()

void camitk::getBackgroundColor ( double &  ,
double &  ,
double &   
)

get the background color (rgb)

References getBackgroundColor().

Referenced by getBackgroundColor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCameraOrientation()

RendererWidget::CameraOrientation camitk::getCameraOrientation ( ) const

Return the current axes mode.

References getCameraOrientation().

Referenced by getCameraOrientation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCameraSettings()

void camitk::getCameraSettings ( double *  position,
double *  focalPoint,
double *  viewUp 
)

get camera settings information (position, what is looked at and how) in world coordinates

References getCameraSettings().

Referenced by getCameraSettings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getColorScale()

bool camitk::getColorScale ( ) const

get the color display state

References getColorScale().

Referenced by getColorScale().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getControlMode()

ControlMode camitk::getControlMode ( ) const

get the current control mode

References getControlMode().

Referenced by getControlMode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFxaaAntialiasing()

bool camitk::getFxaaAntialiasing ( ) const

Get the current state of FXAA Antialiasing in renderer.

References getFxaaAntialiasing().

Referenced by getFxaaAntialiasing().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getGradientBackground()

bool camitk::getGradientBackground ( )

get the current state of the gradient background

References getGradientBackground().

Referenced by getGradientBackground().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetImageProperty()

logoRepresentation camitk::GetImageProperty ( ) -> SetOpacity(0.7)

References logoRepresentation.

◆ getLightFollowCamera()

bool camitk::getLightFollowCamera ( ) const

Get the current state of the property.

References getLightFollowCamera().

Referenced by getLightFollowCamera().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMouse3DCoordinates()

void camitk::getMouse3DCoordinates ( double &  x,
double &  y,
double &  z 
)

get the mouse coordinates in 3D

References getMouse3DCoordinates().

Referenced by getMouse3DCoordinates().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPointSize()

double camitk::getPointSize ( ) const

get the current value of point size

References getPointSize().

Referenced by getPointSize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPositionCoordinate()

orientationDecorationActors[3] camitk::GetPositionCoordinate ( ) -> SetValue(0.5, 0.05)

◆ GetScalarBarActor()

colorBarWidget camitk::GetScalarBarActor ( ) -> SetLookupTable(vtklup)

References colorBarWidget.

◆ GetXAxisCaptionActor2D()

axes camitk::GetXAxisCaptionActor2D ( ) -> SetCaptionTextProperty(axeXTextProp)

References axes.

◆ GetYAxisCaptionActor2D()

axes camitk::GetYAxisCaptionActor2D ( ) -> SetCaptionTextProperty(axeYTextProp)

References axes.

◆ GetZAxisCaptionActor2D()

axes camitk::GetZAxisCaptionActor2D ( ) -> SetCaptionTextProperty(axeZTextProp)

References axes.

◆ Identity()

transform camitk::Identity ( )

References transform.

◆ Initialize()

renderWindowInteractor camitk::Initialize ( )

◆ ItalicOn()

axeXTextProp camitk::ItalicOn ( )

References axeXTextProp.

◆ keyPressEvent()

void camitk::keyPressEvent ( QKeyEvent *  e)
override

key events (do nothing but pass on e to the parent widget), please do not add any shortcut management here (see note in implementation)!

References keyPressEvent().

Referenced by keyPressEvent(), and camitk::InteractiveViewerFrame::~InteractiveViewerFrame().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ logoFile()

QFile camitk::logoFile ( ":/camiTKIcon"  )

References logoFile().

Referenced by logoFile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mouseMoveEvent()

void camitk::mouseMoveEvent ( QMouseEvent *  event)
overrideprotected

mouse move handler overriden to manage different version of VTK

References controlInteractorStyle, controlMode, mouseMoveEvent(), and renderWindowInteractor.

Referenced by mouseMoveEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mousePressEvent()

void camitk::mousePressEvent ( QMouseEvent *  event)
overrideprotected

mouse press handler overriden to manage different version of VTK

References mousePressEvent().

Referenced by mousePressEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mouseReleaseEvent()

void camitk::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotected

mouse release handler overriden to manage different version of VTK

References mouseReleaseEvent().

Referenced by mouseReleaseEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pick()

void camitk::pick ( )

Perform picking using the current mouse position.

References pick().

Referenced by pick().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pickActor()

void camitk::pickActor ( int  ,
int   
)

Perform picking from screen coordinates.

References pickActor().

Referenced by pickActor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ policy()

QSizePolicy camitk::policy ( QSizePolicy::Expanding  ,
QSizePolicy::Expanding   
)

References policy().

Referenced by PMLComponent::addSelection(), camitk::MeshComponent::addSelection(), camitk::MeshComponent::addToSelectedSelection(), camitk::Action::applyTargetPosition(), camitk::MeshSelectionModel::insertSelection(), policy(), and setHeightForWidth().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ refresh()

void camitk::refresh ( )

refresh the display

References refresh().

Referenced by camitk::InteractiveViewer::cameraOrientationChanged(), VolumeRenderingAction::getWidget(), camitk::InteractiveViewer::highlightModeChanged(), camitk::InteractiveViewer::keyPressEvent(), camitk::InteractiveViewer::picked(), refresh(), camitk::InteractiveViewer::renderingActorsChanged(), camitk::InteractiveViewer::screenshot(), camitk::InteractiveViewer::setGlyph(), camitk::InteractiveViewer::setHighlightMode(), and camitk::InteractiveViewer::setLabel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeProp()

void camitk::removeProp ( vtkSmartPointer< vtkProp >  p,
bool  refresh = false 
)

remove the given vtkProp (e.g.

vtkActor or vtkActor2D, such as color scale)

Parameters
pthe vtkProp to add to the scene
refreshif true the axes are refreshed (default false)

References removeProp().

Referenced by removeProp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RendererWidget()

camitk::RendererWidget ( QWidget *  parent = nullptr,
ControlMode  mode = RendererWidget::TRACKBALL 
)

constructors.

By default:

  • the backface culling is off,
  • the interaction mode is controlling the camera
  • the light follow the camera
  • the logo is shown
  • the gradient background is not shown
Parameters
parentthe parent widget
modethe mouse interaction control mode (default is TRACKBALL)

References RendererWidget().

Referenced by camitk::InteractiveViewer::getRendererWidget(), camitk::InteractiveViewer::init(), and RendererWidget().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RepositionableOn()

colorBarWidget camitk::RepositionableOn ( )

References colorBarWidget.

◆ resetCamera() [1/2]

void camitk::resetCamera ( )

reset the camera to the default position, default FOV.

The camera focal is set so that all the things in the scenes are visible (i.e. reset the camera clipping range based on the bounds of the visible actors. This ensures that no props are cut off)

References resetCamera().

Referenced by resetCamera(), and resetCamera().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetCamera() [2/2]

void camitk::resetCamera ( double *  bounds)

reset the camera to the default position, default FOV and use the given bounds to focus on

References resetCamera().

+ Here is the call graph for this function:

◆ resetCameraSettings()

void camitk::resetCameraSettings ( )
protected

References backfaceCulling, cameraOrientation, fxaaAntialiasing, renderer, and resetCameraSettings().

Referenced by resetCameraSettings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetClippingPlanes()

void camitk::resetClippingPlanes ( double *  bounds = nullptr)

reset the camera clipping plane to a given bounding box If no bounds are given, reset to show all visible actors

Parameters
boundsthe clipping plane will be set to the bounding box [xmin,xmax, ymin,ymax, zmin,zmax]

References resetClippingPlanes().

Referenced by resetClippingPlanes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rightButtonPressed()

void camitk::rightButtonPressed ( )

send when the mouse right button is clicked

References rightButtonPressed().

Referenced by camitk::InteractiveViewer::getWidget(), Explorer::getWidget(), and rightButtonPressed().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rotateCamera()

void camitk::rotateCamera ( double  angle,
int  axe 
)

Rotate the camera around param "axe" of "angle" degrees.

References rotateCamera().

Referenced by rotateCamera().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Scale()

transform camitk::Scale ( 0.  05,
0.  05,
0.  05 
)

References transform.

◆ screenshot()

void camitk::screenshot ( QString  filename)

save the screenshot in a file

Parameters
filenamethe filename extension (suffix) must be supported (use getScreenshotFormatInfo to get the correct extension)

References screenshot().

Referenced by screenshot().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SelectableOn()

colorBarWidget camitk::SelectableOn ( )

References colorBarWidget.

◆ setActiveCamera()

void camitk::setActiveCamera ( vtkCamera *  cam)

set active camera

References setActiveCamera().

Referenced by setActiveCamera().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetAmbient()

acProp camitk::SetAmbient ( )

References acProp.

◆ setAreaPicking()

void camitk::setAreaPicking ( bool  areaPicking)

References setAreaPicking().

Referenced by setAreaPicking().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBackfaceCulling()

void camitk::setBackfaceCulling ( bool  )

References setBackfaceCulling().

Referenced by setBackfaceCulling().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBackgroundColor() [1/2]

camitk::setBackgroundColor ( 0.  0,
0.  0,
0.  0 
)

References setBackgroundColor().

Referenced by setBackgroundColor(), and setBackgroundColor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBackgroundColor() [2/2]

void camitk::setBackgroundColor ( double  ,
double  ,
double   
)

set the background color (rgb)

References setBackgroundColor().

+ Here is the call graph for this function:

◆ SetCallback()

pickingButtonDiverter camitk::SetCallback ( RendererWidget::divertionCallback  )

References pickingButtonDiverter.

◆ setCameraOrientation() [1/2]

camitk::setCameraOrientation ( cameraOrientation  )

References setCameraOrientation().

Referenced by setCameraOrientation(), and setCameraOrientation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCameraOrientation() [2/2]

void camitk::setCameraOrientation ( RendererWidget::CameraOrientation  )

Set the current axes mode.

References setCameraOrientation().

+ Here is the call graph for this function:

◆ SetClientData()

pickingButtonDiverter camitk::SetClientData ( controlInteractorStyle  )

References pickingButtonDiverter.

◆ SetColor() [1/6]

acProp camitk::SetColor ( ,
,
 
)

References acProp, and annotatedCube.

◆ SetColor() [2/6]

acProp camitk::SetColor ( ,
,
 
)

References acProp, and annotatedCube.

◆ SetColor() [3/6]

orientationDecorationsProp camitk::SetColor ( 0.  0,
1.  0,
1.  0 
)

◆ SetColor() [4/6]

acProp camitk::SetColor ( 0.  18,
0.  28,
0.  23 
)

References acProp, and annotatedCube.

◆ SetColor() [5/6]

acProp camitk::SetColor ( 0.  5,
,
 
)

References acProp, and annotatedCube.

◆ SetColor() [6/6]

acProp camitk::SetColor ( ,
,
 
)

References acProp.

◆ setColorScale()

void camitk::setColorScale ( bool  )

display the color scale in the viewport, use setColorScaleMinMax to change the displayed values

References setColorScale().

Referenced by setColorScale().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setColorScaleMinMax()

void camitk::setColorScaleMinMax ( double  m,
double  M 
)

set the min and max values.

Parameters
mminimum value (blue)
Mmaximum value (red)

References setColorScaleMinMax().

Referenced by setColorScaleMinMax().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setColorScaleTitle()

void camitk::setColorScaleTitle ( QString  t)

set the color scale title.

Parameters
ttitle of the color scale

References setColorScaleTitle().

Referenced by setColorScaleTitle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setControlMode() [1/2]

void camitk::setControlMode ( ControlMode  mode)

Set the interaction like trackball or joystick style.

References setControlMode().

+ Here is the call graph for this function:

◆ setControlMode() [2/2]

camitk::setControlMode ( mode  )

References setControlMode().

Referenced by setControlMode(), and setControlMode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetDiffuse()

acProp camitk::SetDiffuse ( )

References acProp.

◆ SetEnabled()

logoWidget camitk::SetEnabled ( true  )

References logoWidget, and tempLogofile.

◆ SetFaceTextScale()

annotatedCube camitk::SetFaceTextScale ( 0.  65)

References annotatedCube.

◆ SetFileName()

imageReader camitk::SetFileName ( tempLogofile->  fileName).toStdString().c_str()

References imageReader, and tempLogofile.

◆ SetFontFamilyToArial()

axeXTextProp camitk::SetFontFamilyToArial ( )

References axeXTextProp.

◆ SetFontSize() [1/2]

orientationDecorationsProp camitk::SetFontSize ( 14  )

◆ SetFontSize() [2/2]

axeXTextProp camitk::SetFontSize ( 20  )

References axeXTextProp.

◆ setFxaaAntialiasing()

void camitk::setFxaaAntialiasing ( bool  )

Set/unset FXAA Antialiasing in renderer.

References setFxaaAntialiasing().

Referenced by setFxaaAntialiasing().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setGradientBackground()

void camitk::setGradientBackground ( bool  )

set the gradient background

References setGradientBackground().

Referenced by setGradientBackground().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setHeightForWidth()

policy camitk::setHeightForWidth ( false  )

References policy().

+ Here is the call graph for this function:

◆ SetHueRange()

vtklup camitk::SetHueRange ( 2.0/3.  0,
0.  0 
)

References vtklup.

◆ SetImage()

logoRepresentation camitk::SetImage ( imageReader->  GetOutput())

References imageReader, and logoRepresentation.

◆ SetInteractor()

colorBarWidget camitk::SetInteractor ( renderWindowInteractor  )

References renderWindow.

◆ SetInterpolationToFlat()

acProp camitk::SetInterpolationToFlat ( )

References acProp, and annotatedCube.

◆ setLightFollowCamera()

void camitk::setLightFollowCamera ( bool  )

Set/unset the light to follow the camera.

References setLightFollowCamera().

Referenced by setLightFollowCamera().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetLineWidth()

acProp camitk::SetLineWidth ( )

References acProp.

◆ setMinimumSize()

camitk::setMinimumSize ( 150  ,
150   
)

References setMinimumSize().

Referenced by setMinimumSize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setObjectName()

camitk::setObjectName ( "RendererWidget"  )

References setObjectName().

Referenced by camitk::ActionWidget::ActionWidget(), camitk::PropertyObject::PropertyObject(), camitk::Action::setName(), setObjectName(), and camitk::SliderSpinBoxWidget::SliderSpinBoxWidget().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setOrientationDecorationsLetters()

void camitk::setOrientationDecorationsLetters ( QString  letters[4])

give the lettres for orientation decoration: Left, Right, Top, Down

References setOrientationDecorationsLetters().

Referenced by setOrientationDecorationsLetters().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPicker()

void camitk::setPicker ( vtkSmartPointer< vtkAbstractPropPicker >  woodyWood)

set the picker to handle the action

Parameters
woodyWoodthe picker (sorry, I could not resist this one!)

References setPicker().

Referenced by setPicker().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPointSize()

void camitk::setPointSize ( double  size)

set the default point size

References setPointSize().

Referenced by setPointSize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPosition()

rep camitk::SetPosition ( 0.  93,
0.  01 
)

References logoRepresentation.

◆ SetPosition2()

rep camitk::SetPosition2 ( 0.  1,
0.  05 
)

References logoRepresentation.

◆ SetRenderWindow()

renderWindowInteractor camitk::SetRenderWindow ( renderWindow  )

◆ SetRepresentation()

logoWidget camitk::SetRepresentation ( logoRepresentation  )

References logoWidget.

◆ SetShaftTypeToCylinder()

axes camitk::SetShaftTypeToCylinder ( )

References axes.

◆ SetShowBorderToOff()

logoRepresentation camitk::SetShowBorderToOff ( )

References logoRepresentation.

◆ setSizePolicy()

camitk::setSizePolicy ( policy  )

References setSizePolicy().

Referenced by setSizePolicy().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTotalLength()

axes camitk::SetTotalLength ( 0.  1,
0.  1,
0.  1 
)

References axes.

◆ SetXAxisLabelText()

axes camitk::SetXAxisLabelText ( "x"  )

References axes.

◆ SetXFaceTextRotation()

annotatedCube camitk::SetXFaceTextRotation ( 90  )

References annotatedCube.

◆ SetXMinusFaceText()

annotatedCube camitk::SetXMinusFaceText ( "R"  )

References annotatedCube.

◆ SetXPlusFaceText()

annotatedCube camitk::SetXPlusFaceText ( "L"  )

References annotatedCube.

◆ SetYAxisLabelText()

axes camitk::SetYAxisLabelText ( "y"  )

References axes.

◆ SetYMinusFaceText()

annotatedCube camitk::SetYMinusFaceText ( "A"  )

References annotatedCube.

◆ SetYPlusFaceText()

annotatedCube camitk::SetYPlusFaceText ( "P"  )

References annotatedCube.

◆ SetZAxisLabelText()

axes camitk::SetZAxisLabelText ( "z"  )

References axes.

◆ SetZFaceTextRotation()

annotatedCube camitk::SetZFaceTextRotation ( 90  )

References annotatedCube.

◆ SetZMinusFaceText()

annotatedCube camitk::SetZMinusFaceText ( "I"  )

References annotatedCube.

◆ SetZPlusFaceText()

annotatedCube camitk::SetZPlusFaceText ( "S"  )

References annotatedCube.

◆ ShadowOff()

orientationDecorationsProp camitk::ShadowOff ( )

References axeXTextProp.

◆ ShallowCopy()

axeZTextProp camitk::ShallowCopy ( axeXTextProp  )

References axeYTextProp.

◆ startPicking()

void camitk::startPicking ( )
protected

References startPicking().

Referenced by startPicking().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toggleAxes()

void camitk::toggleAxes ( bool  )

display the axes

References toggleAxes().

Referenced by toggleAxes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toggleLogo()

void camitk::toggleLogo ( bool  )

toggle logo

References toggleLogo().

Referenced by toggleLogo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toggleOrientationDecorations()

void camitk::toggleOrientationDecorations ( bool  )

display orientation decorations

References toggleOrientationDecorations().

Referenced by toggleOrientationDecorations().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toogle3DRedBlue()

void camitk::toogle3DRedBlue ( )

toggle stereo 3D red/blue rendering (you will need red/blue glasses)

References toogle3DRedBlue().

Referenced by toogle3DRedBlue().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Update()

imageReader camitk::Update ( )

References imageReader.

◆ updateAxes()

void camitk::updateAxes ( )

update the axes sizes

References updateAxes().

Referenced by updateAxes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ viewerLessThan()

bool camitk::viewerLessThan ( const camitk::Viewer v1,
const camitk::Viewer v2 
)

References camitk::Viewer::getName().

+ Here is the call graph for this function:

◆ VisibilityOff()

annotatedCube camitk::VisibilityOff ( )

References axes.

◆ vtkInstantiatorNewMacro()

camitk::vtkInstantiatorNewMacro ( vtkInteractorStylePick  )

◆ vtkStandardNewMacro()

camitk::vtkStandardNewMacro ( vtkInteractorStylePick  )

◆ ~RendererWidget()

camitk::~RendererWidget ( )
override

destructor

References ~RendererWidget().

Referenced by ~RendererWidget().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ acProp

◆ annotatedCube

vtkSmartPointer< vtkAnnotatedCubeActor > camitk::annotatedCube = vtkSmartPointer<vtkAnnotatedCubeActor>::New()

◆ axes

vtkSmartPointer< vtkAxesActor > camitk::axes = vtkSmartPointer<vtkAxesActor>::New()

◆ axeXTextProp

vtkSmartPointer<vtkTextProperty> camitk::axeXTextProp = vtkSmartPointer<vtkTextProperty>::New()

◆ axeYTextProp

vtkSmartPointer<vtkTextProperty> camitk::axeYTextProp = vtkSmartPointer<vtkTextProperty>::New()

◆ axeZTextProp

vtkSmartPointer<vtkTextProperty> camitk::axeZTextProp = vtkSmartPointer<vtkTextProperty>::New()

◆ backfaceCulling

◆ cameraOrientation

CameraOrientation camitk::cameraOrientation = RIGHT_DOWN

state of the initial camera orientation

Referenced by camitk::InteractiveViewer::initSettings(), and resetCameraSettings().

◆ colorBarWidget

vtkSmartPointer< vtkScalarBarWidget > camitk::colorBarWidget = vtkSmartPointer<vtkScalarBarWidget>::New()

the scalar bar widget

Referenced by GetScalarBarActor(), RepositionableOn(), and SelectableOn().

◆ colorScale

vtkSmartPointer<vtkScalarBarActor> camitk::colorScale
protected

the color scale displaying the lookup table + values

◆ controlInteractorStyle

vtkSmartPointer< vtkInteractorStyle > camitk::controlInteractorStyle = nullptr

for the interaction with the scene

Referenced by mouseMoveEvent().

◆ controlMode

ControlMode camitk::controlMode = NONE

current control mode

Referenced by camitk::InteractiveViewer::initSettings(), and mouseMoveEvent().

◆ displayColorScale

bool camitk::displayColorScale = false

is the color scale currently displayed

◆ displayGradient

bool camitk::displayGradient = false

◆ displayLogo

bool camitk::displayLogo = true

is the logo displayed

◆ fxaaAntialiasing

◆ imageReader

vtkSmartPointer<vtkPNGReader> camitk::imageReader = vtkPNGReader::New()

Referenced by SetFileName(), SetImage(), and Update().

◆ lightFollowCamera

bool camitk::lightFollowCamera
protected

Is the light following the camera.

◆ logoRepresentation

vtkSmartPointer<vtkLogoRepresentation> camitk::logoRepresentation = vtkSmartPointer<vtkLogoRepresentation>::New()

◆ logoWidget

vtkSmartPointer< vtkLogoWidget > camitk::logoWidget = vtkSmartPointer<vtkLogoWidget>::New()

logo widget

Referenced by SetEnabled(), and SetRepresentation().

◆ orientationDecorationActors

camitk::orientationDecorationActors ( )
protected

annotated cube text actors

Referenced by for(), for(), and GetPositionCoordinate().

◆ orientationDecorationLetters

camitk::orientationDecorationLetters[3] = "R"

Referenced by for().

◆ orientationDecorationsProp

camitk::orientationDecorationsProp = vtkSmartPointer<vtkTextProperty>::New()

Referenced by for(), SetColor(), and SetFontSize().

◆ orientationDecorationsTextMapper

vtkSmartPointer<vtkTextMapper> camitk::orientationDecorationsTextMapper[4]
protected

annotated cube text

Referenced by for().

◆ pickingButtonDiverter

vtkSmartPointer< vtkCallbackCommand > camitk::pickingButtonDiverter = vtkSmartPointer<vtkCallbackCommand>::New()

the callback to remove left button interaction while in picking mode

Referenced by SetCallback(), and SetClientData().

◆ pickingDiverter

bool camitk::pickingDiverter = false

is the picking diverter used

◆ pickInteractorStyle

vtkSmartPointer< vtkInteractorStylePick > camitk::pickInteractorStyle = vtkSmartPointer<vtkInteractorStylePick>::New()

picking interactor

◆ pointSize

double camitk::pointSize = 4.0

◆ renderer

vtkSmartPointer< vtkRenderer > camitk::renderer = vtkSmartPointer<vtkRenderer>::New()

The current renderer.

Referenced by VolumeRenderingAction::createVolumeRendering(), and resetCameraSettings().

◆ rendering3DRedBlue

bool camitk::rendering3DRedBlue = false

is rendering in 3D stereo red/blue

◆ renderWindow

vtkSmartPointer<vtkRenderWindow> camitk::renderWindow = GetRenderWindow()

Referenced by AddRenderer(), and SetInteractor().

◆ renderWindowInteractor

vtkSmartPointer< QVTKInteractor > camitk::renderWindowInteractor = vtkSmartPointer<QVTKInteractor>::New()

◆ rep

vtkScalarBarRepresentation* camitk::rep = vtkScalarBarRepresentation::SafeDownCast(colorBarWidget->GetRepresentation())

◆ tempLogofile

QTemporaryFile* camitk::tempLogofile = QTemporaryFile::createNativeFile(logoFile)

Referenced by SetEnabled(), and SetFileName().

◆ transform

◆ vtklup

vtkSmartPointer<vtkWindowLevelLookupTable> camitk::vtklup = vtkSmartPointer<vtkWindowLevelLookupTable>::New()

Referenced by ForceBuild(), and SetHueRange().