![]() |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
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 | ActionViewer |
ActionViewer is the viewer used to manage the actions. More... | |
class | ActionWidget |
Build a default widget for a given action using its Qt properties. More... | |
class | Application |
The generic/default application. 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 | Explorer |
Explorer window, display the list of all data currently opened in the application. 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 | FrameExplorer |
Explorer window, display the list of all data currently opened in the application. 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 just a QFrame that delegates all key events to its InteractiveViewer. 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 | MedicalImageViewer |
The views manager. 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 | 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 | PropertyExplorer |
The property explorer. More... | |
class | PropertyObject |
This class describes a property object. More... | |
class | ScreenshotFormatInfo |
sub-class containing all information concerning exporting images (screenshot) 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 a set of images, destined to be seen in 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 viewer. More... | |
class | vtkInteractorStylePick |
Interactor used when we are in picking mode. More... | |
Typedefs | |
using | ActionList = QList< Action * > |
A list of Action. More... | |
using | ActionSet = QSet< Action * > |
A set of Action. More... | |
using | ComponentList = QList< Component * > |
A list of Component. More... | |
using | vtkSmartPointerCamera = vtkSmartPointer< vtkCamera > |
Enumerations | |
enum | CameraOrientation { RIGHT_DOWN, LEFT_UP, RIGHT_UP, LEFT_BACK, BACK_DOWN } |
describes the initial position and orientation of the default camera. More... | |
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... | |
enum | ScreenshotFormat { PNG = 0, JPG, BMP, PS, EPS, PDF, TEX, SVG, OBJ, RIB, VRML, NOT_SUPPORTED } |
list of supported screenshot export formats More... | |
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< vtkTextMapper > | copyrightTextMapper = vtkSmartPointer<vtkTextMapper>::New() |
vtkSmartPointer< vtkTextProperty > | copyrightTextProp = vtkSmartPointer<vtkTextProperty>::New() |
static bool | initScreenshotMap = false |
QString | orientationDecorationLetters [4] = "R" |
vtkSmartPointer< vtkTextProperty > | orientationDecorationsProp = vtkSmartPointer<vtkTextProperty>::New() |
vtkSmartPointer< vtkRenderWindow > | renderWindow = GetRenderWindow() |
vtkScalarBarRepresentation * | rep = vtkScalarBarRepresentation::SafeDownCast(colorBarWidget->GetRepresentation()) |
QMap< RendererWidget::ScreenshotFormat, RendererWidget::ScreenshotFormatInfo * > | screenshotMap |
vtkSmartPointer< vtkTransform > | transform = vtkSmartPointer<vtkTransform>::New() |
vtkSmartPointer< vtkWindowLevelLookupTable > | vtklup = vtkSmartPointer<vtkWindowLevelLookupTable>::New() |
extra actors managements | |
is the gradient background displayed | |
displayCopyright = true | |
is the copyright text displayed More... | |
displayColorScale = false | |
is the color scale currently displayed More... | |
axes = vtkSmartPointer<vtkAxesActor>::New() | |
axes actor More... | |
annotatedCube = vtkSmartPointer<vtkAnnotatedCubeActor>::New() | |
annotated cube actor More... | |
copyrightTextActor = vtkSmartPointer<vtkActor2D>::New() | |
copyright text vtk actor More... | |
colorBarWidget = vtkSmartPointer<vtkScalarBarWidget>::New() | |
the scalar bar widget More... | |
displayGradient = false | |
vtkSmartPointer< vtkScalarBarActor > | colorScale |
the color scale displaying the lookup table + values More... | |
vtkSmartPointer< vtkActor2D > | orientationDecorationActors [4] |
vtkSmartPointer< vtkTextMapper > | orientationDecorationsTextMapper [4] |
picking and interaction | |
interactor = vtkSmartPointer<QVTKInteractor>::New() | |
controlMode = NONE | |
current control mode More... | |
controlInteractorStyle = nullptr | |
for the interaction with the scene More... | |
void | setAreaPicking (bool areaPicking) |
Set the interaction mode like picking or control. More... | |
ControlMode | getControlMode () const |
get the current control mode More... | |
void | setControlMode (ControlMode mode) |
Set the interaction like trackball or joystick style. More... | |
void | setPicker (vtkSmartPointer< vtkAbstractPropPicker > woodyWood) |
set the picker to handle the action More... | |
void | pick () |
Perform picking using the current mouse position. More... | |
void | pickActor (int x, int y) |
Perform picking from screen coordinates. More... | |
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)! More... | |
static const ScreenshotFormatInfo * | getScreenshotFormatInfo (unsigned int) |
return the information concerning the supporting format using an index corresponding to the enum (check index validity) More... | |
static const ScreenshotFormatInfo * | getScreenshotFormatInfo (ScreenshotFormat) |
retun the information concerning the supporting format using an index corresponding to the enum (check index validity) More... | |
void | screenshot (QString filename) |
save the screenshot in a file More... | |
void | refresh () |
refresh the display More... | |
void | startPicking () |
manage left mouse release interactions More... | |
void | endPicking () |
end picking More... | |
void | actorPicked (vtkSmartPointer< vtkPicker >) |
void | rightButtonPressed () |
send when the mouse right button is clicked More... | |
view/camera settings | |
backfaceCulling = false | |
Is back face culling on? More... | |
rendering3DRedBlue = false | |
is rendering in 3D stereo red/blue More... | |
pointSize = 4.0 | |
default point size More... | |
renderer = vtkSmartPointer<vtkRenderer>::New() | |
The current renderer. More... | |
cameraOrientation = RIGHT_DOWN | |
state of the initial camera orientation More... | |
bool | lightFollowCamera |
Is the light following the camera. More... | |
void | setBackfaceCulling (bool) |
bool | getBackfaceCulling () const |
Get the current state of backface culling. More... | |
void | setCameraOrientation (RendererWidget::CameraOrientation) |
Set the current axes mode. More... | |
RendererWidget::CameraOrientation | getCameraOrientation () const |
Return the current axes mode. More... | |
void | setLightFollowCamera (bool) |
Set/unset the light to follow the camera. More... | |
bool | getLightFollowCamera () const |
Get the current state of the property. More... | |
void | setPointSize (double size) |
set the default point size More... | |
double | getPointSize () const |
get the current value of point size More... | |
void | rotateCamera (double angle, int axe) |
Rotate the camera around param "axe" of "angle" degrees. More... | |
void | resetCamera () |
reset the camera to the default position, default FOV. More... | |
void | resetCamera (double *bounds) |
reset the camera to the default position, default FOV and use the given bounds to focus on More... | |
void | getCameraSettings (double *position, double *focalPoint, double *viewUp) |
get camera settings information (position, what is looked at and how) in world coordinates More... | |
void | setActiveCamera (vtkCamera *cam) |
set active camera More... | |
vtkCamera * | getActiveCamera () |
get the active camera More... | |
void | getMouse3DCoordinates (double &x, double &y, double &z) |
get the mouse coordinates in 3D More... | |
void | setBackgroundColor (double, double, double) |
set the background color (rgb) More... | |
void | getBackgroundColor (double &, double &, double &) |
get the background color (rgb) More... | |
bool | getGradientBackground () |
get the current state of the gradient background More... | |
void | setGradientBackground (bool) |
set the gradient background More... | |
void | toogle3DRedBlue () |
toggle stereo 3D red/blue rendering (you will need red/blue glasses) More... | |
void | toggleCopyright (bool) |
toggle copyright text More... | |
void | toggleAxes (bool) |
display the axes More... | |
void | updateAxes () |
update the axes sizes More... | |
void | toggleOrientationDecorations (bool) |
display orientation decorations More... | |
void | setOrientationDecorationsLetters (QString letters[4]) |
give the lettres for orientation decoration: Left, Right, Top, Down More... | |
void | setColorScale (bool) |
display the color scale in the viewport, use setColorScaleMinMax to change the displayed values More... | |
bool | getColorScale () const |
get the color display state More... | |
void | setColorScaleMinMax (double m, double M) |
set the min and max values. More... | |
void | setColorScaleTitle (QString t) |
set the color scale title. More... | |
void | computeVisiblePropBounds (double *bounds) |
get the bounding box of all visible actors [xmin,xmax, ymin,ymax, zmin,zmax] More... | |
void | resetCameraSettings () |
callback and interaction | |
pickInteractorStyle = vtkSmartPointer<vtkInteractorStylePick>::New() | |
picking interactor More... | |
pickingButtonDiverter = vtkSmartPointer<vtkCallbackCommand>::New() | |
the callback to remove left button interaction while in picking mode More... | |
pickingDiverter = false | |
is the picking diverter used More... | |
static void | divertionCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata) |
a diverter observer callback (to be used to divert undesired events) More... | |
using camitk::ActionList = typedef QList<Action*> |
A list of Action.
using camitk::ActionSet = typedef QSet<Action*> |
A set of Action.
using camitk::ComponentList = typedef QList<Component*> |
A list of Component.
using camitk::vtkSmartPointerCamera = typedef vtkSmartPointer<vtkCamera> |
describes the initial position and orientation of the default camera.
The world coordinate system is not changed by the CameraOrientation, only the inital position and orientation of the camera. 6 keywords can be used to determine the direction of the x and y axis as intially viewed by the camera: RIGHT, LEFT, UP, DOWN, FRONT, BACK. The first part of the enum name describes the x direction, the second part corresponds to the y direction. The camera is positionned and orientated in order to view the axes as described by the keywords. E.g. RIGHT_DOWN will set the camera so that the x axis points toward the right direction and the y axis points toward the down direction.
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) |
enum camitk::ControlMode |
list of supported screenshot export formats
bool camitk::actionLessThan | ( | const camitk::Action * | a1, |
const camitk::Action * | a2 | ||
) |
void camitk::actorPicked | ( | vtkSmartPointer< vtkPicker > | ) |
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::actorTransform | ( | vtkSmartPointer< vtkActor > | , |
double * | , | ||
int | , | ||
double ** | , | ||
double * | , | ||
double * | |||
) |
perform the transformation of the actor
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
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:
p | the vtkProp to add to the scene |
refresh | if true the axes are refreshed (default false) |
camitk::addProp | ( | axes | ) |
Referenced by for(), camitk::Geometry::getDataPort(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
camitk::addProp | ( | annotatedCube | ) |
camitk::addProp | ( | copyrightTextActor | ) |
renderWindow camitk::AddRenderer | ( | renderer | ) |
axeXTextProp camitk::BoldOn | ( | ) |
|
staticprotected |
Referenced by divertionCallback(), and if().
void camitk::computeVisiblePropBounds | ( | double * | bounds | ) |
get the bounding box of all visible actors [xmin,xmax, ymin,ymax, zmin,zmax]
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
bool camitk::containsProp | ( | vtkSmartPointer< vtkProp > | ) |
is the given vtkProp (e.g. vtkActor or vtkActor2D) in this renderer
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
|
staticprotected |
a diverter observer callback (to be used to divert undesired events)
References buildScreenshotMap(), copyrightTextActor, displayColorScale, displayCopyright, displayGradient, getScreenshotFormatInfo(), pickingButtonDiverter, pickingDiverter, and pickInteractorStyle.
|
protected |
end picking
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
camitk::for | ( | ) |
References orientationDecorationActors, and orientationDecorationsTextMapper.
camitk::for | ( | const auto &orientationDecorationActor :orientationDecorationActors | ) |
References addProp().
vtklup camitk::ForceBuild | ( | ) |
vtkCamera* camitk::getActiveCamera | ( | ) |
get the active camera
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
annotatedCube camitk::GetAssembly | ( | ) | -> SetPosition(0.0, 0.0, 0.0) |
bool camitk::getBackfaceCulling | ( | ) | const |
Get the current state of backface culling.
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::getBackgroundColor | ( | double & | , |
double & | , | ||
double & | |||
) |
get the background color (rgb)
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
RendererWidget::CameraOrientation camitk::getCameraOrientation | ( | ) | const |
Return the current axes mode.
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::getCameraSettings | ( | double * | position, |
double * | focalPoint, | ||
double * | viewUp | ||
) |
get camera settings information (position, what is looked at and how) in world coordinates
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
bool camitk::getColorScale | ( | ) | const |
get the color display state
Referenced by camitk::InteractiveViewer::getRendererWidget(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
ControlMode camitk::getControlMode | ( | ) | const |
get the current control mode
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
bool camitk::getGradientBackground | ( | ) |
get the current state of the gradient background
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
bool camitk::getLightFollowCamera | ( | ) | const |
Get the current state of the property.
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::getMouse3DCoordinates | ( | double & | x, |
double & | y, | ||
double & | z | ||
) |
get the mouse coordinates in 3D
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
double camitk::getPointSize | ( | ) | const |
get the current value of point size
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
copyrightTextActor camitk::GetPositionCoordinate | ( | ) | -> SetValue(0.5, 0.05) |
Referenced by camitk::Geometry::updateLabel().
colorBarWidget camitk::GetScalarBarActor | ( | ) | -> SetLookupTable(vtklup) |
|
static |
return the information concerning the supporting format using an index corresponding to the enum (check index validity)
Referenced by divertionCallback(), camitk::InteractiveViewer::screenshot(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
|
static |
retun the information concerning the supporting format using an index corresponding to the enum (check index validity)
|
staticprotected |
get the information from the extension (QString)
copyrightTextMapper camitk::GetTextProperty | ( | ) | -> ShallowCopy(copyrightTextProp) |
axes camitk::GetXAxisCaptionActor2D | ( | ) | -> SetCaptionTextProperty(axeXTextProp) |
axes camitk::GetYAxisCaptionActor2D | ( | ) | -> SetCaptionTextProperty(axeYTextProp) |
axes camitk::GetZAxisCaptionActor2D | ( | ) | -> SetCaptionTextProperty(axeZTextProp) |
transform camitk::Identity | ( | ) |
camitk::if | ( | ! | initScreenshotMap | ) |
References buildScreenshotMap(), CAMITK_INFO, policy(), setMinimumSize(), and setSizePolicy().
Referenced by camitk_library().
interactor camitk::Initialize | ( | ) |
Referenced by PhysicalModel::xmlRead().
axeXTextProp camitk::ItalicOn | ( | ) |
|
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)!
Referenced by QtPropertyEditorView::indexToItem(), camitk::InteractiveViewerFrame::keyPressEvent(), QtPropertyEditorView::keyPressEvent(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
|
overrideprotected |
overloaded mouse move handler because a potentialbug in vtk 5.2.1
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
|
overrideprotected |
|
overrideprotected |
overloaded mouse release handler because a potentialbug in vtk 5.2.1
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
bool camitk::operator< | ( | const ComponentList & | l1, |
const ComponentList & | l2 | ||
) |
void camitk::pick | ( | ) |
Perform picking using the current mouse position.
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::pickActor | ( | int | x, |
int | y | ||
) |
Perform picking from screen coordinates.
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
QSizePolicy camitk::policy | ( | QSizePolicy::Expanding | , |
QSizePolicy::Expanding | |||
) |
void camitk::refresh | ( | ) |
refresh the display
Referenced by ComputeNormals::apply(), CleanPolyData::apply(), ExtractSelection::apply(), FillWithPoints::apply(), ClearSelectionAction::apply(), ExtractEdges::apply(), PixelColorChanger::apply(), ComputeCurvatures::apply(), ExtractSurface::apply(), ShowImageIn3D::apply(), WarpOut::apply(), ShowAxialSliceIn3D::apply(), Decimation::apply(), ShowCoronalSliceIn3D::apply(), ShowSagittalSliceIn3D::apply(), AppendMeshes::apply(), RemoveLastInstanciatedAction::apply(), ImageReconstructionAction::apply(), SphereTopology::apply(), GridTopology::apply(), CreateSC::apply(), SelectLastInstanciatedAction::apply(), ShowArbitrarySliceIn3D::apply(), CenterMesh::apply(), ICPRegistration::apply(), MergeMeshs::apply(), MeshClipping::apply(), SaveActionState::applyAction(), ActionState::applyAction(), MeshClipping::changeVisibility(), RigidTransform::close(), camitk::ImageComponent::getInitialOrientation(), MonitoringManager::getRefresh(), MultiPickingWidget::manuallyModified(), MonitoringManager::MonitoringManager(), ManualThreshold::process(), SingleAcquisition2DAction::process(), SingleAcquisition3DAction::process(), StopImaging2DAction::process(), StartImaging3DAction::process(), StopImaging3DAction::process(), InitImagerAction::process(), StartImaging2DAction::process(), MeanFilter::process(), CannyEdgeDetection::process(), GradientMagnitude::process(), GradientMagnitudeRecursiveGaussian::process(), LaplacianRecursiveGaussian::process(), LaplacianSharpening::process(), Laplacian::process(), MedianFilter::process(), SobelEdgeDetection::process(), RegionGrowing::process(), BoxVOI::process(), ConnectedComponents::process(), OtsuFilter::process(), VolumeRenderingAction::process(), Derivative::process(), GaussianFilter::process(), AnisotropicDiffusion::process(), ResampleAction::process(), MorphologicalOperators::process(), ReorientImage::process(), ImpMainWindow::refresh(), MultiPickingWidget::removePixelFromTable(), MultiPickingWidget::removeSeedNumber(), MeshClipping::restoreMeshes(), GenerateModel::saveMMLFiles(), camitk::ScreenshotFormatInfo::ScreenshotFormatInfo(), MonitoringManager::setRefresh(), MeshClipping::updateBox(), and MeshQuality::updateMeshColor().
void camitk::removeProp | ( | vtkSmartPointer< vtkProp > | p, |
bool | refresh = false |
||
) |
remove the given vtkProp (e.g.
vtkActor or vtkActor2D, such as color scale)
p | the vtkProp to add to the scene |
refresh | if true the axes are refreshed (default false) |
Referenced by camitk::Geometry::getDataPort(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
camitk::RendererWidget | ( | QWidget * | parent = nullptr , |
ControlMode | mode = RendererWidget::TRACKBALL |
||
) |
constructors.
By default:
parent | the parent widget |
mode | the mouse interaction control mode (default is TRACKBALL) |
Referenced by camitk::InteractiveViewer::InteractiveViewer(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
colorBarWidget camitk::RepositionableOn | ( | ) |
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)
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::resetCamera | ( | double * | bounds | ) |
reset the camera to the default position, default FOV and use the given bounds to focus on
|
protected |
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
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
bounds | the clipping plane will be set to the bounding box [xmin,xmax, ymin,ymax, zmin,zmax] |
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::rightButtonPressed | ( | ) |
send when the mouse right button is clicked
Referenced by camitk::InteractiveViewer::getWidget(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::rotateCamera | ( | double | angle, |
int | axe | ||
) |
Rotate the camera around param "axe" of "angle" degrees.
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
transform camitk::Scale | ( | 0. | 05, |
0. | 05, | ||
0. | 05 | ||
) |
void camitk::screenshot | ( | QString | filename | ) |
save the screenshot in a file
filename | the filename extension (suffix) must be supported (use getScreenshotFormatInfo to get the correct extension) |
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
colorBarWidget camitk::SelectableOn | ( | ) |
void camitk::setActiveCamera | ( | vtkCamera * | cam | ) |
set active camera
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
acProp camitk::SetAmbient | ( | 1 | ) |
void camitk::setAreaPicking | ( | bool | areaPicking | ) |
Set the interaction mode like picking or control.
Set the interaction mode like picking or control
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::setBackfaceCulling | ( | bool | ) |
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::setBackgroundColor | ( | double | , |
double | , | ||
double | |||
) |
set the background color (rgb)
camitk::setBackgroundColor | ( | 0. | 0, |
0. | 0, | ||
0. | 0 | ||
) |
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo(), and QtCanvasItem::update().
pickingButtonDiverter camitk::SetCallback | ( | RendererWidget::divertionCallback | ) |
void camitk::setCameraOrientation | ( | RendererWidget::CameraOrientation | ) |
Set the current axes mode.
camitk::setCameraOrientation | ( | cameraOrientation | ) |
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
pickingButtonDiverter camitk::SetClientData | ( | controlInteractorStyle | ) |
acProp camitk::SetColor | ( | 0. | 5, |
1 | , | ||
1 | |||
) |
acProp camitk::SetColor | ( | 0. | 18, |
0. | 28, | ||
0. | 23 | ||
) |
acProp camitk::SetColor | ( | 1 | , |
0 | , | ||
0 | |||
) |
acProp camitk::SetColor | ( | 0 | , |
1 | , | ||
0 | |||
) |
acProp camitk::SetColor | ( | 0 | , |
0 | , | ||
1 | |||
) |
orientationDecorationsProp camitk::SetColor | ( | 0. | 0, |
1. | 0, | ||
1. | 0 | ||
) |
void camitk::setColorScale | ( | bool | ) |
display the color scale in the viewport, use setColorScaleMinMax to change the displayed values
Referenced by camitk::InteractiveViewer::getRendererWidget(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::setColorScaleMinMax | ( | double | m, |
double | M | ||
) |
set the min and max values.
m | minimum value (blue) |
M | maximum value (red) |
Referenced by camitk::InteractiveViewer::getRendererWidget(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::setColorScaleTitle | ( | QString | t | ) |
set the color scale title.
t | title of the color scale |
Referenced by camitk::InteractiveViewer::getRendererWidget(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::setControlMode | ( | ControlMode | mode | ) |
Set the interaction like trackball or joystick style.
camitk::setControlMode | ( | mode | ) |
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
acProp camitk::SetDiffuse | ( | 0 | ) |
annotatedCube camitk::SetFaceTextScale | ( | 0. | 65 | ) |
axeXTextProp camitk::SetFontFamilyToArial | ( | ) |
axeXTextProp camitk::SetFontSize | ( | 20 | ) |
orientationDecorationsProp camitk::SetFontSize | ( | 14 | ) |
copyrightTextProp camitk::SetFontSize | ( | 12 | ) |
void camitk::setGradientBackground | ( | bool | ) |
set the gradient background
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
policy camitk::setHeightForWidth | ( | false | ) |
vtklup camitk::SetHueRange | ( | 2.0/3. | 0, |
0. | 0 | ||
) |
copyrightTextMapper camitk::SetInput | ( | " CamiTK\ | ) |
colorBarWidget camitk::SetInteractor | ( | interactor | ) |
acProp camitk::SetInterpolationToFlat | ( | ) |
void camitk::setLightFollowCamera | ( | bool | ) |
Set/unset the light to follow the camera.
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
acProp camitk::SetLineWidth | ( | 1 | ) |
copyrightTextActor camitk::SetMapper | ( | copyrightTextMapper | ) |
camitk::setMinimumSize | ( | 150 | , |
150 | |||
) |
Referenced by if().
camitk::setObjectName | ( | "RendererWidget" | ) |
void camitk::setOrientationDecorationsLetters | ( | QString | letters[4] | ) |
give the lettres for orientation decoration: Left, Right, Top, Down
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::setPicker | ( | vtkSmartPointer< vtkAbstractPropPicker > | woodyWood | ) |
set the picker to handle the action
woodyWood | the picker (sorry, I could not resist this one!) |
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::setPointSize | ( | double | size | ) |
set the default point size
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
rep camitk::SetPosition | ( | 0. | 1, |
0. | 01 | ||
) |
rep camitk::SetPosition2 | ( | 0. | 8, |
0. | 08 | ||
) |
interactor camitk::SetRenderWindow | ( | renderWindow | ) |
axes camitk::SetShaftTypeToCylinder | ( | ) |
axes camitk::SetTotalLength | ( | 0. | 1, |
0. | 1, | ||
0. | 1 | ||
) |
axes camitk::SetXAxisLabelText | ( | "x" | ) |
annotatedCube camitk::SetXFaceTextRotation | ( | 90 | ) |
annotatedCube camitk::SetXMinusFaceText | ( | "R" | ) |
annotatedCube camitk::SetXPlusFaceText | ( | "L" | ) |
axes camitk::SetYAxisLabelText | ( | "y" | ) |
annotatedCube camitk::SetYMinusFaceText | ( | "A" | ) |
annotatedCube camitk::SetYPlusFaceText | ( | "P" | ) |
axes camitk::SetZAxisLabelText | ( | "z" | ) |
annotatedCube camitk::SetZFaceTextRotation | ( | 90 | ) |
annotatedCube camitk::SetZMinusFaceText | ( | "I" | ) |
annotatedCube camitk::SetZPlusFaceText | ( | "S" | ) |
orientationDecorationsProp camitk::ShadowOff | ( | ) |
copyrightTextProp camitk::ShadowOn | ( | ) |
copyrightTextProp camitk::ShallowCopy | ( | axeXTextProp | ) |
|
protected |
manage left mouse release interactions
manage right mouse click interactions, can emit rightButtonPressed() signal start picking
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::toggleAxes | ( | bool | ) |
display the axes
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::toggleCopyright | ( | bool | ) |
toggle copyright text
Referenced by camitk::InteractiveViewer::getRendererWidget(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::toggleOrientationDecorations | ( | bool | ) |
display orientation decorations
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::toogle3DRedBlue | ( | ) |
toggle stereo 3D red/blue rendering (you will need red/blue glasses)
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
void camitk::updateAxes | ( | ) |
update the axes sizes
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
annotatedCube camitk::VisibilityOff | ( | ) |
camitk::vtkInstantiatorNewMacro | ( | vtkInteractorStylePick | ) |
camitk::vtkStandardNewMacro | ( | vtkInteractorStylePick | ) |
|
override |
destructor
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
camitk::acProp = annotatedCube->GetCubeProperty() |
Referenced by ReorientImage::buildCube().
vtkSmartPointer< vtkAnnotatedCubeActor > camitk::annotatedCube = vtkSmartPointer<vtkAnnotatedCubeActor>::New() |
annotated cube actor
vtkSmartPointer< vtkAxesActor > camitk::axes = vtkSmartPointer<vtkAxesActor>::New() |
axes actor
vtkSmartPointer<vtkTextProperty> camitk::axeXTextProp = vtkSmartPointer<vtkTextProperty>::New() |
Referenced by ReorientImage::buildAxes(), camitk::Frame::getFrameAxisActor(), and camitk::Slice::init2DAxesActor().
vtkSmartPointer<vtkTextProperty> camitk::axeYTextProp = vtkSmartPointer<vtkTextProperty>::New() |
Referenced by ReorientImage::buildAxes(), camitk::Frame::getFrameAxisActor(), and camitk::Slice::init2DAxesActor().
vtkSmartPointer<vtkTextProperty> camitk::axeZTextProp = vtkSmartPointer<vtkTextProperty>::New() |
Referenced by ReorientImage::buildAxes(), camitk::Frame::getFrameAxisActor(), and camitk::Slice::init2DAxesActor().
bool camitk::backfaceCulling = false |
Is back face culling on?
Referenced by camitk::InteractiveViewer::eventFilter(), camitk::InteractiveViewer::initActions(), camitk::InteractiveViewer::initSettings(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
CameraOrientation camitk::cameraOrientation = RIGHT_DOWN |
state of the initial camera orientation
Referenced by camitk::InteractiveViewer::initSettings(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
vtkSmartPointer< vtkScalarBarWidget > camitk::colorBarWidget = vtkSmartPointer<vtkScalarBarWidget>::New() |
the scalar bar widget
|
protected |
the color scale displaying the lookup table + values
vtkSmartPointer< vtkInteractorStyle > camitk::controlInteractorStyle = nullptr |
for the interaction with the scene
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
ControlMode camitk::controlMode = NONE |
current control mode
Referenced by camitk::InteractiveViewer::initSettings(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
vtkSmartPointer< vtkActor2D > camitk::copyrightTextActor = vtkSmartPointer<vtkActor2D>::New() |
copyright text vtk actor
Referenced by divertionCallback().
vtkSmartPointer<vtkTextMapper> camitk::copyrightTextMapper = vtkSmartPointer<vtkTextMapper>::New() |
vtkSmartPointer<vtkTextProperty> camitk::copyrightTextProp = vtkSmartPointer<vtkTextProperty>::New() |
bool camitk::displayColorScale = false |
is the color scale currently displayed
Referenced by divertionCallback().
bool camitk::displayCopyright = true |
is the copyright text displayed
Referenced by divertionCallback().
bool camitk::displayGradient = false |
Referenced by divertionCallback().
|
static |
vtkSmartPointer< QVTKInteractor > camitk::interactor = vtkSmartPointer<QVTKInteractor>::New() |
Referenced by camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
|
protected |
Is the light following the camera.
|
protected |
Referenced by for().
camitk::orientationDecorationLetters[3] = "R" |
camitk::orientationDecorationsProp = vtkSmartPointer<vtkTextProperty>::New() |
|
protected |
Referenced by for().
vtkSmartPointer< vtkCallbackCommand > camitk::pickingButtonDiverter = vtkSmartPointer<vtkCallbackCommand>::New() |
the callback to remove left button interaction while in picking mode
Referenced by divertionCallback().
bool camitk::pickingDiverter = false |
is the picking diverter used
Referenced by divertionCallback().
vtkSmartPointer< vtkInteractorStylePick > camitk::pickInteractorStyle = vtkSmartPointer<vtkInteractorStylePick>::New() |
picking interactor
Referenced by divertionCallback().
double camitk::pointSize = 4.0 |
default point size
Referenced by camitk::InteractiveViewer::eventFilter(), and camitk::InteractiveViewer::initSettings().
vtkSmartPointer< vtkRenderer > camitk::renderer = vtkSmartPointer<vtkRenderer>::New() |
The current renderer.
Referenced by VolumeRenderingAction::createVolumeRendering(), and camitk::ScreenshotFormatInfo::ScreenshotFormatInfo().
bool camitk::rendering3DRedBlue = false |
is rendering in 3D stereo red/blue
vtkSmartPointer<vtkRenderWindow> camitk::renderWindow = GetRenderWindow() |
vtkScalarBarRepresentation* camitk::rep = vtkScalarBarRepresentation::SafeDownCast(colorBarWidget->GetRepresentation()) |
QMap<RendererWidget::ScreenshotFormat, RendererWidget::ScreenshotFormatInfo*> camitk::screenshotMap |
vtkSmartPointer<vtkTransform> camitk::transform = vtkSmartPointer<vtkTransform>::New() |
vtkSmartPointer<vtkWindowLevelLookupTable> camitk::vtklup = vtkSmartPointer<vtkWindowLevelLookupTable>::New() |