supports API using vtkDataArraySelection. More...
#include <vtkSIDataArraySelectionProperty.h>
Public Types | |
typedef vtkSIProperty | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
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 &) |
Static Public Member Functions | |
static vtkSIDataArraySelectionProperty * | New () |
static int | IsTypeOf (const char *type) |
static vtkSIDataArraySelectionProperty * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkSIProperty * | New () |
static int | IsTypeOf (const char *type) |
static vtkSIProperty * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static vtkTypeBool | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
static vtkObjectBase * | New () |
Protected Member Functions | |
vtkSIDataArraySelectionProperty () | |
~vtkSIDataArraySelectionProperty () override | |
bool | ReadXMLAttributes (vtkSIProxy *proxyhelper, vtkPVXMLElement *element) override |
Parse the xml for the property. More... | |
bool | Push (vtkSMMessage *, int) override |
Push a new state to the underneath implementation. More... | |
bool | Pull (vtkSMMessage *) override |
Pull the current state of the underneath implementation. More... | |
vtkDataArraySelection * | GetSelection () |
![]() | |
vtkSIProperty () | |
~vtkSIProperty () override | |
vtkSIObject * | GetSIObject (vtkTypeUInt32 globalid) |
Convenience method to obtain a vtkSIObject subclass given its global id. More... | |
virtual void | SetCommand (const char *) |
virtual void | SetXMLName (const char *) |
void | SaveValueToCache (vtkSMMessage *proxyStateUpdate, int offset) |
bool | ProcessMessage (vtkClientServerStream &stream) |
Interprets the message. More... | |
const vtkClientServerStream & | GetLastResult () |
Interprets the message. More... | |
vtkObjectBase * | GetVTKObject () |
Interprets the message. More... | |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Additional Inherited Members | |
![]() | |
char * | XMLName |
char * | Command |
bool | InformationOnly |
bool | Repeatable |
bool | IsInternal |
vtkWeakPointer< vtkSIProxy > | SIProxyObject |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
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.
vtkSIDataArraySelectionProperty can also be used for filters that use vtkDataArraySelection.
Definition at line 86 of file vtkSIDataArraySelectionProperty.h.
Definition at line 90 of file vtkSIDataArraySelectionProperty.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkSIProperty.
Reimplemented from vtkSIProperty.
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
|
overrideprotectedvirtual |
Parse the xml for the property.
Reimplemented from vtkSIProperty.
|
overrideprotectedvirtual |
Push a new state to the underneath implementation.
Reimplemented from vtkSIProperty.
|
overrideprotectedvirtual |
Pull the current state of the underneath implementation.
Reimplemented from vtkSIProperty.
|
protected |