ParaView
|
cue used for parameter animation by the comparative view. More...
#include <vtkPVComparativeAnimationCue.h>
Inherits vtkObject.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | UpdateXRange (int y, double minx, double maxx) |
Methods use to fill up the values for the parameter over the comparative grid. More... | |
void | UpdateYRange (int x, double miny, double maxy) |
void | UpdateWholeRange (double mint, double maxt) |
void | UpdateValue (int x, int y, double value) |
void | UpdateAnimatedValue (int x, int y, int dx, int dy) |
Update the animated property's value based on those specified using the Update. More... | |
double * | GetValues (int x, int y, int dx, int dy, unsigned int &numValues) |
NOTE: Returned values is only valid until the next call to this method. More... | |
vtkPVXMLElement * | AppendCommandInfo (vtkPVXMLElement *proxyElem) |
int | LoadCommandInfo (vtkPVXMLElement *proxyElement) |
void | SetAnimatedProxy (vtkSMProxy *) |
Set/Get the animated proxy. More... | |
virtual vtkSMProxy * | GetAnimatedProxy () |
Set/Get the animated proxy. More... | |
void | RemoveAnimatedProxy () |
Set/Get the animated proxy. More... | |
virtual void | SetAnimatedPropertyName (const char *) |
Set/Get the animated property name. More... | |
virtual char * | GetAnimatedPropertyName () |
Set/Get the animated property name. More... | |
virtual void | SetAnimatedDomainName (const char *) |
Set/Get the animated domain name. More... | |
virtual char * | GetAnimatedDomainName () |
Set/Get the animated domain name. More... | |
virtual void | SetAnimatedElement (int) |
The index of the element of the property this cue animates. More... | |
virtual int | GetAnimatedElement () |
The index of the element of the property this cue animates. More... | |
virtual void | SetEnabled (bool) |
Enable/Disable the cue. More... | |
virtual bool | GetEnabled () |
Enable/Disable the cue. More... | |
virtual void | EnabledOn () |
Enable/Disable the cue. More... | |
virtual void | EnabledOff () |
Enable/Disable the cue. More... | |
void | UpdateXRange (int y, double *minx, double *maxx, unsigned int numvalues) |
Use these methods when the parameter can have multiple values eg. More... | |
void | UpdateYRange (int x, double *minx, double *maxx, unsigned int numvalues) |
Use these methods when the parameter can have multiple values eg. More... | |
void | UpdateWholeRange (double *mint, double *maxt, unsigned int numValues) |
Use these methods when the parameter can have multiple values eg. More... | |
void | UpdateWholeRange (double *mint, double *maxt, unsigned int numValues, bool vertical_first) |
Use these methods when the parameter can have multiple values eg. More... | |
void | UpdateValue (int x, int y, double *value, unsigned int numValues) |
Use these methods when the parameter can have multiple values eg. More... | |
double | GetValue (int x, int y, int dx, int dy) |
Computes the value for a particular location in the comparative grid. More... | |
Static Public Member Functions | |
static vtkPVComparativeAnimationCue * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVComparativeAnimationCue * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPVComparativeAnimationCue () | |
~vtkPVComparativeAnimationCue () | |
vtkSMProperty * | GetAnimatedProperty () |
Get the property being animated. More... | |
vtkSMDomain * | GetAnimatedDomain () |
Get the domain being animated. More... | |
Protected Attributes | |
vtkSMProxy * | AnimatedProxy |
int | AnimatedElement |
char * | AnimatedPropertyName |
char * | AnimatedDomainName |
double * | Values |
bool | Enabled |
cue used for parameter animation by the comparative view.
vtkPVComparativeAnimationCue is a animation cue used for parameter animation by the ComparativeView. It provides a non-conventional API i.e. without using properties to allow the user to setup parameter values over the comparative grid.
Definition at line 37 of file vtkPVComparativeAnimationCue.h.
typedef vtkObject vtkPVComparativeAnimationCue::Superclass |
Definition at line 41 of file vtkPVComparativeAnimationCue.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkPVComparativeAnimationCue::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkPVComparativeAnimationCue::SetAnimatedProxy | ( | vtkSMProxy * | ) |
Set/Get the animated proxy.
|
virtual |
Set/Get the animated proxy.
void vtkPVComparativeAnimationCue::RemoveAnimatedProxy | ( | ) |
Set/Get the animated proxy.
|
virtual |
Set/Get the animated property name.
|
virtual |
Set/Get the animated property name.
|
virtual |
Set/Get the animated domain name.
|
virtual |
Set/Get the animated domain name.
|
virtual |
The index of the element of the property this cue animates.
If the index is -1, the cue will animate all the elements of the animated property.
|
virtual |
The index of the element of the property this cue animates.
If the index is -1, the cue will animate all the elements of the animated property.
|
virtual |
Enable/Disable the cue.
|
virtual |
Enable/Disable the cue.
|
virtual |
Enable/Disable the cue.
|
virtual |
Enable/Disable the cue.
|
inline |
Methods use to fill up the values for the parameter over the comparative grid.
These are order dependent methods i.e. the result of calling UpdateXRange() and then UpdateYRange() are different from calling UpdateYRange() and then UpdateXRange(). These methods are convenience methods when the value can only be a single value.
Definition at line 96 of file vtkPVComparativeAnimationCue.h.
|
inline |
Definition at line 97 of file vtkPVComparativeAnimationCue.h.
|
inline |
Definition at line 98 of file vtkPVComparativeAnimationCue.h.
|
inline |
Definition at line 99 of file vtkPVComparativeAnimationCue.h.
void vtkPVComparativeAnimationCue::UpdateXRange | ( | int | y, |
double * | minx, | ||
double * | maxx, | ||
unsigned int | numvalues | ||
) |
Use these methods when the parameter can have multiple values eg.
IsoValues for the Contour filter. The "AnimatedElement" for such properties must be set to -1, otherwise UpdateAnimatedValue() will raise an error.
void vtkPVComparativeAnimationCue::UpdateYRange | ( | int | x, |
double * | minx, | ||
double * | maxx, | ||
unsigned int | numvalues | ||
) |
Use these methods when the parameter can have multiple values eg.
IsoValues for the Contour filter. The "AnimatedElement" for such properties must be set to -1, otherwise UpdateAnimatedValue() will raise an error.
|
inline |
Use these methods when the parameter can have multiple values eg.
IsoValues for the Contour filter. The "AnimatedElement" for such properties must be set to -1, otherwise UpdateAnimatedValue() will raise an error.
Definition at line 109 of file vtkPVComparativeAnimationCue.h.
void vtkPVComparativeAnimationCue::UpdateWholeRange | ( | double * | mint, |
double * | maxt, | ||
unsigned int | numValues, | ||
bool | vertical_first | ||
) |
Use these methods when the parameter can have multiple values eg.
IsoValues for the Contour filter. The "AnimatedElement" for such properties must be set to -1, otherwise UpdateAnimatedValue() will raise an error.
void vtkPVComparativeAnimationCue::UpdateValue | ( | int | x, |
int | y, | ||
double * | value, | ||
unsigned int | numValues | ||
) |
Use these methods when the parameter can have multiple values eg.
IsoValues for the Contour filter. The "AnimatedElement" for such properties must be set to -1, otherwise UpdateAnimatedValue() will raise an error.
void vtkPVComparativeAnimationCue::UpdateAnimatedValue | ( | int | x, |
int | y, | ||
int | dx, | ||
int | dy | ||
) |
Update the animated property's value based on those specified using the Update.
|
inline |
Computes the value for a particular location in the comparative grid.
(x,y) is the location in the comparative grid, while (dx, dy) are the dimensions of the comparative grid.
Definition at line 130 of file vtkPVComparativeAnimationCue.h.
double* vtkPVComparativeAnimationCue::GetValues | ( | int | x, |
int | y, | ||
int | dx, | ||
int | dy, | ||
unsigned int & | numValues | ||
) |
NOTE: Returned values is only valid until the next call to this method.
Return value is only valid when numValues > 0.
vtkPVXMLElement* vtkPVComparativeAnimationCue::AppendCommandInfo | ( | vtkPVXMLElement * | proxyElem | ) |
int vtkPVComparativeAnimationCue::LoadCommandInfo | ( | vtkPVXMLElement * | proxyElement | ) |
|
protected |
Get the property being animated.
|
protected |
Get the domain being animated.
|
protected |
Definition at line 165 of file vtkPVComparativeAnimationCue.h.
|
protected |
Definition at line 166 of file vtkPVComparativeAnimationCue.h.
|
protected |
Definition at line 167 of file vtkPVComparativeAnimationCue.h.
|
protected |
Definition at line 168 of file vtkPVComparativeAnimationCue.h.
|
protected |
Definition at line 169 of file vtkPVComparativeAnimationCue.h.
|
protected |
Definition at line 170 of file vtkPVComparativeAnimationCue.h.