Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkKWSelectionFrameLayoutManager Class Reference

a MxN layout manager for a set of vtkKWSelectionFrame More...

#include <vtkKWSelectionFrameLayoutManager.h>

Inheritance diagram for vtkKWSelectionFrameLayoutManager:

Inheritance graph
[legend]
Collaboration diagram for vtkKWSelectionFrameLayoutManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkKWSelectionFrameLayoutManager, vtkKWCompositeWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
virtual int AddWidget (vtkKWSelectionFrame *widget)
virtual vtkKWSelectionFrameAllocateAndAddWidget ()
virtual void SelectWidget (vtkKWSelectionFrame *widget)
virtual vtkKWSelectionFrameGetSelectedWidget ()
virtual int ShowWidgetsWithGroup (const char *group)
virtual void UpdateEnableState ()
virtual void UpdateSelectionLists ()
virtual void SetResolution (int i, int j)
virtual void SetResolution (int res[2])
virtual int * GetResolution ()
virtual void GetResolution (int &, int &)
virtual void GetResolution (int[2])
virtual int SetWidgetTag (vtkKWSelectionFrame *, const char *tag)
virtual const char * GetWidgetTag (vtkKWSelectionFrame *)
virtual int SetWidgetGroup (vtkKWSelectionFrame *, const char *group)
virtual const char * GetWidgetGroup (vtkKWSelectionFrame *)
virtual int GetNumberOfWidgets ()
virtual int GetNumberOfWidgetsWithTag (const char *tag)
virtual int GetNumberOfWidgetsWithGroup (const char *group)
virtual int HasWidget (vtkKWSelectionFrame *widget)
virtual int HasWidgetWithTag (const char *tag)
virtual int HasWidgetWithTagAndGroup (const char *tag, const char *group)
virtual vtkKWSelectionFrameGetWidgetWithTag (const char *tag)
virtual vtkKWSelectionFrameGetWidgetWithTagAndGroup (const char *tag, const char *group)
virtual vtkKWSelectionFrameGetWidgetWithTitle (const char *title)
virtual vtkKWSelectionFrameGetNthWidget (int index)
virtual vtkKWSelectionFrameGetNthWidgetNotMatching (int index, vtkKWSelectionFrame *avoid)
virtual vtkKWSelectionFrameGetNthWidgetWithGroup (int index, const char *group)
virtual int GetWidgetPosition (vtkKWSelectionFrame *w, int *col, int *row)
virtual int GetWidgetPosition (vtkKWSelectionFrame *w, int pos[2])
virtual int SetWidgetPosition (vtkKWSelectionFrame *w, int col, int row)
virtual int SetWidgetPosition (vtkKWSelectionFrame *w, int pos[2])
virtual vtkKWSelectionFrameGetWidgetAtPosition (int col, int row)
virtual vtkKWSelectionFrameGetWidgetAtPosition (int pos[2])
virtual int SwitchWidgetsPosition (vtkKWSelectionFrame *w1, vtkKWSelectionFrame *w2)
virtual void SetSelectionChangedCommand (vtkObject *object, const char *method)
virtual int RemoveWidget (vtkKWSelectionFrame *widget)
virtual int RemoveAllWidgets ()
virtual int RemoveAllWidgetsWithGroup (const char *group)
virtual int SaveScreenshotAllWidgets ()
virtual int SaveScreenshotAllWidgetsToFile (const char *fileName)
virtual int CopyScreenshotAllWidgetsToClipboard ()
virtual int AppendAllWidgetsToImageData (vtkImageData *image)
virtual int AppendAllWidgetsToImageDataFast (vtkImageData *image)
virtual int AppendSelectedWidgetToImageData (vtkImageData *image)
virtual int AppendSelectedWidgetToImageDataFast (vtkImageData *image)
virtual int PrintAllWidgets ()
virtual int PrintAllWidgetsAtResolution (double dpi)
virtual int PrintSelectedWidget ()
virtual int PrintSelectedWidgetAtResolution (double dpi)
virtual void CreateResolutionEntriesMenu (vtkKWMenu *parent)
virtual vtkKWMenuGetResolutionEntriesMenu ()
virtual void UpdateResolutionEntriesMenu ()
virtual void CreateResolutionEntriesToolbar (vtkKWWidget *parent)
virtual vtkKWToolbarGetResolutionEntriesToolbar ()
virtual void UpdateResolutionEntriesToolbar ()
virtual void SelectWidgetCallback (vtkKWSelectionFrame *)
virtual void SelectAndMaximizeWidgetCallback (vtkKWSelectionFrame *)
virtual void CloseWidgetCallback (vtkKWSelectionFrame *)
virtual int ChangeWidgetTitleCallback (vtkKWSelectionFrame *)
virtual void WidgetTitleChangedCallback (vtkKWSelectionFrame *)
virtual void SwitchWidgetCallback (const char *title, vtkKWSelectionFrame *widget)

Static Public Member Functions

vtkKWSelectionFrameLayoutManagerNew ()

Protected Member Functions

 vtkKWSelectionFrameLayoutManager ()
 ~vtkKWSelectionFrameLayoutManager ()
virtual vtkKWSelectionFrameAllocateWidget ()
virtual vtkKWRenderWidgetGetVisibleRenderWidget (vtkKWSelectionFrame *)
virtual void Pack ()
virtual void AdjustResolution ()
virtual int PrintWidgets (double dpi, int selection_only)
virtual void NumberOfWidgetsHasChanged ()
virtual void ReorganizeWidgetPositions ()
virtual void DeleteWidget (vtkKWSelectionFrame *widget)
virtual void CreateWidget (vtkKWSelectionFrame *)
virtual void ConfigureWidget (vtkKWSelectionFrame *)
virtual int AppendWidgetsToImageData (vtkImageData *image, int selection_only, int direct=0)
virtual int CanWidgetTitleBeChanged (vtkKWSelectionFrame *widget, const char *new_title)
virtual void AddCallbacksToWidget (vtkKWSelectionFrame *widget)
virtual void RemoveCallbacksFromWidget (vtkKWSelectionFrame *widget)

Protected Attributes

int Resolution [2]
vtkKWMenuResolutionEntriesMenu
vtkKWToolbarResolutionEntriesToolbar
char * SelectionChangedCommand
vtkKWSelectionFrameLayoutManagerInternals * Internals

Detailed Description

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.

Definition at line 41 of file vtkKWSelectionFrameLayoutManager.h.


Constructor & Destructor Documentation

vtkKWSelectionFrameLayoutManager::vtkKWSelectionFrameLayoutManager  )  [protected]
 

vtkKWSelectionFrameLayoutManager::~vtkKWSelectionFrameLayoutManager  )  [protected]
 


Member Function Documentation

vtkKWSelectionFrameLayoutManager* vtkKWSelectionFrameLayoutManager::New  )  [static]
 

Reimplemented from vtkKWCompositeWidget.

vtkKWSelectionFrameLayoutManager::vtkTypeRevisionMacro vtkKWSelectionFrameLayoutManager  ,
vtkKWCompositeWidget 
 

void vtkKWSelectionFrameLayoutManager::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkKWCompositeWidget.

virtual void vtkKWSelectionFrameLayoutManager::Create vtkKWApplication app  )  [virtual]
 

Create the widget.

Reimplemented from vtkKWCompositeWidget.

virtual void vtkKWSelectionFrameLayoutManager::SetResolution int  i,
int  j
[virtual]
 

Control the resolution in widget by widget (columns, rows)

virtual void vtkKWSelectionFrameLayoutManager::SetResolution int  res[2]  )  [inline, virtual]
 

Control the resolution in widget by widget (columns, rows)

Definition at line 54 of file vtkKWSelectionFrameLayoutManager.h.

virtual int* vtkKWSelectionFrameLayoutManager::GetResolution  )  [virtual]
 

Control the resolution in widget by widget (columns, rows)

virtual void vtkKWSelectionFrameLayoutManager::GetResolution int &  ,
int & 
[virtual]
 

Control the resolution in widget by widget (columns, rows)

virtual void vtkKWSelectionFrameLayoutManager::GetResolution int  [2]  )  [virtual]
 

Control the resolution in widget by widget (columns, rows)

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 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]
 

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 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]
 

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 int vtkKWSelectionFrameLayoutManager::GetNumberOfWidgets  )  [virtual]
 

Get the number of widgets in the pool

virtual int vtkKWSelectionFrameLayoutManager::GetNumberOfWidgetsWithTag const char *  tag  )  [virtual]
 

Get the number of widgets in the pool

virtual int vtkKWSelectionFrameLayoutManager::GetNumberOfWidgetsWithGroup const char *  group  )  [virtual]
 

Get the number of widgets in the pool

virtual int vtkKWSelectionFrameLayoutManager::HasWidget vtkKWSelectionFrame widget  )  [virtual]
 

Query if widget is in the pool

virtual int vtkKWSelectionFrameLayoutManager::HasWidgetWithTag const char *  tag  )  [virtual]
 

Query if widget is in the pool

virtual int vtkKWSelectionFrameLayoutManager::HasWidgetWithTagAndGroup const char *  tag,
const char *  group
[virtual]
 

Query if widget is in the pool

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]
 

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::GetWidgetWithTitle const char *  title  )  [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::GetNthWidget int  index  )  [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::GetNthWidgetNotMatching int  index,
vtkKWSelectionFrame avoid
[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::GetNthWidgetWithGroup int  index,
const char *  group
[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 int vtkKWSelectionFrameLayoutManager::GetWidgetPosition vtkKWSelectionFrame w,
int *  col,
int *  row
[virtual]
 

Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error

virtual int vtkKWSelectionFrameLayoutManager::GetWidgetPosition vtkKWSelectionFrame w,
int  pos[2]
[inline, virtual]
 

Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error

Definition at line 121 of file vtkKWSelectionFrameLayoutManager.h.

virtual int vtkKWSelectionFrameLayoutManager::SetWidgetPosition vtkKWSelectionFrame w,
int  col,
int  row
[virtual]
 

Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error

virtual int vtkKWSelectionFrameLayoutManager::SetWidgetPosition vtkKWSelectionFrame w,
int  pos[2]
[inline, virtual]
 

Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error

Definition at line 124 of file vtkKWSelectionFrameLayoutManager.h.

virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetWidgetAtPosition int  col,
int  row
[virtual]
 

Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error

virtual vtkKWSelectionFrame* vtkKWSelectionFrameLayoutManager::GetWidgetAtPosition int  pos[2]  )  [inline, virtual]
 

Set/Get position of widget Return 1 (or widget) on success, 0 (or NULL) on error

Definition at line 127 of file vtkKWSelectionFrameLayoutManager.h.

virtual int vtkKWSelectionFrameLayoutManager::SwitchWidgetsPosition vtkKWSelectionFrame w1,
vtkKWSelectionFrame w2
[virtual]
 

Switch widgets position (convenience method to set the position of two widgets) Return 1 (or widget) on success, 0 (or NULL) on error

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 be invoked when the selection has changed

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]
 

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::RemoveAllWidgetsWithGroup const char *  group  )  [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::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 GetVisibleRenderWidget() need to be implemented accordingly.

virtual int vtkKWSelectionFrameLayoutManager::SaveScreenshotAllWidgetsToFile const char *  fileName  )  [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 GetVisibleRenderWidget() need to be implemented accordingly.

virtual int vtkKWSelectionFrameLayoutManager::CopyScreenshotAllWidgetsToClipboard  )  [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 GetVisibleRenderWidget() need to be implemented accordingly.

virtual int vtkKWSelectionFrameLayoutManager::AppendAllWidgetsToImageData vtkImageData *  image  )  [virtual]
 

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.

virtual int vtkKWSelectionFrameLayoutManager::AppendAllWidgetsToImageDataFast vtkImageData *  image  )  [virtual]
 

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.

virtual int vtkKWSelectionFrameLayoutManager::AppendSelectedWidgetToImageData vtkImageData *  image  )  [virtual]
 

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.

virtual int vtkKWSelectionFrameLayoutManager::AppendSelectedWidgetToImageDataFast vtkImageData *  image  )  [virtual]
 

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.

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 GetVisibleRenderWidget() need to be implemented accordingly.

virtual int vtkKWSelectionFrameLayoutManager::PrintAllWidgetsAtResolution double  dpi  )  [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 GetVisibleRenderWidget() need to be implemented accordingly.

virtual int vtkKWSelectionFrameLayoutManager::PrintSelectedWidget  )  [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 GetVisibleRenderWidget() need to be implemented accordingly.

virtual int vtkKWSelectionFrameLayoutManager::PrintSelectedWidgetAtResolution double  dpi  )  [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 GetVisibleRenderWidget() need to be implemented accordingly.

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.

virtual vtkKWMenu* vtkKWSelectionFrameLayoutManager::GetResolutionEntriesMenu  )  [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.

virtual void vtkKWSelectionFrameLayoutManager::UpdateResolutionEntriesMenu  )  [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.

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.

virtual vtkKWToolbar* vtkKWSelectionFrameLayoutManager::GetResolutionEntriesToolbar  )  [virtual]
 

Create a resolution entries toolbar (specifies its parent). Get the toolbar. Update the menu entries state, given the number of widgets.

virtual void vtkKWSelectionFrameLayoutManager::UpdateResolutionEntriesToolbar  )  [virtual]
 

Create a resolution entries toolbar (specifies its parent). Get the toolbar. Update the menu entries state, given the number of widgets.

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::SelectWidgetCallback vtkKWSelectionFrame  )  [virtual]
 

Callbacks

virtual void vtkKWSelectionFrameLayoutManager::SelectAndMaximizeWidgetCallback vtkKWSelectionFrame  )  [virtual]
 

Callbacks

virtual void vtkKWSelectionFrameLayoutManager::CloseWidgetCallback vtkKWSelectionFrame  )  [virtual]
 

Callbacks

virtual int vtkKWSelectionFrameLayoutManager::ChangeWidgetTitleCallback vtkKWSelectionFrame  )  [virtual]
 

Callbacks

virtual void vtkKWSelectionFrameLayoutManager::WidgetTitleChangedCallback vtkKWSelectionFrame  )  [virtual]
 

Callbacks

virtual void vtkKWSelectionFrameLayoutManager::SwitchWidgetCallback const char *  title,
vtkKWSelectionFrame widget
[virtual]
 

Callbacks

virtual void vtkKWSelectionFrameLayoutManager::UpdateSelectionLists  )  [virtual]
 

Update the selection lists

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]
 

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 vtkKWRenderWidget* vtkKWSelectionFrameLayoutManager::GetVisibleRenderWidget vtkKWSelectionFrame  )  [protected, virtual]
 

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.

virtual void vtkKWSelectionFrameLayoutManager::Pack  )  [protected, virtual]
 

Pack all widgets

virtual void vtkKWSelectionFrameLayoutManager::AdjustResolution  )  [protected, virtual]
 

Adjust the resolution so that all widgets are shown

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
[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). Return 1 on success, 0 otherwise

virtual void vtkKWSelectionFrameLayoutManager::NumberOfWidgetsHasChanged  )  [protected, virtual]
 

Called when the number of widgets has changed

virtual void vtkKWSelectionFrameLayoutManager::ReorganizeWidgetPositions  )  [protected, virtual]
 

Reorganize positions of widgets so that the grid defined by the current resolution is filled

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]
 

Add/Remove callbacks on a selection frame

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.


Member Data Documentation

int vtkKWSelectionFrameLayoutManager::Resolution[2] [protected]
 

Definition at line 244 of file vtkKWSelectionFrameLayoutManager.h.

vtkKWMenu* vtkKWSelectionFrameLayoutManager::ResolutionEntriesMenu [protected]
 

Definition at line 245 of file vtkKWSelectionFrameLayoutManager.h.

vtkKWToolbar* vtkKWSelectionFrameLayoutManager::ResolutionEntriesToolbar [protected]
 

Definition at line 246 of file vtkKWSelectionFrameLayoutManager.h.

char* vtkKWSelectionFrameLayoutManager::SelectionChangedCommand [protected]
 

Definition at line 247 of file vtkKWSelectionFrameLayoutManager.h.

vtkKWSelectionFrameLayoutManagerInternals* vtkKWSelectionFrameLayoutManager::Internals [protected]
 

PIMPL Encapsulation for STL containers

Reimplemented from vtkKWWidget.

Definition at line 304 of file vtkKWSelectionFrameLayoutManager.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:43:47 2006 for ParaView by doxygen 1.3.5