#include <vtkKWSelectionFrameLayoutManager.h>
Inheritance diagram for vtkKWSelectionFrameLayoutManager:
This class is a layout manager for vtkKWSelectionFrame. It will grid them according to a given MxN resolution, allocate new ones, handle print/screenshots, etc.
Definition at line 41 of file vtkKWSelectionFrameLayoutManager.h.
|
|
|
|
|
Reimplemented from vtkKWCompositeWidget. |
|
|
|
Reimplemented from vtkKWCompositeWidget. |
|
Create the widget. Reimplemented from vtkKWCompositeWidget. |
|
Control the resolution in widget by widget (columns, rows) |
|
Control the resolution in widget by widget (columns, rows) Definition at line 54 of file vtkKWSelectionFrameLayoutManager.h. |
|
Control the resolution in widget by widget (columns, rows) |
|
Control the resolution in widget by widget (columns, rows) |
|
Control the resolution in widget by widget (columns, rows) |
|
Add a new selection frame to the pool This will call Register() on the widget (increasing its ref count). Return 1 on success, 0 otherwise |
|
Allocate a new selection frame and add it to the pool. Return the allocated widget, or NULL on error |
|
Set the widget's tag in the pool. This provide an alternate way of accessing the widget in the pool. Note that this is *not* the title of the frame, as set using the vtkKWSelectionFrame::SetTitle method. If several widgets have the same tag, the first one is usually retrieved. No constraints is put on the uniqueness of the tag. Return 1 on success, 0 on error |
|
Set the widget's tag in the pool. This provide an alternate way of accessing the widget in the pool. Note that this is *not* the title of the frame, as set using the vtkKWSelectionFrame::SetTitle method. If several widgets have the same tag, the first one is usually retrieved. No constraints is put on the uniqueness of the tag. Return 1 on success, 0 on error |
|
Set the widget's group in the pool. This provide an way of grouping widgets logicaly in the pool. Return 1 on success, 0 on error |
|
Set the widget's group in the pool. This provide an way of grouping widgets logicaly in the pool. Return 1 on success, 0 on error |
|
Get the number of widgets in the pool |
|
Get the number of widgets in the pool |
|
Get the number of widgets in the pool |
|
Query if widget is in the pool |
|
Query if widget is in the pool |
|
Query if widget is in the pool |
|
Retrieve a widget given its tag (as set using SetWidgetTag()), its tag and group, its title (as set using vtkKWSelectionFrame::SetTitle), its rank in the pool (n-th widget), or its rank (n-th widget) but not matching another widget 'avoid'. Return the widget, or NULL if not found |
|
Retrieve a widget given its tag (as set using SetWidgetTag()), its tag and group, its title (as set using vtkKWSelectionFrame::SetTitle), its rank in the pool (n-th widget), or its rank (n-th widget) but not matching another widget 'avoid'. Return the widget, or NULL if not found |
|
Retrieve a widget given its tag (as set using SetWidgetTag()), its tag and group, its title (as set using vtkKWSelectionFrame::SetTitle), its rank in the pool (n-th widget), or its rank (n-th widget) but not matching another widget 'avoid'. Return the widget, or NULL if not found |
|
Retrieve a widget given its tag (as set using SetWidgetTag()), its tag and group, its title (as set using vtkKWSelectionFrame::SetTitle), its rank in the pool (n-th widget), or its rank (n-th widget) but not matching another widget 'avoid'. Return the widget, or NULL if not found |
|
Retrieve a widget given its tag (as set using SetWidgetTag()), its tag and group, its title (as set using vtkKWSelectionFrame::SetTitle), its rank in the pool (n-th widget), or its rank (n-th widget) but not matching another widget 'avoid'. Return the widget, or NULL if not found |
|
Retrieve a widget given its tag (as set using SetWidgetTag()), its tag and group, its title (as set using vtkKWSelectionFrame::SetTitle), its rank in the pool (n-th widget), or its rank (n-th widget) but not matching another widget 'avoid'. Return the widget, or NULL if not found |
|
Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error |
|
Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error Definition at line 121 of file vtkKWSelectionFrameLayoutManager.h. |
|
Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error |
|
Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error Definition at line 124 of file vtkKWSelectionFrameLayoutManager.h. |
|
Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error |
|
Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error Definition at line 127 of file vtkKWSelectionFrameLayoutManager.h. |
|
Switch widgets position (convenience method to set the position of two widgets) Return 1 (or widget) on success, 0 (or NULL) on error |
|
Select a a widget. If arg is NULL, nothing is selected (all others are deselected) |
|
Get the selected widget. Return the widget, or NULL if none is selected |
|
Specifies a command to be invoked when the selection has changed |
|
Remove a widget, or all of them, or all of the widgets in a group. This will call each widget's Close() method, and UnRegister() it. Return 1 on success, 0 on error |
|
Remove a widget, or all of them, or all of the widgets in a group. This will call each widget's Close() method, and UnRegister() it. Return 1 on success, 0 on error |
|
Remove a widget, or all of them, or all of the widgets in a group. This will call each widget's Close() method, and UnRegister() it. Return 1 on success, 0 on error |
|
Try to show all the widgets belonging to a specific group. This method will check if the visible widgets belong to the group, and exchange change if this is not the case. Return 1 on success, 0 on error |
|
Save all widgets into an image (as a screenshot) or into the clipboard (win32). If no filename, the user is prompted for one (provided that this widget is part of a window). Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Save all widgets into an image (as a screenshot) or into the clipboard (win32). If no filename, the user is prompted for one (provided that this widget is part of a window). Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Save all widgets into an image (as a screenshot) or into the clipboard (win32). If no filename, the user is prompted for one (provided that this widget is part of a window). Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Append widgets to image data. The 'Fast' version of each method does not set the render widget to Offscreen rendering and re-render them, the backbuffer of the render widget is taken as-is (this is useful for lower quality screenshot or thumbnails). Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Append widgets to image data. The 'Fast' version of each method does not set the render widget to Offscreen rendering and re-render them, the backbuffer of the render widget is taken as-is (this is useful for lower quality screenshot or thumbnails). Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Append widgets to image data. The 'Fast' version of each method does not set the render widget to Offscreen rendering and re-render them, the backbuffer of the render widget is taken as-is (this is useful for lower quality screenshot or thumbnails). Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Append widgets to image data. The 'Fast' version of each method does not set the render widget to Offscreen rendering and re-render them, the backbuffer of the render widget is taken as-is (this is useful for lower quality screenshot or thumbnails). Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Print all widgets or the selected one. If no DPI is provided, the DPI settings of the Window ivar is used. Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Print all widgets or the selected one. If no DPI is provided, the DPI settings of the Window ivar is used. Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Print all widgets or the selected one. If no DPI is provided, the DPI settings of the Window ivar is used. Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Print all widgets or the selected one. If no DPI is provided, the DPI settings of the Window ivar is used. Return 1 on success, 0 otherwise GetVisibleRenderWidget() need to be implemented accordingly. |
|
Create a resolution entries menu (specifies its parent). Get the menu (so that it can be added as a cascade). Update the menu entries state, given the number of widgets. |
|
Create a resolution entries menu (specifies its parent). Get the menu (so that it can be added as a cascade). Update the menu entries state, given the number of widgets. |
|
Create a resolution entries menu (specifies its parent). Get the menu (so that it can be added as a cascade). Update the menu entries state, given the number of widgets. |
|
Create a resolution entries toolbar (specifies its parent). Get the toolbar. Update the menu entries state, given the number of widgets. |
|
Create a resolution entries toolbar (specifies its parent). Get the toolbar. Update the menu entries state, given the number of widgets. |
|
Create a resolution entries toolbar (specifies its parent). Get the toolbar. Update the menu entries state, given the number of widgets. |
|
Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc. Reimplemented from vtkKWWidget. |
|
Callbacks |
|
Callbacks |
|
Callbacks |
|
Callbacks |
|
Callbacks |
|
Callbacks |
|
Update the selection lists |
|
Allocate a new widget. |
|
Create a widget (i.e., create the underlying Tk widget) and configure it. If the layout manager has not been created, the widget won't be created either, since it is used as parent. |
|
Create a widget (i.e., create the underlying Tk widget) and configure it. If the layout manager has not been created, the widget won't be created either, since it is used as parent. |
|
Get the render widget (if any) associated to the selection frame and visible at that point. Used to Print, Save/Copy screenshot, etc. This should be reimplemented by subclasses. This implementation searches for a vtkKWRenderWidget in the children of the frame. |
|
Pack all widgets |
|
Adjust the resolution so that all widgets are shown |
|
Print widgets (if selection_only is true, only the selected widget is printed, otherwise all of them). Return 1 on success, 0 otherwise |
|
Append dataset widgets to image data. If selection_only is true, onlythe selected dataset widget is printed, otherwise all of them. If direct is true, the renderwidgets are not set to Offscreen rendering and re-rendered, the backbuffer of the window is taken as-is (this is useful for lower quality screenshot or thumbnails). Return 1 on success, 0 otherwise |
|
Called when the number of widgets has changed |
|
Reorganize positions of widgets so that the grid defined by the current resolution is filled |
|
Can a given widget's title be changed to a new one It is used by ChangeWidgetTitleCallback and is likely to be overriden in subclasses. |
|
Add/Remove callbacks on a selection frame |
|
Add/Remove callbacks on a selection frame |
|
Delete a widget, i.e. Close and UnRegister it. Internal use only, as a helper to the public RemoveWidget methods. |
|
Definition at line 244 of file vtkKWSelectionFrameLayoutManager.h. |
|
Definition at line 245 of file vtkKWSelectionFrameLayoutManager.h. |
|
Definition at line 246 of file vtkKWSelectionFrameLayoutManager.h. |
|
Definition at line 247 of file vtkKWSelectionFrameLayoutManager.h. |
|
PIMPL Encapsulation for STL containers Reimplemented from vtkKWWidget. Definition at line 304 of file vtkKWSelectionFrameLayoutManager.h. |