|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
void | Update (vtkSMProperty *input) override |
| Called when the 'required-property' is modified. More...
|
|
vtkDataAssembly * | GetHierarchy () const |
| Returns vtkDataAssembly representing the hierarchy. More...
|
|
int | IsInDomain (vtkSMProperty *vtkNotUsed(property)) override |
| Is the (unchecked) value of the property in the domain? Overwritten by sub-classes. More...
|
|
int | SetDefaultValues (vtkSMProperty *, bool use_unchecked_values) override |
| A vtkSMProperty is often defined with a default value in the XML itself. More...
|
|
|
virtual vtkPVDataInformation * | GetInformation () |
| Get the vtkPVDataInformation which provides the tree structure for the composite dataset. More...
|
|
|
virtual int | GetMode () |
| Mode indicates if the property is interested in all nodes, leaves only or non-leaves only. More...
|
|
virtual void | SetMode (int) |
| Mode indicates if the property is interested in all nodes, leaves only or non-leaves only. More...
|
|
|
virtual int | GetDefaultMode () |
| DefaultMode controls how the default value for the property is set by SetDefaultValues(). More...
|
|
virtual void | SetDefaultMode (int) |
| DefaultMode controls how the default value for the property is set by SetDefaultValues(). More...
|
|
Public Member Functions inherited from vtkSMDomain |
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
virtual void | SetAnimationValue (vtkSMProperty *, int vtkNotUsed(index), double vtkNotUsed(value)) |
| Set the value of an element of a property from the animation editor. More...
|
|
virtual int | SetDefaultValues (vtkSMProperty *, bool vtkNotUsed(use_unchecked_values)) |
| A vtkSMProperty is often defined with a default value in the XML itself. More...
|
|
vtkSMProperty * | GetProperty () |
| Provides access to the vtkSMProperty on which this domain is hooked up. More...
|
|
virtual unsigned int | GetNumberOfInputConnections (const char *function) |
| Helper method to get the number of input connections hence the number of available vtkPVDataInformation from input proxy connected to the required property with the given function. More...
|
|
vtkSMProperty * | GetRequiredProperty (const char *function) |
| Returns a given required property of the given function. More...
|
|
virtual char * | GetXMLName () |
| Assigned by the XML parser. More...
|
|
virtual bool | GetIsOptional () |
| When the IsOptional flag is set, IsInDomain() always returns true. More...
|
|
virtual vtkPVDataInformation * | GetInputDataInformation (const char *function, unsigned int index=0) |
| Helper methods to get vtkPVDataInformation from input proxy connected to the required property with the given function and provided input index. More...
|
|
virtual vtkPVDataInformation * | GetInputSubsetDataInformation (unsigned int compositeIndex, const char *function, unsigned int index=0) |
| Helper methods to get vtkPVDataInformation from input proxy connected to the required property with the given function and provided input index. More...
|
|
virtual vtkPVDataInformation * | GetInputSubsetDataInformation (const char *selector, const char *assemblyName, const char *function, unsigned int index=0) |
| Helper methods to get vtkPVDataInformation from input proxy connected to the required property with the given function and provided input index. More...
|
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
virtual vtkSMSessionProxyManager * | GetSessionProxyManager () |
| Return the corresponding ProxyManager if any. More...
|
|
virtual void | SetSession (vtkSMSession *) |
| Get/Set the session on wihch this object exists. More...
|
|
virtual vtkSMSession * | GetSession () |
| Get/Set the session on wihch this object exists. 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 &) |
|
|
| vtkSMCompositeTreeDomain () |
|
| ~vtkSMCompositeTreeDomain () override |
|
int | ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element) override |
| Set the appropriate ivars from the xml element. More...
|
|
void | SetInformation (vtkPVDataInformation *) |
|
Protected Member Functions inherited from vtkSMDomain |
| vtkSMDomain () |
|
| ~vtkSMDomain () override |
|
virtual int | LoadState (vtkPVXMLElement *vtkNotUsed(domainElement), vtkSMProxyLocator *vtkNotUsed(loader)) |
| Load the state of the domain from the XML. More...
|
|
void | RemoveRequiredProperty (vtkSMProperty *prop) |
| Remove the given property from the required properties list. More...
|
|
void | AddRequiredProperty (vtkSMProperty *prop, const char *function) |
| Add a new required property to this domain. More...
|
|
void | DomainModified () |
| Invokes DomainModifiedEvent. More...
|
|
void | InvokeModified () |
|
unsigned int | GetNumberOfRequiredProperties () |
| Gets the number of required properties added. More...
|
|
void | SetProperty (vtkSMProperty *) |
| Set the domain's property. More...
|
|
void | SaveState (vtkPVXMLElement *parent, const char *uid) |
| Add the header and creates a new vtkPVXMLElement for the domain, fills it up with the common attributes. More...
|
|
virtual void | ChildSaveState (vtkPVXMLElement *domainElement) |
| Add the header and creates a new vtkPVXMLElement for the domain, fills it up with the common attributes. More...
|
|
virtual void | SetIsOptional (bool) |
| When the IsOptional flag is set, IsInDomain() always returns true. More...
|
|
virtual void | SetXMLName (const char *) |
| Assigned by the XML parser. More...
|
|
| vtkSMSessionObject () |
|
| ~vtkSMSessionObject () override |
|
| vtkSMObject () |
|
| ~vtkSMObject () override |
|
| 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 &) |
|
domain used to restrict an vtkSMIntVectorProperty values to valid flat-index
for a vtkCompositeDataSet.
vtkSMCompositeTreeDomain should be considered deprecated. New code should no longer use this domain. Developers are encouraged to update filters to not rely on composite-index and instead use selectors to select blocks. See vtkSMDataAssemblyDomain.
vtkSMCompositeTreeDomain can be added to a vtkSMIntVectorProperty. This domain requires a vtkSMInputProperty which is used to provide the input to the filter. This domain obtains data information from the input selected on the required input property and then decides the range for values the property can have.
Broadly speaking, there are two ways of identifying unique node in a composite dataset: flat-index
(also called composite-index
) and level-block-index
. flat-index
applies to all types of composite datasets while level-block-index
(or just level-index
) applies only to AMR datasets. flat-index
for any node in an arbitrary composite-dataset is simply the index of that node in a pre-order traversal of the tree with the root composite-dataset getting the index 0. level-index
for an AMR dataset is the AMR level number while level-block-index
is a pair of the AMR level number and block number for the node in that level.
The type of index the property expects, is defined by the domain's mode. Supported modes are:
- vtkSMCompositeTreeDomain::ALL: (default)
The property uses flat-index
and can accept index for any node (leaf or non-leaf). This can be specified in XML using the mode="all"
.
- vtkSMCompositeTreeDomain::LEAVES:
The property uses flat-index
however can only accept flat-indices for leaf-nodes. This can be specified in XML using the mode="leaves"
.
- vtkSMCompositeTreeDomain::AMR:
The property uses level-index
i.e. AMR level number or level-block-index
. If the property has 2 elements (or for repeatable properties, if number of elements per command is 2) then level-block-index
is used, otherwise simply the level-index
is used. This only makes sense for filters dealing with AMR datasets. This can be specified in XML using the mode="amr"
.
- vtkSMCompositeTreeDomain::NON_LEAVES: (deprecated)
No longer supported (as of ParaView 5.4) and simply interpreted as vtkSMCompositeTreeDomain::ALL. This used to be specified in XML using the mode="non-leaves"
.
vtkSMCompositeTreeDomain also provides ability to set default value on the property. If mode is LEAVES, then the default value selected is the first non-null leaf node. If mode is ALL, the same behaviour for default value is possible by using default_mode="nonempty-leaf"
in XML. e.g.
<CompositeTreeDomain name="tree" mode="all" default_mode="nonempty-leaf">
<RequiredProperties>
<Property function="Input" name="Input" />
</RequiredProperties>
</CompositeTreeDomain>
Definition at line 78 of file vtkSMCompositeTreeDomain.h.