VTK
|
key that can used to request integer values from the pipeline vtkInformationIntegerRequestKey is a vtkInformationIntegerKey that can used to request integer values from upstream. A good example of this is UPDATE_NUMBER_OF_PIECES where downstream can request that upstream provides data partitioned into a certain number of pieces. There are several components that make this work. First, the key will copy itself upstream during REQUEST_UPDATE_EXTENT. Second, after a successfull execution, it will stor its value into a data object's information using a specific key defined by its data member DataKey. Third, before execution, it will check if the requested value matched the value in the data object's information. If not, it will ask the pipeline to execute. More...
#include <vtkInformationIntegerRequestKey.h>
Public Types | |
typedef vtkInformationIntegerKey | Superclass |
Public Types inherited from vtkInformationIntegerKey | |
typedef vtkInformationKey | Superclass |
Public Types inherited from vtkInformationKey | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkInformationIntegerRequestKey * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkInformationIntegerRequestKey (const char *name, const char *location) | |
~vtkInformationIntegerRequestKey () | |
virtual bool | NeedToExecute (vtkInformation *pipelineInfo, vtkInformation *dobjInfo) |
virtual void | StoreMetaData (vtkInformation *request, vtkInformation *pipelineInfo, vtkInformation *dobjInfo) |
virtual void | CopyDefaultInformation (vtkInformation *request, vtkInformation *fromInfo, vtkInformation *toInfo) |
Public Member Functions inherited from vtkInformationIntegerKey | |
vtkInformationIntegerKey * | NewInstance () const |
vtkInformationIntegerKey (const char *name, const char *location) | |
~vtkInformationIntegerKey () | |
virtual void | ShallowCopy (vtkInformation *from, vtkInformation *to) |
virtual void | Print (ostream &os, vtkInformation *info) |
void | Set (vtkInformation *info, int) |
int | Get (vtkInformation *info) |
Public Member Functions inherited from vtkInformationKey | |
vtkInformationKey * | NewInstance () const |
virtual void | Register (vtkObjectBase *) |
virtual void | UnRegister (vtkObjectBase *) |
const char * | GetName () |
const char * | GetLocation () |
virtual int | Has (vtkInformation *info) |
virtual void | Remove (vtkInformation *info) |
virtual void | Report (vtkInformation *info, vtkGarbageCollector *collector) |
vtkInformationKey (const char *name, const char *location) | |
~vtkInformationKey () | |
virtual void | DeepCopy (vtkInformation *from, vtkInformation *to) |
void | Print (vtkInformation *info) |
virtual bool | NeedToExecute (vtkInformation *vtkNotUsed(pipelineInfo), vtkInformation *vtkNotUsed(dobjInfo)) |
virtual void | StoreMetaData (vtkInformation *vtkNotUsed(request), vtkInformation *vtkNotUsed(pipelineInfo), vtkInformation *vtkNotUsed(dobjInfo)) |
virtual void | CopyDefaultInformation (vtkInformation *vtkNotUsed(request), vtkInformation *vtkNotUsed(fromInfo), vtkInformation *vtkNotUsed(toInfo)) |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkInformationIntegerRequestKey * | SafeDownCast (vtkObjectBase *o) |
static vtkInformationIntegerRequestKey * | MakeKey (const char *name, const char *location) |
Static Public Member Functions inherited from vtkInformationIntegerKey | |
static int | IsTypeOf (const char *type) |
static vtkInformationIntegerKey * | SafeDownCast (vtkObjectBase *o) |
static vtkInformationIntegerKey * | MakeKey (const char *name, const char *location) |
Static Public Member Functions inherited from vtkInformationKey | |
static int | IsTypeOf (const char *type) |
static vtkInformationKey * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkObjectBase | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Attributes | |
vtkInformationIntegerKey * | DataKey |
Protected Attributes inherited from vtkInformationKey | |
char * | Name |
char * | Location |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
key that can used to request integer values from the pipeline vtkInformationIntegerRequestKey is a vtkInformationIntegerKey that can used to request integer values from upstream. A good example of this is UPDATE_NUMBER_OF_PIECES where downstream can request that upstream provides data partitioned into a certain number of pieces. There are several components that make this work. First, the key will copy itself upstream during REQUEST_UPDATE_EXTENT. Second, after a successfull execution, it will stor its value into a data object's information using a specific key defined by its data member DataKey. Third, before execution, it will check if the requested value matched the value in the data object's information. If not, it will ask the pipeline to execute.
The best way to use this class is to subclass it to set the DataKey data member. This is usually done in the subclass' constructor.
Definition at line 43 of file vtkInformationIntegerRequestKey.h.
Definition at line 46 of file vtkInformationIntegerRequestKey.h.
vtkInformationIntegerRequestKey::vtkInformationIntegerRequestKey | ( | const char * | name, |
const char * | location | ||
) |
vtkInformationIntegerRequestKey::~vtkInformationIntegerRequestKey | ( | ) |
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkInformationIntegerKey.
|
static |
|
protectedvirtual |
Reimplemented from vtkInformationIntegerKey.
vtkInformationIntegerRequestKey* vtkInformationIntegerRequestKey::NewInstance | ( | ) | const |
|
virtual |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkInformationIntegerKey.
|
inlinestatic |
This method simply returns a new vtkInformationIntegerRequestKey, given a name and a location. This method is provided for wrappers. Use the constructor directly from C++ instead.
Definition at line 56 of file vtkInformationIntegerRequestKey.h.
|
virtual |
Returns true if a value of type DataKey does not exist in dobjInfo or if it is different that the value stored in pipelineInfo using this key.
|
virtual |
Copies the value stored in pipelineInfo using this key into dobjInfo.
|
virtual |
Copies the value stored in fromInfo using this key into toInfo if request has the REQUEST_UPDATE_EXTENT key.
|
protected |
Definition at line 86 of file vtkInformationIntegerRequestKey.h.