a MxN layout manager for a set of vtkKWSelectionFrame More...
#include <vtkKWSelectionFrameLayoutManager.h>


a MxN layout manager for a set of vtkKWSelectionFrame
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. Note that the selection frame can be given any position, the resolution and the origin of the layout manager are actually the parameters that specify which one are visible. For example, one can set 4 widgets on a 2x2 grid, set the resolution to 1x1, but set the origin at (0,0) or (1,1) to zoom on a specific widget.
Definition at line 51 of file vtkKWSelectionFrameLayoutManager.h.
Reimplemented from vtkKWCompositeWidget.
Definition at line 56 of file vtkKWSelectionFrameLayoutManager.h.
| anonymous enum |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 305 of file vtkKWSelectionFrameLayoutManager.h.
| vtkKWSelectionFrameLayoutManager::vtkKWSelectionFrameLayoutManager | ( | ) | [protected] |
| vtkKWSelectionFrameLayoutManager::~vtkKWSelectionFrameLayoutManager | ( | ) | [protected] |
| static vtkKWSelectionFrameLayoutManager* vtkKWSelectionFrameLayoutManager::New | ( | ) | [static] |
Reimplemented from vtkKWCompositeWidget.
| virtual const char* vtkKWSelectionFrameLayoutManager::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkKWCompositeWidget.
| static int vtkKWSelectionFrameLayoutManager::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkKWCompositeWidget.
| virtual int vtkKWSelectionFrameLayoutManager::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkKWCompositeWidget.
| static vtkKWSelectionFrameLayoutManager* vtkKWSelectionFrameLayoutManager::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkKWCompositeWidget.
| void vtkKWSelectionFrameLayoutManager::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkKWCompositeWidget.
| virtual void vtkKWSelectionFrameLayoutManager::SetResolution | ( | int | nb_cols, | |
| int | nb_rows | |||
| ) | [virtual] |
Set/Get the resolution of the layout (number of columns, number of rows).
| virtual void vtkKWSelectionFrameLayoutManager::SetResolution | ( | int | res[2] | ) | [inline, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 63 of file vtkKWSelectionFrameLayoutManager.h.
| virtual int* vtkKWSelectionFrameLayoutManager::GetResolution | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::GetResolution | ( | int & | , | |
| int & | ||||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::GetResolution | ( | int | [2] | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::SetOrigin | ( | int | col, | |
| int | row | |||
| ) | [virtual] |
Set/Get the origin of the layout (column, row), i.e. where to start displaying widget from in the virtual grid on which they are set.
| virtual void vtkKWSelectionFrameLayoutManager::SetOrigin | ( | int | origin[2] | ) | [inline, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 72 of file vtkKWSelectionFrameLayoutManager.h.
| virtual int* vtkKWSelectionFrameLayoutManager::GetOrigin | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::GetOrigin | ( | int & | , | |
| int & | ||||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::GetOrigin | ( | int | [2] | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::AddWidget | ( | vtkKWSelectionFrame * | widget | ) | [virtual] |
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
| virtual int vtkKWSelectionFrameLayoutManager::AddWidgetWithTagAndGroup | ( | vtkKWSelectionFrame * | widget, | |
| const char * | tag, | |||
| const char * | group | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::AllocateAndAddWidget | ( | ) | [virtual] |
Allocate a new selection frame and add it to the pool. Return the allocated widget, or NULL on error
| virtual int vtkKWSelectionFrameLayoutManager::SetWidgetTag | ( | vtkKWSelectionFrame * | , | |
| const char * | tag | |||
| ) | [virtual] |
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
| virtual const char* vtkKWSelectionFrameLayoutManager::GetWidgetTag | ( | vtkKWSelectionFrame * | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::SetWidgetGroup | ( | vtkKWSelectionFrame * | , | |
| const char * | group | |||
| ) | [virtual] |
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
| virtual const char* vtkKWSelectionFrameLayoutManager::GetWidgetGroup | ( | vtkKWSelectionFrame * | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::GetNumberOfWidgets | ( | ) | [virtual] |
Get the number of widgets in the pool
| virtual int vtkKWSelectionFrameLayoutManager::GetNumberOfWidgetsWithTag | ( | const char * | tag | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::GetNumberOfWidgetsWithGroup | ( | const char * | group | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::HasWidget | ( | vtkKWSelectionFrame * | widget | ) | [virtual] |
Query if widget is in the pool
| virtual int vtkKWSelectionFrameLayoutManager::HasWidgetWithTag | ( | const char * | tag | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::HasWidgetWithTagAndGroup | ( | const char * | tag, | |
| const char * | group | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetWidgetWithTag | ( | const char * | tag | ) | [virtual] |
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
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetWidgetWithTagAndGroup | ( | const char * | tag, | |
| const char * | group | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetWidgetWithTitle | ( | const char * | title | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetNthWidget | ( | int | index | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetNthWidgetNotMatching | ( | int | index, | |
| vtkKWSelectionFrame * | avoid | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetNthWidgetWithGroup | ( | int | index, | |
| const char * | group | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::GetWidgetPosition | ( | vtkKWSelectionFrame * | w, | |
| int * | col, | |||
| int * | row | |||
| ) | [virtual] |
Set/Get position of widget. Note that the position is independent of the resolution, you can still set the position of a widget anywhere while displaying only a subset of the largest grid encompassing all widgets (i.e. you can set a widget at (2, 3), i.e. third column, fourth row, but set the resolution to (1, 1) to display only the first column and first row: the next time the resolution is set to, say, (4, 4), the widget at (2, 3) will be shown). Changing the position of a widget will repack the layout (call to Pack()). If you need to change the position of a lot of widgets without repacking each time, try SetImmediateWidgetPosition(), and Pack(). Return 1 (or widget) on success (and if the position was really changed), 0 (or NULL) on error.
| virtual int vtkKWSelectionFrameLayoutManager::GetWidgetPosition | ( | vtkKWSelectionFrame * | w, | |
| int | pos[2] | |||
| ) | [inline, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 153 of file vtkKWSelectionFrameLayoutManager.h.
| virtual int vtkKWSelectionFrameLayoutManager::SetWidgetPosition | ( | vtkKWSelectionFrame * | w, | |
| int | col, | |||
| int | row | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::SetWidgetPosition | ( | vtkKWSelectionFrame * | w, | |
| int | pos[2] | |||
| ) | [inline, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 156 of file vtkKWSelectionFrameLayoutManager.h.
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetWidgetAtPosition | ( | int | col, | |
| int | row | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetWidgetAtPosition | ( | int | pos[2] | ) | [inline, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 159 of file vtkKWSelectionFrameLayoutManager.h.
| virtual int vtkKWSelectionFrameLayoutManager::SwitchWidgetsPosition | ( | vtkKWSelectionFrame * | w1, | |
| vtkKWSelectionFrame * | w2 | |||
| ) | [virtual] |
Switch widgets position (set the position of two widgets) Return 1 (or widget) on success, 0 (or NULL) on error
| virtual void vtkKWSelectionFrameLayoutManager::ReorganizeWidgetPositionsAutomaticallyOn | ( | ) | [virtual] |
Reorganize the widgets position automatically (for example, to try to avoid empty spaces).
| virtual void vtkKWSelectionFrameLayoutManager::ReorganizeWidgetPositionsAutomaticallyOff | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::SetReorganizeWidgetPositionsAutomatically | ( | int | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::GetReorganizeWidgetPositionsAutomatically | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::SetMaximumResolution | ( | int | nb_cols, | |
| int | nb_rows | |||
| ) | [virtual] |
Set/Get the maximum resolution of the layout (number of columns, number of rows).
| virtual void vtkKWSelectionFrameLayoutManager::SetMaximumResolution | ( | int | res[2] | ) | [inline, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 182 of file vtkKWSelectionFrameLayoutManager.h.
| virtual int* vtkKWSelectionFrameLayoutManager::GetMaximumResolution | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::GetMaximumResolution | ( | int & | , | |
| int & | ||||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::GetMaximumResolution | ( | int | [2] | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::GetWidgetVisibility | ( | vtkKWSelectionFrame * | w | ) | [virtual] |
Return if a specific widget is visible at this point, i.e. mapped on screen at a specific position given the current resolution.
| virtual int vtkKWSelectionFrameLayoutManager::IsWidgetMaximized | ( | vtkKWSelectionFrame * | w | ) | [virtual] |
Check if a widget is maximized, i.e. at position (0,0) in a (1,1) resolution. Maximize it (this will save the old resolution and position) or undo maximize (this will restore old resolution and position). Toggle maximize will maximize if widget is not maximized already or undo the maximize Return 1 on success, 0 on error
| virtual int vtkKWSelectionFrameLayoutManager::MaximizeWidget | ( | vtkKWSelectionFrame * | w | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::UndoMaximizeWidget | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::ToggleMaximizeWidget | ( | vtkKWSelectionFrame * | w | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::SelectWidget | ( | vtkKWSelectionFrame * | widget | ) | [virtual] |
Select a a widget. If arg is NULL, nothing is selected (all others are deselected)
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetSelectedWidget | ( | ) | [virtual] |
Get the selected widget. Return the widget, or NULL if none is selected
| virtual void vtkKWSelectionFrameLayoutManager::SetSelectionChangedCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies a command to associate with the widget. This command is typically invoked when the selection is changed. The 'object' argument is the object that will have the method called on it. The 'method' argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is still evaluated as a simple command.
| virtual char* vtkKWSelectionFrameLayoutManager::GetSelectionChangedCommand | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::RemoveWidget | ( | vtkKWSelectionFrame * | widget | ) | [virtual] |
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
| virtual int vtkKWSelectionFrameLayoutManager::RemoveAllWidgets | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::RemoveAllWidgetsWithGroup | ( | const char * | group | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::ShowWidgetsWithGroup | ( | const char * | group | ) | [virtual] |
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
| virtual int vtkKWSelectionFrameLayoutManager::SaveScreenshotAllWidgets | ( | ) | [virtual] |
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 GetRenderWidget() need to be implemented accordingly.
| virtual int vtkKWSelectionFrameLayoutManager::SaveScreenshotAllWidgetsToFile | ( | const char * | fileName | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::CopyScreenshotAllWidgetsToClipboard | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::AppendAllWidgetsToImageData | ( | vtkImageData * | image, | |
| int | OnScreenRendering = 0 | |||
| ) | [virtual] |
Append widgets to image data. The 'Fast' version of each method does not set the render widget to Offscreen rendering (unless OnScreenRendering is 1) 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 GetRenderWidget() need to be implemented accordingly.
| virtual int vtkKWSelectionFrameLayoutManager::AppendAllWidgetsToImageDataFast | ( | vtkImageData * | image | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::AppendSelectedWidgetToImageData | ( | vtkImageData * | image | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::AppendSelectedWidgetToImageDataFast | ( | vtkImageData * | image | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::UseAlphaChannelInScreenshotOn | ( | ) | [virtual] |
Use the alpha channel in screenshots (which will save a transparent image).
| virtual void vtkKWSelectionFrameLayoutManager::UseAlphaChannelInScreenshotOff | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::GetUseAlphaChannelInScreenshot | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::SetUseAlphaChannelInScreenshot | ( | int | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::PrintAllWidgets | ( | ) | [virtual] |
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 GetRenderWidget() need to be implemented accordingly.
| virtual int vtkKWSelectionFrameLayoutManager::PrintAllWidgetsAtResolution | ( | double | dpi | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::PrintSelectedWidget | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::PrintSelectedWidgetAtResolution | ( | double | dpi | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::CreateResolutionEntriesMenu | ( | vtkKWMenu * | parent | ) | [virtual] |
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. If the resolution is changed using a menu entry, a ResolutionChangedEvent event is sent.
| virtual vtkKWMenu* vtkKWSelectionFrameLayoutManager::GetResolutionEntriesMenu | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::UpdateResolutionEntriesMenu | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::CreateResolutionEntriesToolbar | ( | vtkKWWidget * | parent | ) | [virtual] |
Create a resolution entries toolbar (specifies its parent). Get the toolbar. Update the menu entries state, given the number of widgets. If the resolution is changed using a toolbar button, a ResolutionChangedEvent event is sent.
| virtual vtkKWToolbar* vtkKWSelectionFrameLayoutManager::GetResolutionEntriesToolbar | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::UpdateResolutionEntriesToolbar | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::SetDoubleClickOnLayoutFrameCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
The command is invoked when the user double-clicks on the layout frame, i.e. any region of the frame that is not occupied by one selection frame.
| virtual void vtkKWSelectionFrameLayoutManager::UpdateEnableState | ( | ) | [virtual] |
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.
| virtual void vtkKWSelectionFrameLayoutManager::UpdateSelectionLists | ( | ) | [virtual] |
Update the selection lists
| virtual void vtkKWSelectionFrameLayoutManager::SelectWidgetCallback | ( | vtkKWSelectionFrame * | ) | [virtual] |
Callbacks. Internal, do not use.
| virtual void vtkKWSelectionFrameLayoutManager::SelectAndMaximizeWidgetCallback | ( | vtkKWSelectionFrame * | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::CloseWidgetCallback | ( | vtkKWSelectionFrame * | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::ChangeWidgetTitleCallback | ( | vtkKWSelectionFrame * | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::WidgetTitleChangedCallback | ( | vtkKWSelectionFrame * | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::SwitchWidgetCallback | ( | const char * | title, | |
| vtkKWSelectionFrame * | widget | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::ResolutionCallback | ( | int | i, | |
| int | j | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::NumberOfWidgetsHasChangedCallback | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::DoubleClickOnLayoutFrameCallback | ( | ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::Pack | ( | ) | [virtual] |
Pack all widgets. You shouldn't have to call this method, as it is called automatically each time the position of a widget is changed through SetWidgetPosition, or the resolution/origin is changed, or a widget is added. But sometimes you may want to trigger packing yourself if you need to set the positions of a lot of widgets simultaneously through SetImmediateWidgetPosition.
| virtual int vtkKWSelectionFrameLayoutManager::SetImmediateWidgetPosition | ( | vtkKWSelectionFrame * | w, | |
| int | pos[2] | |||
| ) | [inline, virtual] |
Set the widget position without repacking. Return 1 if the position was changed, 0 otherwise.
Definition at line 357 of file vtkKWSelectionFrameLayoutManager.h.
| virtual int vtkKWSelectionFrameLayoutManager::SetImmediateWidgetPosition | ( | vtkKWSelectionFrame * | w, | |
| int | col, | |||
| int | row | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::AdjustResolution | ( | ) | [virtual] |
Adjust the resolution so that all widgets are shown
| virtual void vtkKWSelectionFrameLayoutManager::SetResolutionAndOrigin | ( | int | res[2], | |
| int | origin[2] | |||
| ) | [inline, virtual] |
Set resolution and origin at the same time, to minimize redraw
Definition at line 368 of file vtkKWSelectionFrameLayoutManager.h.
| virtual void vtkKWSelectionFrameLayoutManager::SetResolutionAndOrigin | ( | int | nb_cols, | |
| int | nb_rows, | |||
| int | col, | |||
| int | row | |||
| ) | [virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::IsPositionInLayout | ( | int | col, | |
| int | row | |||
| ) | [protected, virtual] |
Get if a specific position is inside the layout defined by the current resolution and origin.
| virtual int vtkKWSelectionFrameLayoutManager::IsPositionInLayout | ( | int | pos[2] | ) | [inline, protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 384 of file vtkKWSelectionFrameLayoutManager.h.
| virtual void vtkKWSelectionFrameLayoutManager::CreateWidget | ( | ) | [protected, virtual] |
Create the widget.
Reimplemented from vtkKWCompositeWidget.
| virtual void vtkKWSelectionFrameLayoutManager::InvokeSelectionChangedCommand | ( | ) | [protected, virtual] |
| virtual void vtkKWSelectionFrameLayoutManager::InvokeDoubleClickOnLayoutFrameCommand | ( | ) | [protected, virtual] |
| virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::AllocateWidget | ( | ) | [protected, virtual] |
Allocate a new widget.
| virtual void vtkKWSelectionFrameLayoutManager::CreateWidget | ( | vtkKWSelectionFrame * | ) | [protected, virtual] |
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.
| virtual void vtkKWSelectionFrameLayoutManager::ConfigureWidget | ( | vtkKWSelectionFrame * | ) | [protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual vtkKWRenderWidget* vtkKWSelectionFrameLayoutManager::GetRenderWidget | ( | vtkKWSelectionFrame * | ) | [protected, virtual] |
Get the render widget (if any) associated to the selection frame 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.
| virtual int vtkKWSelectionFrameLayoutManager::PrintWidgets | ( | double | dpi, | |
| int | selection_only | |||
| ) | [protected, virtual] |
Print widgets (if selection_only is true, only the selected widget is printed, otherwise all of them). Return 1 on success, 0 otherwise
| virtual int vtkKWSelectionFrameLayoutManager::AppendWidgetsToImageData | ( | vtkImageData * | image, | |
| int | selection_only, | |||
| int | direct = 0, |
|||
| int | ForceUpdateOnScreenRendering = 0 | |||
| ) | [protected, virtual] |
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). If direct is true and ForceUpdateOnScreenRendering is 1, the render widgets are forcibly re-rendererd prior to grabbing the screenshot. Return 1 on success, 0 otherwise
| virtual void vtkKWSelectionFrameLayoutManager::NumberOfWidgetsHasChanged | ( | ) | [protected, virtual] |
Called when the number of widgets has changed
| virtual void vtkKWSelectionFrameLayoutManager::ScheduleNumberOfWidgetsHasChanged | ( | ) | [protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::ReorganizeWidgetPositions | ( | ) | [protected, virtual] |
Reorganize positions of widgets so that the grid defined by the current resolution is filled. Return the number of reorganized widgets (number of widgets which position was changed).
| virtual int vtkKWSelectionFrameLayoutManager::CanWidgetTitleBeChanged | ( | vtkKWSelectionFrame * | widget, | |
| const char * | new_title | |||
| ) | [protected, virtual] |
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.
| virtual void vtkKWSelectionFrameLayoutManager::AddCallbacksToWidget | ( | vtkKWSelectionFrame * | widget | ) | [protected, virtual] |
Add/Remove callbacks on a selection frame
| virtual void vtkKWSelectionFrameLayoutManager::RemoveCallbacksFromWidget | ( | vtkKWSelectionFrame * | widget | ) | [protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual void vtkKWSelectionFrameLayoutManager::DeleteWidget | ( | vtkKWSelectionFrame * | widget | ) | [protected, virtual] |
Delete a widget, i.e. Close and UnRegister it. Internal use only, as a helper to the public RemoveWidget methods.
| virtual void vtkKWSelectionFrameLayoutManager::MoveSelectionInsideVisibleLayout | ( | int * | pos_hint | ) | [protected, virtual] |
Automatically move the selection inside the visible layout, i.e. if the selected widget is not visible, select a visible one. If pos_hint is non-null, use it as a hint regarding where the most likely selection could be (array of 2 ints).
| virtual int vtkKWSelectionFrameLayoutManager::PushResolution | ( | int | nb_cols, | |
| int | nb_rows | |||
| ) | [protected, virtual] |
Push/Pop resolutions or origins on a stack Is used by the maximize/minimize code.
| virtual int vtkKWSelectionFrameLayoutManager::PushResolution | ( | int | res[2] | ) | [inline, protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 486 of file vtkKWSelectionFrameLayoutManager.h.
| virtual int vtkKWSelectionFrameLayoutManager::PopResolution | ( | int * | nb_cols, | |
| int * | nb_rows | |||
| ) | [protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::PopResolution | ( | int | res[2] | ) | [inline, protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 489 of file vtkKWSelectionFrameLayoutManager.h.
| virtual int vtkKWSelectionFrameLayoutManager::PushPosition | ( | int | col, | |
| int | row | |||
| ) | [protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::PushPosition | ( | int | origin[2] | ) | [inline, protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 492 of file vtkKWSelectionFrameLayoutManager.h.
| virtual int vtkKWSelectionFrameLayoutManager::PopPosition | ( | int * | col, | |
| int * | row | |||
| ) | [protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
| virtual int vtkKWSelectionFrameLayoutManager::PopPosition | ( | int | origin[2] | ) | [inline, protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
Definition at line 495 of file vtkKWSelectionFrameLayoutManager.h.
| virtual int vtkKWSelectionFrameLayoutManager::SaveLayoutBeforeMaximize | ( | ) | [protected, virtual] |
Save/Restore layout before maximize/minimize. Return 1 on success, 0 otherwise
| virtual int vtkKWSelectionFrameLayoutManager::RestoreLayoutBeforeMaximize | ( | ) | [protected, virtual] |
Events. The SelectionChangedEvent is triggered when the selection is changed. It is similar in concept as the 'SelectionChangedCommand' callbacks but can be used by multiple listeners/observers at a time. BTX
int vtkKWSelectionFrameLayoutManager::Resolution[2] [protected] |
Definition at line 391 of file vtkKWSelectionFrameLayoutManager.h.
int vtkKWSelectionFrameLayoutManager::MaximumResolution[2] [protected] |
Definition at line 392 of file vtkKWSelectionFrameLayoutManager.h.
int vtkKWSelectionFrameLayoutManager::Origin[2] [protected] |
Definition at line 393 of file vtkKWSelectionFrameLayoutManager.h.
Definition at line 394 of file vtkKWSelectionFrameLayoutManager.h.
int vtkKWSelectionFrameLayoutManager::UseAlphaChannelInScreenshot [protected] |
Definition at line 395 of file vtkKWSelectionFrameLayoutManager.h.
Definition at line 397 of file vtkKWSelectionFrameLayoutManager.h.
Definition at line 398 of file vtkKWSelectionFrameLayoutManager.h.
char* vtkKWSelectionFrameLayoutManager::SelectionChangedCommand [protected] |
Definition at line 401 of file vtkKWSelectionFrameLayoutManager.h.
char* vtkKWSelectionFrameLayoutManager::DoubleClickOnLayoutFrameCommand [protected] |
Definition at line 403 of file vtkKWSelectionFrameLayoutManager.h.
vtkKWFrame* vtkKWSelectionFrameLayoutManager::LayoutFrame [protected] |
Definition at line 406 of file vtkKWSelectionFrameLayoutManager.h.
vtkKWSelectionFrameLayoutManagerInternals* vtkKWSelectionFrameLayoutManager::Internals [protected] |
PIMPL Encapsulation for STL containers
Reimplemented from vtkKWCoreWidget.
Definition at line 464 of file vtkKWSelectionFrameLayoutManager.h.
1.6.1