|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
void | Update (vtkSMProperty *) override |
| Update self checking the "unchecked" values of all required properties. More...
|
|
virtual double | GetScaleFactor () |
|
virtual int | GetAxisFlags () |
|
int | SetDefaultValues (vtkSMProperty *property, bool use_unchecked_values) override |
| Overridden to handle APPROXIMATE_CELL_LENGTH. More...
|
|
|
virtual void | SetMode (int) |
|
virtual int | GetMode () |
|
Public Member Functions inherited from vtkSMDoubleRangeDomain |
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
virtual double | GetMinimum (unsigned int idx, int &exists) |
| Return a min. More...
|
|
virtual double | GetMaximum (unsigned int idx, int &exists) |
| Return a max. More...
|
|
virtual int | GetMinimumExists (unsigned int idx) |
| Returns if minimum/maximum bound is set for the domain. More...
|
|
virtual int | GetMaximumExists (unsigned int idx) |
|
virtual double | GetMinimum (unsigned int idx) |
| Returns the minimum/maximum value, is exists, otherwise 0 is returned. More...
|
|
virtual double | GetMaximum (unsigned int idx) |
|
virtual int | GetResolution () |
| Returns the resolution. More...
|
|
Public Member Functions inherited from vtkSMDomain |
virtual int | IsInDomain (vtkSMProperty *vtkNotUsed(property)) |
| Is the (unchecked) value of the property in the domain? Overwritten by sub-classes. More...
|
|
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...
|
|
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 &) |
|
|
| vtkSMBoundsDomain () |
|
| ~vtkSMBoundsDomain () override |
|
int | ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element) override |
| Set the appropriate ivars from the xml element. More...
|
|
vtkPVDataInformation * | GetInputInformation () |
|
vtkSMIntVectorProperty * | GetAxisFlagsInformation () |
|
bool | IsAxisEnabled (int axis) |
|
void | SetDomainValues (double bounds[6]) |
|
void | UpdateOriented () |
|
Protected Member Functions inherited from vtkSMDoubleRangeDomain |
| vtkSMDoubleRangeDomain () |
|
| ~vtkSMDoubleRangeDomain () override |
|
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 &) |
|
double range domain based on data set bounds
vtkSMBoundsDomain extends vtkSMDoubleRangeDomain to add support to determine the valid range for the values based on the dataset bounds. There are several Modes
which can be used to control how the range is computed based on the data bounds (defined by the vtkSMBoundsDomain::Modes enum).
NORMAL
: this is the basic mode where the domain will have 3 ranges which are the min and max for the bounds along each of the coordinate axis.
MAGNITUDE:
the domain has a single range set to (-magn/2.0, +magn/2.0) where magn is the magnitude of the diagonal.
ORIENTED_MAGNITUDE:
same as MAGNITUDE, but instead of the diagonal, a vector determined using two additional required properties with functions Normal, and Origin is used.
COMPONENT_MAGNITUDE:
similar to MAGNITUDE except suitable for 3 component properties where each component is given range for the corresponding axis i.e. (0, xmax-xmin), (0, ymax-ymin), (0, zmax-zmin)
.
SCALED_EXTENT:
the range is set to (0, maxbounds * this->ScaleFactor) where maxbounds is the length of the longest axis for the bounding box.
ARRAY_SCALED_EXTENT:
the range is set to (0, (arrayMagnitude / maxbounds) * this->ScaleFactor) where maxbounds is the length of the longest axis for the bounding box. and arrayMagnitude the maximum magnitude of the array.
APPROXIMATE_CELL_LENGTH:
approximation for cell length computed using the
DATA_BOUNDS:
this mode for a 6 tuple property that takes the data bounds. The range will have 6 ranges: (xmin,xmax), (xmin,xmax), (ymin,ymax), (ymin,ymax), (zmin,zmax), and (zmin,zmax). If default_mode is not specified, then "min,max,min,max,min,max" is assumed.
EXTENTS:
this mode for a property that takes a value between 0 and (max-min) for each component.
To determine the input data bounds, this domain depends on a required property with function Input
. The data-information from the source-proxy set as the value for that property is used to determine the bounds.
Supported XML attributes:
mode
: used to specify the Mode. Value can be "normal", "magnitude", "oriented_magnitude", "scaled_extent", "array_scaled_extent", or "approximate_cell_length", "data_bounds".
scale_factor
: used in SCALED_EXTENT, ARRAY_SCALED_EXTENT and APPROXIMATE_CELL_LENGTH mode. Value is a floating point number that is used as the scale factor.
Definition at line 59 of file vtkSMBoundsDomain.h.