a preset selector. More...
#include <vtkKWPresetSelector.h>


a preset selector.
This class is the basis for a preset selector framework. Presets can be added to the selector and identified by unique IDs. They can be assigned pre-defined fields like a group, a filename, a comment, a thumbnail and a screenshot, as well as an unlimited number of user-defined slots. Presets are listed vertically in a table list widget (vtkKWMultiColumnList), one by row. Each column is used to display one of the predefined field. The class can be used as-is, or extended to support more columns or features, as examplified in the vtkKWWindowLevelPresetSelector and vtkKWVolumePropertyPresetSelector sub-classes. Several callbacks can be specified to enable external code to add presets, apply presets, update them, etc. presets.
Definition at line 55 of file vtkKWPresetSelector.h.
Reimplemented from vtkKWCompositeWidget.
Reimplemented in vtkKWColorPresetSelector, vtkKWDirectoryPresetSelector, vtkKWVolumePropertyPresetSelector, and vtkKWWindowLevelPresetSelector.
Definition at line 60 of file vtkKWPresetSelector.h.
| anonymous enum |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| UserSlotDoubleType | |
| UserSlotIntType | |
| UserSlotUnsignedLongType | |
| UserSlotInt64Type | |
| UserSlotStringType | |
| UserSlotPointerType | |
| UserSlotObjectType | |
| UserSlotUnknownType |
Definition at line 212 of file vtkKWPresetSelector.h.
| vtkKWPresetSelector::vtkKWPresetSelector | ( | ) | [protected] |
| vtkKWPresetSelector::~vtkKWPresetSelector | ( | ) | [protected] |
| static vtkKWPresetSelector* vtkKWPresetSelector::New | ( | ) | [static] |
Reimplemented from vtkKWCompositeWidget.
Reimplemented in vtkKWColorPresetSelector, vtkKWDirectoryPresetSelector, vtkKWVolumePropertyPresetSelector, and vtkKWWindowLevelPresetSelector.
| virtual const char* vtkKWPresetSelector::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkKWCompositeWidget.
Reimplemented in vtkKWColorPresetSelector, vtkKWDirectoryPresetSelector, vtkKWVolumePropertyPresetSelector, and vtkKWWindowLevelPresetSelector.
| static int vtkKWPresetSelector::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkKWCompositeWidget.
Reimplemented in vtkKWColorPresetSelector, vtkKWDirectoryPresetSelector, vtkKWVolumePropertyPresetSelector, and vtkKWWindowLevelPresetSelector.
| virtual int vtkKWPresetSelector::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkKWCompositeWidget.
Reimplemented in vtkKWColorPresetSelector, vtkKWDirectoryPresetSelector, vtkKWVolumePropertyPresetSelector, and vtkKWWindowLevelPresetSelector.
| static vtkKWPresetSelector* vtkKWPresetSelector::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkKWCompositeWidget.
Reimplemented in vtkKWColorPresetSelector, vtkKWDirectoryPresetSelector, vtkKWVolumePropertyPresetSelector, and vtkKWWindowLevelPresetSelector.
| void vtkKWPresetSelector::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkKWCompositeWidget.
Reimplemented in vtkKWColorPresetSelector, vtkKWDirectoryPresetSelector, vtkKWVolumePropertyPresetSelector, and vtkKWWindowLevelPresetSelector.
| virtual int vtkKWPresetSelector::AddPreset | ( | ) | [virtual] |
Add a new preset to the end of the list, or insert a preset in front of another preset, given its Id (if passed -1 as Id, insert at the beginning). Return the unique Id of the new preset, or -1 on error.
| virtual int vtkKWPresetSelector::InsertPreset | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::HasPreset | ( | int | id | ) | [virtual] |
Query if pool has given preset. Return 1 if in the pool, 0 otherwise
| virtual int vtkKWPresetSelector::SetPresetGroup | ( | int | id, | |
| const char * | group | |||
| ) | [virtual] |
Set/Get the group associated to a preset. This provide a way of grouping presets. The group field is not displayed as a column by default, but this can be changed using the SetGroupColumnVisibility() method. This column can not be edited by default, but this can be changed by a subclass. Return 1 on success, 0 on error
| virtual const char* vtkKWPresetSelector::GetPresetGroup | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetGroupColumnVisibility | ( | int | ) | [virtual] |
Set/Get the visibility of the group column. Hidden by default. No effect if called before Create().
| virtual int vtkKWPresetSelector::GetGroupColumnVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::GroupColumnVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::GroupColumnVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetGroupColumnTitle | ( | const char * | ) | [virtual] |
Set/Get the title of the group column. No effect if called before Create().
| virtual const char* vtkKWPresetSelector::GetGroupColumnTitle | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::SetPresetComment | ( | int | id, | |
| const char * | comment | |||
| ) | [virtual] |
Set/Get the comment associated to a preset. This provide a way to create a small description or comment for each preset. The comment field is displayed as a column by default, but this can be changed using the SetCommentColumnVisibility() method. This column can be edited by default, by double-clicking on the corresponding table cell. Return 1 on success, 0 on error
| virtual const char* vtkKWPresetSelector::GetPresetComment | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetCommentColumnVisibility | ( | int | ) | [virtual] |
Set/Get the visibility of the comment column. No effect if called before Create().
| virtual int vtkKWPresetSelector::GetCommentColumnVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::CommentColumnVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::CommentColumnVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::SetPresetFileName | ( | int | id, | |
| const char * | filename | |||
| ) | [virtual] |
Set/Get the filename associated to a preset. This field is neither used nor displayed in this implementation but is provided for subclasses that need to save preset to disks and keep track of the corresponding filename. A method is available to retrieve the Id of the preset that has been assigned a specific filename (if passed a relative name, compare the filenames without their paths). Return 1 on success, 0 on error (id on success, -1 otherwise)
| virtual const char* vtkKWPresetSelector::GetPresetFileName | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetIdOfPresetWithFileName | ( | const char * | filename | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual vtkTypeInt64 vtkKWPresetSelector::GetPresetCreationTime | ( | int | id | ) | [virtual] |
Get the creation time of a preset, as returned by the vtksys::SystemTools::GetTime() method, but in milliseconds. This field is not displayed in this implementation, but is used internally in the thumbnail column so that sorting by "thumbnail" will actually sort by creation time. Return 0 on error.
| virtual vtkKWIcon* vtkKWPresetSelector::GetPresetThumbnail | ( | int | id | ) | [virtual] |
Set/Get the thumbnail and screenshot associated to a preset. The thumbnail is displayed in the thumbnail column, and the screenshot is displayed as a pop-up when the user hovers over that thumbnail. The thumbnail field is not displayed as a column by default, but this can be changed using the SetThumbnailColumnVisibility() method. Note that the vtkKWIcon object passed as parameter is neither stored nor Register()'ed, only a copy is stored (and updated each time the Set... method is called later on).
| virtual int vtkKWPresetSelector::SetPresetThumbnail | ( | int | id, | |
| vtkKWIcon * | icon | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual vtkKWIcon* vtkKWPresetSelector::GetPresetScreenshot | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::SetPresetScreenshot | ( | int | id, | |
| vtkKWIcon * | icon | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetThumbnailColumnVisibility | ( | int | ) | [virtual] |
Set/Get the visibility of the thumbnail column. No effect if called before Create().
| virtual int vtkKWPresetSelector::GetThumbnailColumnVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::ThumbnailColumnVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::ThumbnailColumnVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::BuildPresetThumbnailAndScreenshotFromImage | ( | int | id, | |
| vtkImageData * | image | |||
| ) | [virtual] |
Build both the thumbnail and screenshot for a specific preset using a vtkImageData. The thumbnail is constructed by resampling the image to fit the ThumbnailSize constraint. The screenshot is constructed by resampling the image to fit the ScreenshotSize constraint. This method is typically useful to build both thumbnail and screenshot from a single larger image (or screenshot). A similar method can be passed a vtkRenderWindow instead of a vtkImageData; in that case, the window contents is grabbed and used to build both thumbnail and screenshot. Both thumbnail and screenshot icons can be retrieved. Return 1 on success, 0 on error
| virtual int vtkKWPresetSelector::BuildPresetThumbnailAndScreenshotFromRenderWindow | ( | int | id, | |
| vtkRenderWindow * | win | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::FlipPresetThumbnailAndScreenshotVertically | ( | int | id | ) | [virtual] |
Flip the thumbnail and screenshot vertically for a specific preset Return 1 on success, 0 on error
| virtual void vtkKWPresetSelector::SetThumbnailSize | ( | int | ) | [virtual] |
Set/Get the thumbnail size. Changing the size will not resize the current thumbnails, but will affect the presets added to the selector later on using the BuildPresetThumbnailAndScreenshotFromImage method.
| virtual int vtkKWPresetSelector::GetThumbnailSize | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetScreenshotSize | ( | int | ) | [virtual] |
Set/Get the screenshot size, i.e. the image that appears as a popup when the mouse is on top of the thumbnail. Changing the size will not resize the current screenshots, but will affect the presets added to the selector later on using the BuildPresetThumbnailAndScreenshotFromImage method.
| virtual int vtkKWPresetSelector::GetScreenshotSize | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::HasPresetUserSlot | ( | int | id, | |
| const char * | slot_name | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetPresetUserSlotType | ( | int | id, | |
| const char * | slot_name | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::DeletePresetUserSlot | ( | int | id, | |
| const char * | slot_name | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::SetPresetUserSlotAsDouble | ( | int | id, | |
| const char * | slot_name, | |||
| double | value | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual double vtkKWPresetSelector::GetPresetUserSlotAsDouble | ( | int | id, | |
| const char * | slot_name | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::SetPresetUserSlotAsInt | ( | int | id, | |
| const char * | slot_name, | |||
| int | value | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetPresetUserSlotAsInt | ( | int | id, | |
| const char * | slot_name | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::SetPresetUserSlotAsUnsignedLong | ( | int | id, | |
| const char * | slot_name, | |||
| unsigned long | value | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual unsigned long vtkKWPresetSelector::GetPresetUserSlotAsUnsignedLong | ( | int | id, | |
| const char * | slot_name | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::SetPresetUserSlotAsInt64 | ( | int | id, | |
| const char * | slot_name, | |||
| vtkTypeInt64 | value | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual vtkTypeInt64 vtkKWPresetSelector::GetPresetUserSlotAsInt64 | ( | int | id, | |
| const char * | slot_name | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::SetPresetUserSlotAsString | ( | int | id, | |
| const char * | slot_name, | |||
| const char * | value | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetPresetUserSlotAsString | ( | int | id, | |
| const char * | slot_name | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::SetPresetUserSlotAsPointer | ( | int | id, | |
| const char * | slot_name, | |||
| void * | ptr | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void* vtkKWPresetSelector::GetPresetUserSlotAsPointer | ( | int | id, | |
| const char * | slot_name | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::SetPresetUserSlotAsObject | ( | int | id, | |
| const char * | slot_name, | |||
| vtkObject * | obj | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual vtkObject* vtkKWPresetSelector::GetPresetUserSlotAsObject | ( | int | id, | |
| const char * | slot_name | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetGroupSlotName | ( | const char * | ) | [virtual] |
Most (if not all) of the information associated to a preset (say group, comment, filename, creation time, thumbnail and screenshot) is stored under the hood as user slots using the corresponding API (i.e. Set/GetPresetUserSlotAs...()). Since each slot requires a unique name, the following methods are provided to retrieve the slot name for the default preset fields. This can be useful to avoid collision between the default slots and your own user slots. Note that the default slot names can be changed too, but doing so will not transfer the value stored at the old slot name to the new slot name (it is up to you to do so, if needed).
| virtual const char* vtkKWPresetSelector::GetPresetGroupSlotName | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetCommentSlotName | ( | const char * | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetPresetCommentSlotName | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetFileNameSlotName | ( | const char * | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetPresetFileNameSlotName | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetCreationTimeSlotName | ( | const char * | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetPresetCreationTimeSlotName | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetThumbnailSlotName | ( | const char * | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetPresetThumbnailSlotName | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetScreenshotSlotName | ( | const char * | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetPresetScreenshotSlotName | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::ClearPresetFilter | ( | ) | [virtual] |
Set/Get the preset filter constraints. The preset filter is a set of constraints that a preset has to match to be visible in the preset list. Only string and int slots are supported at the moment. At the moment, constraints are expressed as string values (default) or regular expressions that have to match specific user slots. An unlimited number of constraints can be added. For example, if 'slot_name' is 'Modality', and 'value' is 'CT', then only those presets which have a 'Modality' user slot with a string value of 'CT' will be displayed. Note that the constraint type can be changed from regular expression to plain character-for-character string comparison using either SetPresetFilterUserSlotConstraintToRegularExpression or SetPresetFilterUserSlotConstraintToString; however the constraint needs to exist for that slot name for this change to be made. When one constraint is added, its default type is String, not RegularExpression. Use a NULL value for to remove the constraint on a specific slot or call DeletePresetFilterUserSlotConstraint
| virtual void vtkKWPresetSelector::SetPresetFilterUserSlotConstraint | ( | const char * | slot_name, | |
| const char * | value | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetPresetFilterUserSlotConstraint | ( | const char * | slot_name | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::DeletePresetFilterUserSlotConstraint | ( | const char * | slot_name | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetFilterUserSlotConstraintToRegularExpression | ( | const char * | slot_name | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetFilterUserSlotConstraintToString | ( | const char * | slot_name | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetFilterGroupConstraint | ( | const char * | value | ) | [virtual] |
Add a preset filter constraint on the preset group field.
| virtual const char* vtkKWPresetSelector::GetPresetFilterGroupConstraint | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::IsPresetFiltered | ( | int | id | ) | [virtual] |
Query if a given preset matches the current preset filter constraints. Return 1 if match or if no filter was defined, 0 otherwise
Reimplemented in vtkKWVolumePropertyPresetSelector.
| virtual int vtkKWPresetSelector::GetNumberOfPresets | ( | ) | [virtual] |
Get the number of presets, or the number of presets with a specific group, or the number of visible presets, i.e. the presets that are displayed according to the preset filters for example.
| virtual int vtkKWPresetSelector::GetNumberOfPresetsWithGroup | ( | const char * | group | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetNumberOfVisiblePresets | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetMaximumNumberOfPresets | ( | ) | [virtual] |
Set/Get the maximum number of presets. When this number is passed, the oldest preset (according to the PresetCreationTime) is deleted automatically. Set it to 0 (default) to allow for unlimited number of presets.
| virtual void vtkKWPresetSelector::SetMaximumNumberOfPresets | ( | int | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetPresetVisibility | ( | int | id | ) | [virtual] |
Query if a given preset is visible (i.e. displayed in the list). Some presets can be hidden, for example if they do not match the current preset filter constraints.
| virtual int vtkKWPresetSelector::GetIdOfNthPreset | ( | int | index | ) | [virtual] |
Retrieve the Id of the nth-preset, or the id of the nth preset with a given group. Return id on success, -1 otherwise
| virtual int vtkKWPresetSelector::GetIdOfNthPresetWithGroup | ( | int | index, | |
| const char * | group | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetIdOfPresetAtRow | ( | int | row_index | ) | [virtual] |
Retrieve the Id of the preset at a given row in the table, or the row of a given preset. Return id or row index on success, -1 otherwise
| virtual int vtkKWPresetSelector::GetPresetRow | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetRankOfNthPresetWithGroup | ( | int | index, | |
| const char * | group | |||
| ) | [virtual] |
Retrieve the rank of the nth preset with a given group (i.e. the nth-preset with a given group). This rank can then be used to retrieve the preset id using the GetIdOfNthPreset() method. Return rank on success, -1 otherwise
| virtual int vtkKWPresetSelector::RemovePreset | ( | int | id | ) | [virtual] |
Remove a preset, or all of them, or all of the presets with the same group. Return 1 on success, 0 on error
| virtual int vtkKWPresetSelector::RemoveAllPresets | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::RemoveAllPresetsWithGroup | ( | const char * | group | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SelectPreset | ( | int | id | ) | [virtual] |
Select a preset, clear the selection.
| virtual void vtkKWPresetSelector::SelectPreviousPreset | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SelectNextPreset | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::ClearSelection | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetIdOfSelectedPreset | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetListHeight | ( | int | ) | [virtual] |
Set/Get the list height (in number of items) or width (in chars) No effect if called before Create().
| virtual int vtkKWPresetSelector::GetListHeight | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetListWidth | ( | int | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetListWidth | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual vtkKWIcon* vtkKWPresetSelector::GetPresetButtonsBaseIcon | ( | ) | [virtual] |
Set/Get the base icons to use for the preset buttons (and the toolbar). The base icon has to be in RGBA format, and will be composited against a few different smaller icons to represent each action; for example, a '+' sign will be composited on top of the base icon for the "Add Preset" button.
| virtual void vtkKWPresetSelector::SetPresetButtonsBaseIcon | ( | vtkKWIcon * | icon | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetButtonsBaseIconToPredefinedIcon | ( | int | icon_index | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetSelectSpinButtonsVisibility | ( | int | ) | [virtual] |
Set/Get the visibility of the select spin buttons. The select spin button are two buttons that can be used to select the next or previous preset in the list. Note that if ApplyPresetOnSelection is On, this will also apply the preset at the same time, thus providing a quick way to loop over all presets and apply them.
| virtual int vtkKWPresetSelector::GetSelectSpinButtonsVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SelectSpinButtonsVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SelectSpinButtonsVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetLocateButtonVisibility | ( | int | ) | [virtual] |
Set/Get the visibility of the locate preset button and the "Locate" menu entry in the context menu (hidden by default). If visible, triggering this button will locate all selected presets by calling the GetPresetFileName method and trying to open the directory they are in and select the proper file. Win32 only at the moment.
| virtual int vtkKWPresetSelector::GetLocateButtonVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::LocateButtonVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::LocateButtonVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetLocateMenuEntryVisibility | ( | int | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetLocateMenuEntryVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::LocateMenuEntryVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::LocateMenuEntryVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetEmailButtonVisibility | ( | int | ) | [virtual] |
Set/Get the visibility of the email preset button and the "Email" menu entry in the context menu (hidden by default). If visible, triggering this button will email all selected presets as attachments. The attachment location is retrieved by calling the GetPresetFileName method. Win32/MAPI only at the moment.
| virtual int vtkKWPresetSelector::GetEmailButtonVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::EmailButtonVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::EmailButtonVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetEmailMenuEntryVisibility | ( | int | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetEmailMenuEntryVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::EmailMenuEntryVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::EmailMenuEntryVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetEmailBody | ( | const char * | ) | [virtual] |
Set/Get the body of the email that will be sent alongside the attached preset when the "Email Preset" button or menu entry is triggered. Note that it will still appear after a shot paragraph describing which application sent that preset, the location of the preset on the sender's computer, the comment associated to the preset and its creation time.
| virtual char* vtkKWPresetSelector::GetEmailBody | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetRemoveButtonVisibility | ( | int | ) | [virtual] |
Set/Get the visibility of the remove preset button or the "Remove" entry in the context menu (visible by default). If visible, triggering this button will remove all selected presets and eventually call the callbacks that was set using SetPresetRemoveCommand.
| virtual int vtkKWPresetSelector::GetRemoveButtonVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::RemoveButtonVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::RemoveButtonVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetRemoveMenuEntryVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetRemoveMenuEntryVisibility | ( | int | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::RemoveMenuEntryVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::RemoveMenuEntryVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetFilterButtonVisibility | ( | int | ) | [virtual] |
Set/Get the visibility of the filter button (hidden by default). If visible, clicking on this button will bring the a popup menu presenting all the unique values that were collected in the FilterButtonSlotName slot for all presets. Each one can be turn on and off, which will update the PresetFilterUserSlotConstraint automatically for that slot.
| virtual int vtkKWPresetSelector::GetFilterButtonVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::FilterButtonVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::FilterButtonVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetFilterButtonSlotName | ( | const char * | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual char* vtkKWPresetSelector::GetFilterButtonSlotName | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetHelpLabelVisibility | ( | int | ) | [virtual] |
Set/Get the visibility of the help message.
| virtual int vtkKWPresetSelector::GetHelpLabelVisibility | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::HelpLabelVisibilityOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::HelpLabelVisibilityOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual vtkKWLabelWithLabel* vtkKWPresetSelector::GetHelpLabel | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetHelpLabelText | ( | const char * | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetAddCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies a command to associate with the widget. This command is typically invoked when the "add preset" button is pressed. This gives the opportunity for the application to check and collect the relevant information to store in a new preset. The application is then free to add the preset (using the AddPreset() method) and set its fields independently (using the SetPresetGroup(), SetPresetComment(), SetPreset...() methods). Note that if not set, the "add preset" button is not visible. 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. The following output is expected from the command: - the unique id of the preset that was added (by calling AddPreset()), -1 otherwise
| virtual void vtkKWPresetSelector::SetPresetUpdateCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies a command to associate with the widget. This command is typically invoked when the "update selected preset" button is pressed. This gives the opportunity for the application to check and collect the relevant information to update in the preset. The application is then free to update the preset's fields independently (using the SetPresetGroup(), SetPresetComment(), SetPreset...() methods). Note that if this command is not set, the corresponding "update selected preset" button is not visible. Note that if this command is not set, the corresponding "Update" entry is not shown in the context menu. 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. The following parameters are also passed to the command: - the id of the preset to update: int
| virtual void vtkKWPresetSelector::SetPresetApplyCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies a command to associate with the widget. This command is typically invoked when the "apply selected preset" button is pressed, or when ApplyPresetOnSelection is On and the user applies a preset by selecting it directly. This gives the opportunity for the application to query the preset's fields independently (using the GetPresetGroup(), GetPresetComment(), GetPreset...() methods) and apply those values to the relevant objects. Note that if this command is not set or if ApplyPresetOnSelection is On, the corresponding "apply selected preset" button is not visible. Note that if this command is not set, the corresponding "Apply" entry is not shown in the context menu. 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. The following parameters are also passed to the command: - the id of the preset to apply: int
| virtual void vtkKWPresetSelector::SetApplyPresetOnSelection | ( | int | ) | [virtual] |
Set/Get if a preset should be applied directly when it is selected by a single-click, or only when the "apply selected preset" button is pressed. If set, only one preset can be selected at a time (if not, multiple preset can be selected, and removed for example). Note that if set, the "apply selected preset" button is not visible.
| virtual int vtkKWPresetSelector::GetApplyPresetOnSelection | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::ApplyPresetOnSelectionOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::ApplyPresetOnSelectionOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetRemoveCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies a command to associate with the widget. This command is typically invoked when the "remove selected preset" button is pressed. This command is called *before* the preset is removed from the pool: this gives the opportunity for the application to query the preset's fields independently (using the GetPresetGroup(), GetPresetComment(), GetPreset...() methods), decide if the preset should be removed or not, and delete it from its internal structures accordingly, if needed. 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. The following parameters are also passed to the command: - the id of the preset to remove: int The following output is expected from the command: - whereas the preset is really to be removed (1) or not (0): int
| virtual void vtkKWPresetSelector::SetPresetRemovedCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies a command to associate with the widget. This command is typically invoked when a preset has been removed as a result of pressing the "remove selected preset" button. As opposed to the PresetRemoveCommand, this command is called *after* the preset is removed from the pool and only if it has been removed (its Id is therefore not passed to the callback as a parameter). Do not confuse this command with PresetRemoveCommand which gives the opportunity for the application to decide if the preset should be removed or not. 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 void vtkKWPresetSelector::SetPromptBeforeRemovePreset | ( | int | ) | [virtual] |
Set/Get if the user should be prompted before removing one or more presets using "remove selected preset" button.
| virtual int vtkKWPresetSelector::GetPromptBeforeRemovePreset | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PromptBeforeRemovePresetOn | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PromptBeforeRemovePresetOff | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetPresetHasChangedCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies a command to associate with the widget. This command is typically invoked when the preset has been changed using direct user-interaction on the widget interface. This includes double-clicking on a table cell (the comment field for example) and editing the contents of the cell directly, when allowed. This gives the opportunity for the application to query the preset's fields independently (using the GetPresetGroup(), GetPresetComment(), GetPreset...() methods), and update its internal structures accordingly, if needed. 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. The following parameters are also passed to the command: - the id of the preset that has changed: int
| virtual void vtkKWPresetSelector::SetPresetLoadCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies a command to associate with the widget. This command is typically invoked when the "load preset" button is pressed. This gives the opportunity for the application to invoke a file dialog, let the user pick a preset file, load it and collect the relevant information to store in a new preset. The application is then free to add the preset (using the AddPreset() method) and set its fields independently (using the SetPresetGroup(), SetPresetComment(), SetPreset...() methods). Note that if not set, the "load preset" button is not visible. 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. The following output is expected from the command: - the unique id of the preset that was loaded and added (by calling AddPreset()), -1 otherwise
| virtual void vtkKWPresetSelector::SetPresetFilteringHasChangedCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies a command to associate with the widget. This command is typically invoked when the preset filtering has changed, i.e. a filter constraint has been added/removed (see, ClearPresetFilter or SetPresetFilterUserSlotConstraint). 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 void vtkKWPresetSelector::Update | ( | ) | [virtual] |
Refresh the interface.
| virtual void vtkKWPresetSelector::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 vtkKWPresetSelector::PresetCellThumbnailCallback | ( | const char * | , | |
| int | , | |||
| int | , | |||
| const char * | ||||
| ) | [virtual] |
Callback used to refresh the contents of the image cell for each preset
| virtual const char* vtkKWPresetSelector::PresetCellEditStartCallback | ( | int | row, | |
| int | col, | |||
| const char * | text | |||
| ) | [virtual] |
Callback invoked when the user starts editing a specific preset field located at cell ('row', 'col'), which current contents is 'text'. This method returns the value that is to become the initial contents of the temporary embedded widget used for editing: most of the time, this is the same value as 'text'. The next step (validation) is handled by PresetCellEditEndCallback
Reimplemented in vtkKWDirectoryPresetSelector.
| virtual const char* vtkKWPresetSelector::PresetCellEditEndCallback | ( | int | row, | |
| int | col, | |||
| const char * | text | |||
| ) | [virtual] |
Callback invoked when the user ends editing a specific preset field located at cell ('row', 'col'). The main purpose of this method is to perform a final validation of the edit window's contents 'text'. This method returns the value that is to become the new contents for that cell. The next step (updating) is handled by PresetCellUpdateCallback
Reimplemented in vtkKWDirectoryPresetSelector, and vtkKWWindowLevelPresetSelector.
| virtual void vtkKWPresetSelector::PresetCellUpdatedCallback | ( | int | row, | |
| int | col, | |||
| const char * | text | |||
| ) | [virtual] |
Callback invoked when the user successfully updated the preset field located at ('row', 'col') with the new contents 'text', as a result of editing the corresponding cell interactively.
Reimplemented in vtkKWDirectoryPresetSelector, and vtkKWWindowLevelPresetSelector.
| virtual vtkKWToolbar* vtkKWPresetSelector::GetToolbar | ( | ) | [virtual] |
Retrieve the toolbar. Use that method to set the parent of this object to a specific widget or toolbar set (vtkKWToolbarSet), before calling CreateToolbar.
| virtual void vtkKWPresetSelector::CreateToolbar | ( | ) | [virtual] |
Create the toolbar. If the toolbar has to be placed in a specific location in the application, call the GetToolbar method and set the toolbar parent beforehand.
| virtual int vtkKWPresetSelector::PresetAddCallback | ( | ) | [virtual] |
Callbacks. Internal, do not use.
| virtual void vtkKWPresetSelector::PresetApplyCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetApplyCallback | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetUpdateCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetUpdateCallback | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetRemoveCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetRemoveAllCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetRemoveCallback | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetEmailCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetEmailCallback | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetLocateCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetLocateCallback | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetSelectionCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetSelectionChangedCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetRightClickCallback | ( | int | row, | |
| int | col, | |||
| int | x, | |||
| int | y | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::PresetLoadCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetFilterCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::PresetFilterApplyCallback | ( | const char * | regexp | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::UpdatePresetRowCallback | ( | int | id | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::UpdatePresetRowsCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::ColumnSortedCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::RowMovedCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SchedulePresetSelectionCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SchedulePresetSelectionChangedCallback | ( | ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual vtkKWMultiColumnListWithScrollbars* vtkKWPresetSelector::GetPresetList | ( | ) | [virtual] |
Access to the internal multicolumn list. This is temporary, this internal widget may change.
| virtual void vtkKWPresetSelector::SetCreateUserPresetButtonsCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Set the callbacks to be used to create, update, and set the icons and help strings on user-defined buttons. These callbacks can be used to add buttons to the preset selector toolbar(s), without subclassing it. 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. Note that each callback will receive the following parameters: CreateUserPresetButtonsCommand: vtkKWToolbar *toolbar, int use_separators UpdateUserPresetButtonsCommand: vtkKWToolbar *toolbar SetUserPresetButtonsIconsCommand: vtkKWToolbar *toolbar SetUserPresetButtonsHelpStringsCommand: vtkKWToolbar *toolbar
| virtual void vtkKWPresetSelector::SetUpdateUserPresetButtonsCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetSetUserPresetButtonsIconsCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetSetUserPresetButtonsHelpStringsCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::CreateWidget | ( | ) | [protected, virtual] |
Create the widget.
Reimplemented from vtkKWCompositeWidget.
Reimplemented in vtkKWColorPresetSelector, and vtkKWDirectoryPresetSelector.
| virtual void vtkKWPresetSelector::CreateColumns | ( | ) | [protected, virtual] |
Create the columns. Subclasses should override this method to add their own columns and display their own preset fields (do not forget to call the superclass first).
Reimplemented in vtkKWColorPresetSelector, vtkKWDirectoryPresetSelector, vtkKWVolumePropertyPresetSelector, and vtkKWWindowLevelPresetSelector.
| virtual void vtkKWPresetSelector::CreateToolbarPresetButtons | ( | vtkKWToolbar * | , | |
| int | use_separators | |||
| ) | [protected, virtual] |
Create the preset buttons in the toolbar. Subclasses should override this method to add their own toolbar buttons (do not forget to call the superclass first).
| virtual void vtkKWPresetSelector::UpdateToolbarPresetButtons | ( | vtkKWToolbar * | ) | [protected, virtual] |
Update the toolbar preset buttons state/visibility.
Reimplemented in vtkKWVolumePropertyPresetSelector.
| virtual void vtkKWPresetSelector::SetToolbarPresetButtonsIcons | ( | vtkKWToolbar * | ) | [protected, virtual] |
Set the toolbar preset buttons icons. Subclasses should override this method to set their own icons (do not forget to call the superclass first).
| virtual void vtkKWPresetSelector::SetToolbarPresetButtonsHelpStrings | ( | vtkKWToolbar * | ) | [protected, virtual] |
Set the toolbar preset buttons balloon help strings Subclass can override this method to change the help strings associated to the buttons.
| virtual void vtkKWPresetSelector::ConfigureNewPreset | ( | int | id | ) | [protected, virtual] |
Configure a new preset. Subclasses should override this method to configure a newly allocated preset, i.e. assign its internal values (do not forget to call the superclass first).
| virtual void vtkKWPresetSelector::DeAllocatePreset | ( | int | id | ) | [protected, virtual] |
Deallocate a preset. Subclasses should override this method to release the memory allocated by their own preset fields (do not forget to call the superclass first).
| virtual int vtkKWPresetSelector::UpdatePresetRow | ( | int | id | ) | [protected, virtual] |
Update the preset row, i.e. add a row for that preset if it is not displayed already, hide it if it does not match the filters, and update the table columns with the corresponding preset fields. Subclass should override this method to display their own fields. Return 1 on success, 0 if the row was not (or can not be) updated. Subclasses should call the parent's UpdatePresetRow, and abort if the result is not 1.
Reimplemented in vtkKWColorPresetSelector, vtkKWDirectoryPresetSelector, vtkKWVolumePropertyPresetSelector, and vtkKWWindowLevelPresetSelector.
| virtual void vtkKWPresetSelector::ScheduleUpdatePresetRow | ( | int | id | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::UpdatePresetRowInMultiColumnList | ( | int | id, | |
| int | is_new = 0 | |||
| ) | [protected, virtual] |
Update the preset row itself in the list, i.e. add or remove a row for a specific preset id in the multicolumn list. UpdatePresetRow() and/or ScheduleUpdatePresetRow() will call this function first, then add the contents of the row itself. Pass/set is_new to 1 if you are sure the preset is new and was never inserted in the list. Return row index on success (can be 0), -1 otherwise.
| virtual void vtkKWPresetSelector::NumberOfPresetsHasChanged | ( | ) | [protected, virtual] |
Called when the number of presets has changed. Note that the name of this function can be a bit misleading: if MaximumNumberOfPresets is set to a positive number, and the max has been reached, this function will *still* be called twice, once when the max is passed as a result of adding a preset, and then another time when a preset is automatically deleted to get back to the maximum value (which is, in most case, what you want to know anyway).
| virtual void vtkKWPresetSelector::PresetFilteringHasChanged | ( | ) | [protected, virtual] |
Called when preset filtering has changed, i.e. a filter constraint has been added/removed (see, ClearPresetFilter or SetPresetFilterUserSlotConstraint).
| virtual void vtkKWPresetSelector::PresetFilteringMayHaveChanged | ( | ) | [protected, virtual] |
Called when preset filtering *may* have changed, the value of a slot has changed and that slot was filtered (i.e. had a constraint put on it using SetPresetFilterUserSlotConstraint), therefore it is possible that preset maybe pass or not pass the filter anymore (IsPresetFiltered).
| virtual void vtkKWPresetSelector::UpdatePresetRows | ( | ) | [protected, virtual] |
Update all rows in the list
| virtual void vtkKWPresetSelector::ScheduleUpdatePresetRows | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::CancelScheduleUpdatePresetRows | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::InvokePresetAddCommand | ( | ) | [protected, virtual] |
Reimplemented in vtkKWColorPresetSelector.
| virtual void vtkKWPresetSelector::InvokePresetUpdateCommand | ( | int | id | ) | [protected, virtual] |
Reimplemented in vtkKWColorPresetSelector.
| virtual void vtkKWPresetSelector::InvokePresetApplyCommand | ( | int | id | ) | [protected, virtual] |
| virtual int vtkKWPresetSelector::InvokePresetRemoveCommand | ( | int | id | ) | [protected, virtual] |
| virtual void vtkKWPresetSelector::InvokePresetRemovedCommand | ( | ) | [protected, virtual] |
Reimplemented in vtkKWColorPresetSelector.
| virtual void vtkKWPresetSelector::InvokePresetHasChangedCommand | ( | int | id | ) | [protected, virtual] |
Reimplemented in vtkKWColorPresetSelector.
| virtual int vtkKWPresetSelector::InvokePresetLoadCommand | ( | ) | [protected, virtual] |
| virtual void vtkKWPresetSelector::InvokePresetFilteringHasChangedCommand | ( | ) | [protected, virtual] |
| virtual void vtkKWPresetSelector::InvokeCreateUserPresetButtonsCommand | ( | vtkKWToolbar * | , | |
| int | ||||
| ) | [protected, virtual] |
| virtual void vtkKWPresetSelector::InvokeUpdateUserPresetButtonsCommand | ( | vtkKWToolbar * | ) | [protected, virtual] |
| virtual void vtkKWPresetSelector::InvokeSetUserPresetButtonsIconsCommand | ( | vtkKWToolbar * | ) | [protected, virtual] |
| virtual void vtkKWPresetSelector::InvokeSetUserPresetButtonsHelpStringsCommand | ( | vtkKWToolbar * | ) | [protected, virtual] |
| virtual int vtkKWPresetSelector::GetIdColumnIndex | ( | ) | [protected, virtual] |
Get the index of a given column.
| virtual int vtkKWPresetSelector::GetThumbnailColumnIndex | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetGroupColumnIndex | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::GetCommentColumnIndex | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::Pack | ( | ) | [protected, virtual] |
Pack
| virtual void vtkKWPresetSelector::PopulatePresetContextMenu | ( | vtkKWMenu * | menu, | |
| int | id | |||
| ) | [protected, virtual] |
Populate the pop-up context menu that is displayed when right-clicking on a give preset. It should replicate the commands available through the preset buttons.
Reimplemented in vtkKWVolumePropertyPresetSelector.
| virtual const char* vtkKWPresetSelector::GetSelectPreviousButtonLabel | ( | ) | [protected, virtual] |
Access to the button label
| virtual const char* vtkKWPresetSelector::GetSelectNextButtonLabel | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetAddButtonLabel | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetApplyButtonLabel | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetUpdateButtonLabel | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetRemoveButtonLabel | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetRemoveAllButtonLabel | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetLocateButtonLabel | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetEmailButtonLabel | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetLoadButtonLabel | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual const char* vtkKWPresetSelector::GetFilterButtonLabel | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual int vtkKWPresetSelector::DeleteAllPresets | ( | ) | [protected, virtual] |
Delete all presets, i.e. deallocate all presets and remove them from the pool. Does not delete/remove any rows, see RemoveAllPresets() to both delete all presets and update the table accordingly. Return the number of presets deleted
| virtual int vtkKWPresetSelector::GetNumberOfSelectedPresetsWithFileName | ( | ) | [protected, virtual] |
Return the number of selected presets with filename
| virtual void vtkKWPresetSelector::SetPresetIdToRowIndexCacheEntry | ( | int | id, | |
| int | row_index | |||
| ) | [protected, virtual] |
Manage the preset Id to row index cache.
| virtual int vtkKWPresetSelector::GetPresetIdToRowIndexCacheEntry | ( | int | id | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::InvalidatePresetIdToRowIndexCache | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::SetRowIndexToPresetIdCacheEntry | ( | int | row_index, | |
| int | id | |||
| ) | [protected, virtual] |
Manage the row index to preset Id cache.
| virtual int vtkKWPresetSelector::GetRowIndexToPresetIdCacheEntry | ( | int | row_index | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::InvalidateRowIndexToPresetIdCache | ( | ) | [protected, virtual] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
| virtual void vtkKWPresetSelector::ProcessCallbackCommandEvents | ( | vtkObject * | caller, | |
| unsigned long | event, | |||
| void * | calldata | |||
| ) | [protected, virtual] |
Processes the events that are passed through CallbackCommand (or others). Subclasses can oberride this method to process their own events, but should call the superclass too.
Reimplemented from vtkKWObject.
| virtual void vtkKWPresetSelector::ConstrainNumberOfPresets | ( | ) | [protected, virtual] |
Constrain the number of presets (given MaximumNumberOfPresets).
| virtual int vtkKWPresetSelector::SetPresetCreationTime | ( | int | id, | |
| vtkTypeInt64 | value | |||
| ) | [protected, virtual] |
Set the creation time of a preset. Not a public method, but subclass may have a need to set it manually, say if the presets are serialized to disk, one may want to load/bring them back with the same creation time as when they were first created. Return 0 on error.
const char* vtkKWPresetSelector::IdColumnName [static] |
Some constants BTX
Definition at line 694 of file vtkKWPresetSelector.h.
const char* vtkKWPresetSelector::ThumbnailColumnName [static] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 695 of file vtkKWPresetSelector.h.
const char* vtkKWPresetSelector::GroupColumnName [static] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 696 of file vtkKWPresetSelector.h.
const char* vtkKWPresetSelector::CommentColumnName [static] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 697 of file vtkKWPresetSelector.h.
Definition at line 820 of file vtkKWPresetSelector.h.
vtkKWFrame* vtkKWPresetSelector::PresetControlFrame [protected] |
Definition at line 821 of file vtkKWPresetSelector.h.
vtkKWToolbar* vtkKWPresetSelector::PresetButtons [protected] |
Definition at line 822 of file vtkKWPresetSelector.h.
vtkKWToolbar* vtkKWPresetSelector::Toolbar [protected] |
Definition at line 823 of file vtkKWPresetSelector.h.
vtkKWLabelWithLabel* vtkKWPresetSelector::HelpLabel [protected] |
Definition at line 824 of file vtkKWPresetSelector.h.
vtkKWMenu* vtkKWPresetSelector::ContextMenu [protected] |
Definition at line 825 of file vtkKWPresetSelector.h.
vtkKWIcon* vtkKWPresetSelector::PresetButtonsBaseIcon [protected] |
Definition at line 826 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::ApplyPresetOnSelection [protected] |
Definition at line 829 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::SelectSpinButtonsVisibility [protected] |
Definition at line 830 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::EmailButtonVisibility [protected] |
Definition at line 831 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::EmailMenuEntryVisibility [protected] |
Definition at line 832 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::LocateButtonVisibility [protected] |
Definition at line 833 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::LocateMenuEntryVisibility [protected] |
Definition at line 834 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::RemoveButtonVisibility [protected] |
Definition at line 835 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::RemoveMenuEntryVisibility [protected] |
Definition at line 836 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::HelpLabelVisibility [protected] |
Definition at line 837 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::FilterButtonVisibility [protected] |
Definition at line 838 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::ThumbnailSize [protected] |
Definition at line 840 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::ScreenshotSize [protected] |
Definition at line 841 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::PromptBeforeRemovePreset [protected] |
Definition at line 842 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::MaximumNumberOfPresets [protected] |
Definition at line 843 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::EmailBody [protected] |
Definition at line 845 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::FilterButtonSlotName [protected] |
Definition at line 846 of file vtkKWPresetSelector.h.
vtkKWPresetSelectorInternals* vtkKWPresetSelector::Internals [protected] |
PIMPL Encapsulation for STL containers
Reimplemented from vtkKWCoreWidget.
Reimplemented in vtkKWVolumePropertyPresetSelector, and vtkKWWindowLevelPresetSelector.
Definition at line 871 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::PresetAddCommand [protected] |
Definition at line 881 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::PresetUpdateCommand [protected] |
Definition at line 884 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::PresetApplyCommand [protected] |
Definition at line 887 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::PresetRemoveCommand [protected] |
Definition at line 890 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::PresetRemovedCommand [protected] |
Definition at line 893 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::PresetHasChangedCommand [protected] |
Definition at line 896 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::PresetLoadCommand [protected] |
Definition at line 899 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::PresetFilteringHasChangedCommand [protected] |
Definition at line 902 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::CreateUserPresetButtonsCommand [protected] |
Definition at line 905 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::UpdateUserPresetButtonsCommand [protected] |
Definition at line 908 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::SetUserPresetButtonsIconsCommand [protected] |
Definition at line 911 of file vtkKWPresetSelector.h.
char* vtkKWPresetSelector::SetUserPresetButtonsHelpStringsCommand [protected] |
Definition at line 914 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::SelectPreviousButtonId [static, protected] |
Some constants BTX
Definition at line 935 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::SelectNextButtonId [static, protected] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 936 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::AddButtonId [static, protected] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 937 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::ApplyButtonId [static, protected] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 938 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::UpdateButtonId [static, protected] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 939 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::RemoveButtonId [static, protected] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 940 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::LocateButtonId [static, protected] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 941 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::EmailButtonId [static, protected] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 942 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::LoadButtonId [static, protected] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 943 of file vtkKWPresetSelector.h.
int vtkKWPresetSelector::FilterButtonId [static, protected] |
Set/Get a preset user slot. An unlimited number of slots can be added to a preset. Each slot is identified by a name (string). Methods are provided to store and retrieve various types of data (double, int, string, generic pointer, pointer to vtkObject). Note a SetPresetUserSlotAsObject *does* call Register() on the object passed as parameter, and will call UnRegister() once it is time to remove/deallocate all presets (either automatically when this instance is deleted or programatically). Note that setting the value of a slot will automatically call ScheduleUpdatePresetRow for the specific preset if the value was different than the previous value. Return 1 on success, 0 on error BTX
Definition at line 944 of file vtkKWPresetSelector.h.
1.6.1