#include "RendererWidget.h"
#include "Log.h"
#include "GeometricObject.h"
#include <QApplication>
#include <QKeyEvent>
#include <QProcessEnvironment>
#include <QTemporaryFile>
#include <CamiTKDisableWarnings>
#include "vtkInteractorStylePick.h"
#include <vtkInteractorStyleTrackballCamera.h>
#include <vtkInteractorStyleJoystickCamera.h>
#include <vtkInteractorStyleImage.h>
#include <vtkRenderWindow.h>
#include <vtkRendererCollection.h>
#include <vtkCamera.h>
#include <vtkAssemblyPath.h>
#include <vtkProperty.h>
#include <vtkImageWriter.h>
#include <vtkExporter.h>
#include <vtkWindowToImageFilter.h>
#include <vtkBMPWriter.h>
#include <vtkJPEGWriter.h>
#include <vtkPNGWriter.h>
#include <vtkPostScriptWriter.h>
#include <vtkGL2PSExporter.h>
#include <vtkOBJExporter.h>
#include <vtkVRMLExporter.h>
#include <vtkRIBExporter.h>
#include <vtkLogoWidget.h>
#include <vtkHandleWidget.h>
#include <vtkPNGReader.h>
#include <vtkLogoRepresentation.h>
#include <vtkTextMapper.h>
#include <vtkPicker.h>
#include <vtkAxesActor.h>
#include <vtkCaptionActor2D.h>
#include <vtkProperty2D.h>
#include <vtkAnnotatedCubeActor.h>
#include <vtkScalarBarWidget.h>
#include <vtkWindowLevelLookupTable.h>
#include <vtkScalarBarRepresentation.h>
#include <vtkVectorText.h>
#include <CamiTKReEnableWarnings>
#include <vtkCallbackCommand.h>
#include <vtkTransform.h>
#include <vtkTextProperty.h>
#include <vtkProp3DCollection.h>
#include <vtkTextActor.h>
#include <vtkAssembly.h>
#include <vtkScalarBarActor.h>
#include <vtkTextSource.h>
#include <vtkTransformPolyDataFilter.h>
Namespaces | |
camitk | |
Functions | |
camitk::addProp (annotatedCube) | |
camitk::addProp (axes) | |
renderWindow | camitk::AddRenderer (renderer) |
axeXTextProp | camitk::BoldOn () |
camitk::for (const auto &orientationDecorationActor :orientationDecorationActors) | |
camitk::for (int i=0;i< 4;i++) | |
vtklup | camitk::ForceBuild () |
annotatedCube | camitk::GetAssembly () -> SetPosition(0.0, 0.0, 0.0) |
logoRepresentation | camitk::GetImageProperty () -> SetOpacity(0.7) |
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 () |
renderWindowInteractor | camitk::Initialize () |
axeXTextProp | camitk::ItalicOn () |
QFile | camitk::logoFile (":/camiTKIcon") |
QSizePolicy | camitk::policy (QSizePolicy::Expanding, QSizePolicy::Expanding) |
colorBarWidget | camitk::RepositionableOn () |
transform | camitk::Scale (0.05, 0.05, 0.05) |
colorBarWidget | camitk::SelectableOn () |
acProp | camitk::SetAmbient (1) |
camitk::setBackgroundColor (0.0, 0.0, 0.0) | |
pickingButtonDiverter | camitk::SetCallback (RendererWidget::divertionCallback) |
camitk::setCameraOrientation (cameraOrientation) | |
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) |
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) |
policy | camitk::setHeightForWidth (false) |
vtklup | camitk::SetHueRange (2.0/3.0, 0.0) |
logoRepresentation | camitk::SetImage (imageReader->GetOutput()) |
renderWindow | camitk::SetInteractor (renderWindowInteractor) |
acProp | camitk::SetInterpolationToFlat () |
acProp | camitk::SetLineWidth (1) |
camitk::setMinimumSize (150, 150) | |
camitk::setObjectName ("RendererWidget") | |
logoRepresentation | camitk::SetPosition (0.93, 0.01) |
logoRepresentation | camitk::SetPosition2 (0.1, 0.05) |
renderWindowInteractor | 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") |
axeXTextProp | camitk::ShadowOff () |
axeYTextProp | camitk::ShallowCopy (axeXTextProp) |
imageReader | camitk::Update () |
axes | camitk::VisibilityOff () |
Variables | |
vtkSmartPointer< vtkProperty > | camitk::acProp = annotatedCube->GetCubeProperty() |
vtkSmartPointer< vtkTextProperty > | camitk::axeXTextProp = vtkSmartPointer<vtkTextProperty>::New() |
vtkSmartPointer< vtkTextProperty > | camitk::axeYTextProp = vtkSmartPointer<vtkTextProperty>::New() |
vtkSmartPointer< vtkTextProperty > | camitk::axeZTextProp = vtkSmartPointer<vtkTextProperty>::New() |
vtkSmartPointer< vtkPNGReader > | camitk::imageReader = vtkPNGReader::New() |
vtkSmartPointer< vtkLogoRepresentation > | camitk::logoRepresentation = vtkSmartPointer<vtkLogoRepresentation>::New() |
QString | camitk::orientationDecorationLetters [4] = "R" |
vtkSmartPointer< vtkTextProperty > | camitk::orientationDecorationsProp = vtkSmartPointer<vtkTextProperty>::New() |
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() |
view/camera settings | |
Reset camera settings (position, what is looked at and how) | |
camitk::backfaceCulling = false | |
Is back face culling on? More... | |
camitk::cameraOrientation = RIGHT_DOWN | |
state of the initial camera orientation More... | |
camitk::fxaaAntialiasing = false | |
camitk::pointSize = 4.0 | |
default point size More... | |
camitk::renderer = vtkSmartPointer<vtkRenderer>::New() | |
The current renderer. More... | |
camitk::rendering3DRedBlue = false | |
is rendering in 3D stereo red/blue More... | |
extra actors managements | |
is the gradient background displayed | |
camitk::annotatedCube = vtkSmartPointer<vtkAnnotatedCubeActor>::New() | |
annotated cube actor More... | |
camitk::axes = vtkSmartPointer<vtkAxesActor>::New() | |
axes actor More... | |
camitk::colorBarWidget = vtkSmartPointer<vtkScalarBarWidget>::New() | |
the scalar bar widget More... | |
camitk::displayColorScale = false | |
is the color scale currently displayed More... | |
camitk::displayGradient = false | |
camitk::displayLogo = true | |
is the logo displayed More... | |
camitk::logoWidget = vtkSmartPointer<vtkLogoWidget>::New() | |
logo widget More... | |
picking and interaction | |
to manage interactions | |
camitk::controlInteractorStyle = nullptr | |
for the interaction with the scene More... | |
camitk::controlMode = NONE | |
current control mode More... | |
camitk::renderWindowInteractor = vtkSmartPointer<QVTKInteractor>::New() | |
callback and interaction | |
manage connections between vtk objets events and qt slots | |
camitk::pickingButtonDiverter = vtkSmartPointer<vtkCallbackCommand>::New() | |
the callback to remove left button interaction while in picking mode More... | |
camitk::pickingDiverter = false | |
is the picking diverter used More... | |
camitk::pickInteractorStyle = vtkSmartPointer<vtkInteractorStylePick>::New() | |
picking interactor More... | |