Classes | |
class | AbortException |
Exception class to handle abortion in component instantiation. Particularly useful to handle constructor's abortion. More... | |
class | Action |
Action class is an abstract class that enables you to build a action (generally on a component). At least two classes have to be reimplemented to enable the action: ActionExtension + Action. More... | |
class | ActionExtension |
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core, write a new class that inherits from this class. More... | |
class | ActionWidget |
Build a default widget for a given action using its Qt properties. It should be good enough in most of the case. The default widget contains a description, a reminder of the target component names, and an applyable/revertable ObjectController that allows you to edit/modify properties of the action. More... | |
class | Application |
The generic/default application. Once this class is intanciated in the main, everything is setup. The constructor can take the command line arguments. It can also be asked not to load the extensions automatically,see Application(). More... | |
class | ArbitrarySingleImageComponent |
This Component manages the specific case of arbitrary orientation of a sub-component of the image component. 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. A Component can only have one implemented representation. More... | |
class | ComponentExtension |
This class describes what is a generic Component extension. To add a ComponentExtension to CamiTK core, write a new class that inherits from this class. 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. An image volume data has no concrete 3D representation, but handles several sub-components for axial, sagittal and coronal slices. 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. An InterfaceBitMap is a kind of simplifier/wrapper for vtkImageData. 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. Messages can logged on the standard output or on a file (or both) and can also show QMessageBox dialog. 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. InterfaceProperty is one of the interfaces implemented by the Component class. 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. It sets up the main window and creates a menubar, toolbar and statusbar (all hidden by default). 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. This class use the Qt model/view design. 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. A property has a type, a description (to be displayed for example as a tooltip, can be rich-text, see http://qt-project.org/doc/qt-4.8/richtext-html-subset.html for supported html tags), a value, a unit of measurement (SI unit if possible), and some specific attributes (that depends on the type, e.g. minimal and maximal values, single steps, number of decimals, regular expression...). An enum type can also be used for properties. 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. an image or BitMap) of an ImageComponent. Helper class. More... | |
class | SliderSpinBoxWidget |
A utility class to have QSpinBox and QSlider synchronized. see for example InteractiveViewer (when it is used as 2D viewer) More... | |
class | SliderTextWidget |
This widget allows you to use a slider with a lineedit in a Dialog Box. The [min,max] interval is divided by 100 line steps (10 page steps), the slider controling the variation in percentage. 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. To add a ActionExtension to CamiTK core, write a new class that inherits from this class. 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. More... | |
using | ActionSet = QSet< Action * > |
A set of Action. More... | |
using | ComponentList = QList< Component * > |
A list of Component. More... | |
using | ViewerList = QList< Viewer * > |
A list of Viewer. More... | |
using | ViewerSet = QSet< Viewer * > |
A set of Viewer. More... | |
using | vtkSmartPointerCamera = vtkSmartPointer< vtkCamera > |
Enumerations | |
enum | CameraOrientation { RIGHT_DOWN, LEFT_UP, RIGHT_UP, LEFT_BACK, BACK_DOWN } |
RendererWidget implements all support methods to use camiTK with Qt interface. More... | |
enum | MouseButtonState { NO_BUTTON, LEFT_BUTTON, MIDDLE_BUTTON, RIGHT_BUTTON } |
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() |
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) |
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, int) |
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... | |
void | screenshot (QString filename) |
save the screenshot in a file More... | |
void | refresh () |
refresh the display More... | |
void | startPicking () |
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 | toggleLogo (bool) |
toggle logo 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 | 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 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 *, unsigned long, void *, void *) |
a diverter observer callback (to be used to divert undesired events) More... | |
extra actors managements | |
displayLogo = true | |
is the logo 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... | |
logoWidget = vtkSmartPointer<vtkLogoWidget>::New() | |
logo widget 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] |
annotated cube text actors More... | |
vtkSmartPointer< vtkTextMapper > | orientationDecorationsTextMapper [4] |
annotated cube text 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::ViewerList = typedef QList<Viewer*> |
A list of Viewer.
using camitk::ViewerSet = typedef QSet<Viewer*> |
A set of Viewer.
using camitk::vtkSmartPointerCamera = typedef vtkSmartPointer<vtkCamera> |
bool camitk::actionLessThan | ( | const camitk::Action * | a1, |
const camitk::Action * | a2 | ||
) |
References camitk::Action::getName().
Referenced by camitk::Application::getActions(), and camitk::Application::sort().
void camitk::actorPicked | ( | vtkSmartPointer< vtkPicker > | ) |
void camitk::actorTransform | ( | vtkSmartPointer< vtkActor > | , |
double * | , | ||
int | , | ||
double ** | , | ||
double * | , | ||
double * | |||
) |
perform the transformation of the actor
camitk::addProp | ( | annotatedCube | ) |
camitk::addProp | ( | axes | ) |
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) |
renderWindow camitk::AddRenderer | ( | renderer | ) |
axeXTextProp camitk::BoldOn | ( | ) |
void camitk::computeVisiblePropBounds | ( | double * | bounds | ) |
get the bounding box of all visible actors [xmin,xmax, ymin,ymax, zmin,zmax]
bool camitk::containsProp | ( | vtkSmartPointer< vtkProp > | ) |
is the given vtkProp (e.g. vtkActor or vtkActor2D) in this renderer
|
staticprotected |
a diverter observer callback (to be used to divert undesired events)
|
protected |
end picking
camitk::for | ( | const auto &orientationDecorationActor :orientationDecorationActors | ) |
camitk::for | ( | ) |
vtklup camitk::ForceBuild | ( | ) |
vtkCamera* camitk::getActiveCamera | ( | ) |
get the active camera
annotatedCube camitk::GetAssembly | ( | ) | -> SetPosition(0.0, 0.0, 0.0) |
bool camitk::getBackfaceCulling | ( | ) | const |
Get the current state of backface culling.
void camitk::getBackgroundColor | ( | double & | , |
double & | , | ||
double & | |||
) |
get the background color (rgb)
RendererWidget::CameraOrientation camitk::getCameraOrientation | ( | ) | const |
Return the current axes mode.
void camitk::getCameraSettings | ( | double * | position, |
double * | focalPoint, | ||
double * | viewUp | ||
) |
get camera settings information (position, what is looked at and how) in world coordinates
bool camitk::getColorScale | ( | ) | const |
get the color display state
ControlMode camitk::getControlMode | ( | ) | const |
get the current control mode
bool camitk::getGradientBackground | ( | ) |
get the current state of the gradient background
logoRepresentation camitk::GetImageProperty | ( | ) | -> SetOpacity(0.7) |
bool camitk::getLightFollowCamera | ( | ) | const |
Get the current state of the property.
void camitk::getMouse3DCoordinates | ( | double & | x, |
double & | y, | ||
double & | z | ||
) |
get the mouse coordinates in 3D
double camitk::getPointSize | ( | ) | const |
get the current value of point size
orientationDecorationActors [3] camitk::GetPositionCoordinate | ( | ) | -> SetValue(0.5, 0.05) |
colorBarWidget camitk::GetScalarBarActor | ( | ) | -> SetLookupTable(vtklup) |
axes camitk::GetXAxisCaptionActor2D | ( | ) | -> SetCaptionTextProperty(axeXTextProp) |
axes camitk::GetYAxisCaptionActor2D | ( | ) | -> SetCaptionTextProperty(axeYTextProp) |
axes camitk::GetZAxisCaptionActor2D | ( | ) | -> SetCaptionTextProperty(axeZTextProp) |
transform camitk::Identity | ( | ) |
interactor camitk::Initialize | ( | ) |
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::keyPressEvent().
QFile camitk::logoFile | ( | ":/camiTKIcon" | ) |
|
overrideprotected |
mouse move handler overriden to manage different version of VTK
|
overrideprotected |
mouse press handler overriden to manage different version of VTK
Referenced by camitk::MeshSelectionView::mousePressEvent(), camitk::MeshDataView::mousePressEvent(), QtBoolEdit::mousePressEvent(), and QtPropertyEditorView::mousePressEvent().
|
overrideprotected |
mouse release handler overriden to manage different version of VTK
void camitk::pick | ( | ) |
Perform picking using the current mouse position.
void camitk::pickActor | ( | int | , |
int | |||
) |
Perform picking from screen coordinates.
QSizePolicy camitk::policy | ( | QSizePolicy::Expanding | , |
QSizePolicy::Expanding | |||
) |
Referenced by PMLComponent::addSelection(), camitk::Action::getProperty(), camitk::MeshComponent::getSelectionIndex(), camitk::MeshSelectionModel::insertSelection(), and QtMetaEnumProvider::sizePolicyToIndex().
void camitk::refresh | ( | ) |
refresh the display
Referenced by Decimation::apply(), CreateSC::apply(), OtsuFilter::apply(), ComputeNormals::apply(), ExtractSelection::apply(), CleanPolyData::apply(), ChangeParent::apply(), ExtractEdges::apply(), ClearSelectionAction::apply(), FillWithPoints::apply(), PixelColorChanger::apply(), ExtractSurface::apply(), ComputeCurvatures::apply(), Show3DViewer::apply(), ShowAllViewers::apply(), ShowArbitraryViewer::apply(), ShowAxialViewer::apply(), ShowCoronalViewer::apply(), ShowSagittalViewer::apply(), WarpOut::apply(), RemoveLastInstantiatedAction::apply(), AppendMeshes::apply(), ImageReconstructionAction::apply(), ShowImageIn3D::apply(), SelectLastInstantiatedAction::apply(), ShowAxialSliceIn3D::apply(), ShowCoronalSliceIn3D::apply(), ShowSagittalSliceIn3D::apply(), SphereTopology::apply(), GridTopology::apply(), CenterMesh::apply(), ShowArbitrarySliceIn3D::apply(), ConnectedComponents::apply(), MergeMeshs::apply(), VolumeRenderingAction::apply(), ICPRegistration::apply(), MeshClipping::apply(), MeshProjection::apply(), SaveActionState::applyAction(), ActionState::applyAction(), MeshClipping::changeVisibility(), RigidTransform::close(), ShowFrame::event(), MeshProjection::event(), MonitoringManager::getRefresh(), VolumeRenderingAction::getWidget(), camitk::InteractiveViewer::highlightModeChanged(), MultiPickingWidget::manuallyModified(), MonitoringManager::MonitoringManager(), ReorientImage::process(), InitImagerAction::process(), SingleAcquisition2DAction::process(), SingleAcquisition3DAction::process(), StartImaging2DAction::process(), StartImaging3DAction::process(), StopImaging3DAction::process(), StopImaging2DAction::process(), LaplacianSharpening::process(), LaplacianRecursiveGaussian::process(), GradientMagnitudeRecursiveGaussian::process(), MeanFilter::process(), ManualThreshold::process(), CannyEdgeDetection::process(), GradientMagnitude::process(), MedianFilter::process(), Laplacian::process(), RegionGrowing::process(), SobelEdgeDetection::process(), ConnectedComponents::process(), BoxVOI::process(), Derivative::process(), GaussianFilter::process(), AnisotropicDiffusion::process(), ResampleAction::process(), MorphologicalOperators::process(), BitmapViewer::refresh(), ImpMainWindow::refresh(), PropertyExplorer::refreshAll(), MultiPickingWidget::removePixelFromTable(), MultiPickingWidget::removeSeedNumber(), camitk::InteractiveViewer::renderingActorsChanged(), MeshClipping::restoreMeshes(), FrameEditor::rotate(), GenerateModel::saveMMLFiles(), MonitoringManager::setRefresh(), FrameEditor::setRotation(), FrameEditor::setTransformation(), FrameEditor::setTranslation(), FrameEditor::translate(), MeshClipping::updateBox(), MeshQuality::updateMeshColor(), MonitoringGuiManager::updateRefresh(), and camitk::MainWindow::~MainWindow().
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) |
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) |
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::InteractiveViewer::highlightModeChanged().
void camitk::resetCamera | ( | double * | bounds | ) |
reset the camera to the default position, default FOV and use the given bounds to focus on
|
protected |
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] |
void camitk::rightButtonPressed | ( | ) |
send when the mouse right button is clicked
void camitk::rotateCamera | ( | double | angle, |
int | axe | ||
) |
Rotate the camera around param "axe" of "angle" degrees.
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) |
colorBarWidget camitk::SelectableOn | ( | ) |
void camitk::setActiveCamera | ( | vtkCamera * | cam | ) |
set active camera
acProp camitk::SetAmbient | ( | 1 | ) |
void camitk::setAreaPicking | ( | bool | areaPicking | ) |
void camitk::setBackfaceCulling | ( | bool | ) |
camitk::setBackgroundColor | ( | 0. | 0, |
0. | 0, | ||
0. | 0 | ||
) |
void camitk::setBackgroundColor | ( | double | , |
double | , | ||
double | |||
) |
set the background color (rgb)
pickingButtonDiverter camitk::SetCallback | ( | RendererWidget::divertionCallback | ) |
camitk::setCameraOrientation | ( | cameraOrientation | ) |
void camitk::setCameraOrientation | ( | RendererWidget::CameraOrientation | ) |
Set the current axes mode.
pickingButtonDiverter camitk::SetClientData | ( | controlInteractorStyle | ) |
acProp camitk::SetColor | ( | 0 | , |
0 | , | ||
1 | |||
) |
acProp camitk::SetColor | ( | 0 | , |
1 | , | ||
0 | |||
) |
orientationDecorationsProp camitk::SetColor | ( | 0. | 0, |
1. | 0, | ||
1. | 0 | ||
) |
acProp camitk::SetColor | ( | 0. | 18, |
0. | 28, | ||
0. | 23 | ||
) |
acProp camitk::SetColor | ( | 0. | 5, |
1 | , | ||
1 | |||
) |
acProp camitk::SetColor | ( | 1 | , |
0 | , | ||
0 | |||
) |
void camitk::setColorScale | ( | bool | ) |
display the color scale in the viewport, use setColorScaleMinMax to change the displayed values
void camitk::setColorScaleMinMax | ( | double | m, |
double | M | ||
) |
set the min and max values.
m | minimum value (blue) |
M | maximum value (red) |
void camitk::setColorScaleTitle | ( | QString | t | ) |
set the color scale title.
t | title of the color scale |
void camitk::setControlMode | ( | ControlMode | mode | ) |
Set the interaction like trackball or joystick style.
camitk::setControlMode | ( | mode | ) |
acProp camitk::SetDiffuse | ( | 0 | ) |
logoWidget camitk::SetEnabled | ( | true | ) |
annotatedCube camitk::SetFaceTextScale | ( | 0. | 65 | ) |
imageReader camitk::SetFileName | ( | tempLogofile-> | fileName).toStdString().c_str( | ) |
axeXTextProp camitk::SetFontFamilyToArial | ( | ) |
orientationDecorationsProp camitk::SetFontSize | ( | 14 | ) |
axeXTextProp camitk::SetFontSize | ( | 20 | ) |
void camitk::setGradientBackground | ( | bool | ) |
set the gradient background
policy camitk::setHeightForWidth | ( | false | ) |
vtklup camitk::SetHueRange | ( | 2.0/3. | 0, |
0. | 0 | ||
) |
logoRepresentation camitk::SetImage | ( | imageReader-> | GetOutput() | ) |
colorBarWidget camitk::SetInteractor | ( | interactor | ) |
acProp camitk::SetInterpolationToFlat | ( | ) |
void camitk::setLightFollowCamera | ( | bool | ) |
Set/unset the light to follow the camera.
acProp camitk::SetLineWidth | ( | 1 | ) |
camitk::setMinimumSize | ( | 150 | , |
150 | |||
) |
camitk::setObjectName | ( | "RendererWidget" | ) |
void camitk::setOrientationDecorationsLetters | ( | QString | letters[4] | ) |
give the lettres for orientation decoration: Left, Right, Top, Down
void camitk::setPicker | ( | vtkSmartPointer< vtkAbstractPropPicker > | woodyWood | ) |
set the picker to handle the action
woodyWood | the picker (sorry, I could not resist this one!) |
void camitk::setPointSize | ( | double | size | ) |
set the default point size
rep camitk::SetPosition | ( | 0. | 93, |
0. | 01 | ||
) |
rep camitk::SetPosition2 | ( | 0. | 1, |
0. | 05 | ||
) |
interactor camitk::SetRenderWindow | ( | renderWindow | ) |
logoWidget camitk::SetRepresentation | ( | logoRepresentation | ) |
axes camitk::SetShaftTypeToCylinder | ( | ) |
logoRepresentation camitk::SetShowBorderToOff | ( | ) |
camitk::setSizePolicy | ( | policy | ) |
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 | ( | ) |
axeZTextProp camitk::ShallowCopy | ( | axeXTextProp | ) |
|
protected |
void camitk::toggleAxes | ( | bool | ) |
display the axes
void camitk::toggleLogo | ( | bool | ) |
toggle logo
void camitk::toggleOrientationDecorations | ( | bool | ) |
display orientation decorations
void camitk::toogle3DRedBlue | ( | ) |
toggle stereo 3D red/blue rendering (you will need red/blue glasses)
imageReader camitk::Update | ( | ) |
void camitk::updateAxes | ( | ) |
update the axes sizes
bool camitk::viewerLessThan | ( | const camitk::Viewer * | v1, |
const camitk::Viewer * | v2 | ||
) |
References camitk::Viewer::getName().
Referenced by camitk::Application::sort().
annotatedCube camitk::VisibilityOff | ( | ) |
camitk::vtkInstantiatorNewMacro | ( | vtkInteractorStylePick | ) |
camitk::vtkStandardNewMacro | ( | vtkInteractorStylePick | ) |
|
override |
destructor
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().
vtkSmartPointer<vtkTextProperty> camitk::axeYTextProp = vtkSmartPointer<vtkTextProperty>::New() |
Referenced by ReorientImage::buildAxes().
vtkSmartPointer<vtkTextProperty> camitk::axeZTextProp = vtkSmartPointer<vtkTextProperty>::New() |
Referenced by ReorientImage::buildAxes().
bool camitk::backfaceCulling = false |
Is back face culling on?
CameraOrientation camitk::cameraOrientation = RIGHT_DOWN |
state of the initial camera orientation
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
ControlMode camitk::controlMode = NONE |
current control mode
Referenced by camitk::InteractiveViewer::initSettings().
bool camitk::displayColorScale = false |
is the color scale currently displayed
bool camitk::displayGradient = false |
bool camitk::displayLogo = true |
is the logo displayed
vtkSmartPointer<vtkPNGReader> camitk::imageReader = vtkPNGReader::New() |
vtkSmartPointer< QVTKInteractor > camitk::interactor = vtkSmartPointer<QVTKInteractor>::New() |
|
protected |
Is the light following the camera.
vtkSmartPointer<vtkLogoRepresentation> camitk::logoRepresentation = vtkSmartPointer<vtkLogoRepresentation>::New() |
vtkSmartPointer< vtkLogoWidget > camitk::logoWidget = vtkSmartPointer<vtkLogoWidget>::New() |
logo widget
|
protected |
annotated cube text actors
camitk::orientationDecorationLetters[3] = "R" |
camitk::orientationDecorationsProp = vtkSmartPointer<vtkTextProperty>::New() |
|
protected |
annotated cube text
vtkSmartPointer< vtkCallbackCommand > camitk::pickingButtonDiverter = vtkSmartPointer<vtkCallbackCommand>::New() |
the callback to remove left button interaction while in picking mode
bool camitk::pickingDiverter = false |
is the picking diverter used
vtkSmartPointer< vtkInteractorStylePick > camitk::pickInteractorStyle = vtkSmartPointer<vtkInteractorStylePick>::New() |
picking interactor
double camitk::pointSize = 4.0 |
default point size
vtkSmartPointer< vtkRenderer > camitk::renderer = vtkSmartPointer<vtkRenderer>::New() |
The current renderer.
Referenced by VolumeRenderingAction::createVolumeRendering().
bool camitk::rendering3DRedBlue = false |
is rendering in 3D stereo red/blue
vtkSmartPointer<vtkRenderWindow> camitk::renderWindow = GetRenderWindow() |
vtkScalarBarRepresentation* camitk::rep = vtkScalarBarRepresentation::SafeDownCast(colorBarWidget->GetRepresentation()) |
QTemporaryFile* camitk::tempLogofile = QTemporaryFile::createNativeFile(logoFile) |
vtkSmartPointer<vtkTransform> camitk::transform = vtkSmartPointer<vtkTransform>::New() |
vtkSmartPointer<vtkWindowLevelLookupTable> camitk::vtklup = vtkSmartPointer<vtkWindowLevelLookupTable>::New() |