MCPcopy Create free account
hub / github.com/Kitware/VTK / vtkComponent

Interface vtkComponent

Wrapping/Java/vtk/rendering/vtkComponent.java:24–106  ·  view source on GitHub ↗

Generic API for any new VTK based graphical components. @param The concrete type of the graphical component that will contains the vtkRenderWindow. @author Sebastien Jourdain - sebastien.jourdain@kitware.com, Kitware Inc 2012 @thanks This work was supported by CEA/C

Source from the content-addressed store, hash-verified

22 */
23
24public interface vtkComponent<T> {
25
26 /**
27 * @return the lock that is used to prevent concurrency inside this
28 * rendering component. This lock can also be used outside to make
29 * sure any VTK processing happen in a save manner.
30 */
31 ReentrantLock getVTKLock();
32
33 /**
34 * Adjust the camera position so any object in the scene will be fully seen.
35 */
36 void resetCamera();
37
38 /**
39 * Update the clipping range of the camera
40 */
41 void resetCameraClippingRange();
42
43 /**
44 * @return the active camera of the renderer
45 */
46 vtkCamera getActiveCamera();
47
48 /**
49 * @return a reference to the Renderer used internally
50 */
51 vtkRenderer getRenderer();
52
53 /**
54 * Useful for screen capture or exporter.
55 *
56 * @return a reference to the RenderWindow used internally
57 */
58 vtkRenderWindow getRenderWindow();
59
60 /**
61 * vtkWindowInteractor is useful if you want to attach 3DWidget into your
62 * view.
63 *
64 * @return a reference to the vtkWindowInteractor used internally
65 */
66 vtkGenericRenderWindowInteractor getRenderWindowInteractor();
67
68 /**
69 * Shortcut method to bind an vtkInteractorStyle to our interactor.
70 *
71 * @param style
72 */
73 void setInteractorStyle(vtkInteractorStyle style);
74
75 /**
76 * Update width and height of the given component
77 *
78 * @param w
79 * @param h
80 */
81 void setSize(int w, int h);

Callers 70

runMethod · 0.65
mousePressedMethod · 0.65
mouseReleasedMethod · 0.65
mouseMovedMethod · 0.65
mouseEnteredMethod · 0.65
mouseExitedMethod · 0.65
mouseWheelMovedMethod · 0.65
keyPressedMethod · 0.65
actionPerformedMethod · 0.65
runMethod · 0.65
keyTypedMethod · 0.65
resetCameraMethod · 0.65

Implementers 1

vtkPanelComponentWrapping/Java/vtk/rendering/awt/vtkPan

Calls

no outgoing calls

Tested by

no test coverage detected