|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
virtual char * | GetXMLName () |
| The name assigned by the xml parser. More...
|
|
virtual char * | GetCommand () |
| The command name used to set the value on the server object. More...
|
|
virtual bool | GetInformationOnly () |
| Is InformationOnly is set to true, this property is used to get information from server instead of setting values. More...
|
|
virtual bool | GetRepeatable () |
| If repeatable, a property can have 1 or more values of the same kind. More...
|
|
virtual void | SetIsInternal (bool) |
| This ivar is configured when the xml file is read and is mainly useful to trigger a method call. More...
|
|
virtual bool | GetIsInternal () |
| This ivar is configured when the xml file is read and is mainly useful to trigger a method call. More...
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual vtkMTimeType | GetMTime () |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
void | PrintRevisions (ostream &) |
|
supports API using vtkDataArraySelection.
vtkSIDataArraySelectionProperty can be used to get/set array selection status parameters on a VTK object using vtkDataArraySelection. Readers typically offer API to get information about data array available as well as enable/disable arrays to read using a vtkDataArraySelection instance e.g. vtkXMLReader::GetPointDataArraySelection
. This si-property can be used on vtkSMStringVectorProperty instances that use such an API on the reader to both get array selection status as well as set them.
This offers a convenient replacement for vtkSIArraySelectionProperty which requires a quirky API on the VTK class to get/set similar information and is recommended over vtkSIArraySelectionProperty in new code.
To use vtkSIDataArraySelectionProperty, simply add this as the si_class
on the properties for getting and setting array selection with command
set to the method name that returns a mutable vtkDataArraySelection instance.
e.g.
<SourceProxy name="AMReXParticlesReader" class="vtkAMReXParticlesReader">
...
<StringVectorProperty name="PointArrayInfo"
command="GetPointDataArraySelection"
number_of_elements_per_command="2"
information_only="1"
si_class="vtkSIDataArraySelectionProperty" />
<StringVectorProperty name="PointArrayStatus"
command="GetPointDataArraySelection"
information_property="PointArrayInfo"
number_of_elements_per_command="2"
element_types="2 0"
repeat_command="1"
si_class="vtkSIDataArraySelectionProperty">
<ArraySelectionDomain name="array_list">
<RequiredProperties>
<Property function="ArrayList" name="PointArrayInfo" />
</RequiredProperties>
</ArraySelectionDomain>
<Documentation>Select the point arrays to read load.</Documentation>
</StringVectorProperty>
...
</SourceProxy>
vtkSIDataArraySelectionProperty can also be used for filters that use vtkDataArraySelection.
<SourceProxy class="vtkPassSelectedArrays" name="PassArrays">
...
<InputProperty name="Input" >
<InputArrayDomain name="point_arrays" attribute_type="point" optional="1" />
</InputProperty>
<StringVectorProperty
name="PointDataArraySelection"
command="GetPointDataArraySelection"
number_of_elements_per_command="1"
repeat_command="1"
si_class="vtkSIDataArraySelectionProperty">
<ArrayListDomain name="array_list" input_domain_name="point_arrays">
<RequiredProperties>
<Property name="Input" function="Input" />
</RequiredProperties>
</ArrayListDomain>
</StringVectorProperty>
...
</SourceProxy>
Definition at line 86 of file vtkSIDataArraySelectionProperty.h.