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. 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 } |
state of the pressed button (for 3 buttons mouse) 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< 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 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... | |
view/camera settings | |
backfaceCulling = false | |
Is back face culling on? More... | |
fxaaAntialiasing = false | |
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 | setFxaaAntialiasing (bool) |
Set/unset FXAA Antialiasing in renderer. More... | |
bool | getFxaaAntialiasing () const |
Get the current state of FXAA Antialiasing in renderer. 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 () |
picking and interaction | |
renderWindowInteractor = 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... | |
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... | |
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::Component::getActionMenu(), and camitk::Application::getActions().
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::getFxaaAntialiasing | ( | ) | const |
Get the current state of FXAA Antialiasing in renderer.
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 | ( | ) |
renderWindowInteractor 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 camitk::InteractiveViewerFrame::keyPressEvent(), and 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::MeshDataView::mousePressEvent(), camitk::MeshSelectionView::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::MeshComponent::addSelection(), camitk::MeshComponent::addToSelectedSelection(), camitk::Action::applyTargetPosition(), camitk::MeshSelectionModel::insertSelection(), and QtMetaEnumProvider::sizePolicyToIndex().
void camitk::refresh | ( | ) |
refresh the display
Referenced by ConnectedComponents::apply(), OtsuFilter::apply(), CreateSC::apply(), ClearSelectionAction::apply(), RemoveLastInstantiatedAction::apply(), SelectLastInstantiatedAction::apply(), ChangeParent::apply(), PixelColorChanger::apply(), ImageReconstructionAction::apply(), Show3DViewer::apply(), ShowAllViewers::apply(), ShowArbitraryViewer::apply(), ShowAxialViewer::apply(), ShowCoronalViewer::apply(), ShowSagittalViewer::apply(), ComputeNormals::apply(), ExtractSelection::apply(), GridTopology::apply(), SphereTopology::apply(), AppendMeshes::apply(), CleanPolyData::apply(), ComputeCurvatures::apply(), Decimation::apply(), ExtractEdges::apply(), ExtractSurface::apply(), FillWithPoints::apply(), ICPRegistration::apply(), MergeMeshs::apply(), MeshClipping::apply(), WarpOut::apply(), MeshProjection::apply(), ShowArbitrarySliceIn3D::apply(), ShowAxialSliceIn3D::apply(), ShowCoronalSliceIn3D::apply(), ShowImageIn3D::apply(), ShowSagittalSliceIn3D::apply(), VolumeRenderingAction::apply(), CenterMesh::apply(), ActionState::applyAction(), SaveActionState::applyAction(), MeshProjection::event(), ShowFrame::event(), MonitoringManager::getRefresh(), VolumeRenderingAction::getWidget(), MultiPickingWidget::manuallyModified(), MonitoringManager::MonitoringManager(), ImpMainWindow::refresh(), BitmapViewer::refresh(), MultiPickingWidget::removePixelFromTable(), MultiPickingWidget::removeSeedNumber(), FrameEditor::rotate(), MonitoringManager::setRefresh(), FrameEditor::setRotation(), FrameEditor::setTransformation(), FrameEditor::setTranslation(), FrameEditor::translate(), and MonitoringGuiManager::updateRefresh().
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) |
Referenced by camitk::InteractiveViewer::init().
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)
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
Referenced by camitk::InteractiveViewer::getWidget().
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::setFxaaAntialiasing | ( | bool | ) |
Set/unset FXAA Antialiasing in renderer.
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 | ( | renderWindowInteractor | ) |
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" | ) |
Referenced by camitk::ActionWidget::ActionWidget(), camitk::PropertyObject::PropertyObject(), camitk::Action::setName(), and camitk::SliderSpinBoxWidget::SliderSpinBoxWidget().
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 | ||
) |
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" | ) |
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 | ||
) |
annotatedCube camitk::VisibilityOff | ( | ) |
camitk::vtkInstantiatorNewMacro | ( | vtkInteractorStylePick | ) |
camitk::vtkStandardNewMacro | ( | vtkInteractorStylePick | ) |
|
override |
destructor
camitk::acProp = annotatedCube->GetCubeProperty() |
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 camitk::Frame::getFrameAxisActor().
vtkSmartPointer<vtkTextProperty> camitk::axeYTextProp = vtkSmartPointer<vtkTextProperty>::New() |
Referenced by camitk::Frame::getFrameAxisActor().
vtkSmartPointer<vtkTextProperty> camitk::axeZTextProp = vtkSmartPointer<vtkTextProperty>::New() |
Referenced by camitk::Frame::getFrameAxisActor().
bool camitk::backfaceCulling = false |
Is back face culling on?
Referenced by camitk::InteractiveViewer::eventFilter(), camitk::InteractiveViewer::initActions(), and camitk::InteractiveViewer::initSettings().
CameraOrientation camitk::cameraOrientation = RIGHT_DOWN |
state of the initial camera orientation
Referenced by camitk::InteractiveViewer::initSettings().
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
bool camitk::fxaaAntialiasing = false |
vtkSmartPointer<vtkPNGReader> camitk::imageReader = vtkPNGReader::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
Referenced by for().
camitk::orientationDecorationLetters[3] = "R" |
Referenced by for().
camitk::orientationDecorationsProp = vtkSmartPointer<vtkTextProperty>::New() |
Referenced by for().
|
protected |
annotated cube text
Referenced by for().
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
Referenced by camitk::InteractiveViewer::eventFilter(), and camitk::InteractiveViewer::initSettings().
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() |
vtkSmartPointer< QVTKInteractor > camitk::renderWindowInteractor = vtkSmartPointer<QVTKInteractor>::New() |
vtkScalarBarRepresentation* camitk::rep = vtkScalarBarRepresentation::SafeDownCast(colorBarWidget->GetRepresentation()) |
QTemporaryFile* camitk::tempLogofile = QTemporaryFile::createNativeFile(logoFile) |
vtkSmartPointer<vtkTransform> camitk::transform = vtkSmartPointer<vtkTransform>::New() |
Referenced by CenterMesh::apply(), camitk_tests_requirement(), DicomComponent::DicomComponent(), camitk::Frame::Frame(), camitk::Geometry::Geometry(), camitk::ImageOrientationHelper::getTransformFromRAI(), camitk::ImageOrientationHelper::getTransformToRAI(), camitk::Slice::setArbitraryTransform(), camitk::Slice::setImageWorldTransform(), camitk::Geometry::setMeshWorldTransform(), camitk::Frame::setTransform(), camitk::ArbitrarySingleImageComponent::setTransform(), and camitk::Component::toVariant().
vtkSmartPointer<vtkWindowLevelLookupTable> camitk::vtklup = vtkSmartPointer<vtkWindowLevelLookupTable>::New() |