20 void PrintSelf(ostream& os, vtkIndent indent)
override;
24 vtkGetStringMacro ( Name );
25 vtkSetStringMacro ( Name );
27 vtkGetMacro ( RestoreSelectionState,
int);
28 vtkSetMacro ( RestoreSelectionState,
int);
40 virtual void AddOrUpdateTag (
const char *attribute,
const char *value,
int selected );
43 virtual void AddUniqueTag (
const char *attribute,
const char *value );
46 virtual int UpdateTag (
const char *attribute,
const char *value );
47 virtual int UpdateTag (
const char *attribute,
const char *value,
int selected );
97 int RestoreSelectionState;
virtual void DeleteTag(const char *attribute)
Deletes a column with the name matching "attribute" in the TagTable.
virtual int GetNumberOfTags()
Convenience method that returns the number of tags in TagTable.
virtual void AddOrUpdateTag(const char *attribute, const char *value)
Add a tag column to the TagTable.
virtual void AddOrUpdateTag(const char *attribute, const char *value, int selected)
Add a tag column to the TagTable.
std::map< std::string, int > TagSelectionTable
describes whether each attribute is selected or not.
virtual void AddUniqueTag(const char *attribute, const char *value)
Add a tag column to the TagTable.
static vtkTagTable * New()
The Usual vtk class functions.
virtual int UpdateTag(const char *attribute, const char *value)
Replace a tag column in the TagTable.
virtual void Initialize()
virtual void Copy(vtkTagTable *t)
vtkTagTable(const vtkTagTable &)
virtual const char * GetTagAttribute(int index)
Get the attribute at a particular index in the TagTable.
void operator=(const vtkTagTable &)
virtual const char * GetTagValue(int index)
Get the value of a tag in the TagTable.
virtual const char * GetTagValue(const char *attribute)
Get the value of a tag in the TagTable.
virtual void SelectTag(const char *attribute)
virtual int IsTagSelected(const char *attribute)
virtual int UpdateTag(const char *attribute, const char *value, int selected)
std::map< std::string, std::string > TagTable
describes attribute value pairs
virtual void ClearTagTable()
Clears all tags out of table.
virtual void DeselectTag(const char *attribute)
virtual int CheckTableForTag(const char *attribute, const char *value)
virtual int CheckTableForTag(const char *attribute)
Returns index of table for which tag exists, or returns -1.
void PrintSelf(ostream &os, vtkIndent indent) override