VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
vtkExtractArraysOverTime Class Reference

extracts a selection over time. More...

#include <vtkExtractArraysOverTime.h>

Inheritance diagram for vtkExtractArraysOverTime:
Inheritance graph
[legend]
Collaboration diagram for vtkExtractArraysOverTime:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
vtkMultiBlockDataSetAlgorithm 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkExtractArraysOverTimeNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetNumberOfTimeSteps ()
void SetSelectionConnection (vtkAlgorithmOutput *algOutput)
virtual void SetSelectionExtractor (vtkExtractSelection *)
virtual vtkExtractSelectionGetSelectionExtractor ()
virtual void SetReportStatisticsOnly (int)
virtual int GetReportStatisticsOnly ()
virtual void ReportStatisticsOnlyOn ()
virtual void ReportStatisticsOnlyOff ()

Static Public Member Functions

static vtkExtractArraysOverTimeNew ()
static int IsTypeOf (const char *type)
static vtkExtractArraysOverTimeSafeDownCast (vtkObjectBase *o)

Protected Types

enum  Errors { NoError, MoreThan1Indices }

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkExtractArraysOverTime ()
 ~vtkExtractArraysOverTime ()
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void PostExecute (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int DetermineSelectionType (vtkSelection *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
void CopyFastPathDataToOutput (vtkDataSet *input, vtkTable *output)
void ExecuteAtTimeStep (vtkInformationVector **inputV, vtkInformation *outInfo)
bool UpdateFastPathIDs (vtkInformationVector **inputV, vtkInformation *outInfo)

Protected Attributes

int CurrentTimeIndex
int NumberOfTimeSteps
int FieldType
int ContentType
bool WaitingForFastPathData
bool IsExecuting
bool UseFastPath
int ReportStatisticsOnly
int Error
vtkExtractSelectionSelectionExtractor

Detailed Description

extracts a selection over time.

vtkExtractArraysOverTime extracts a selection over time. The output is a multiblock dataset. If selection content type is vtkSelection::Locations, then each output block corresponds to each probed location. Otherwise, each output block corresponds to an extracted cell/point depending on whether the selection field type is CELL or POINT. Each block is a vtkTable with a column named Time (or TimeData if Time exists in the input). When extracting point data, the input point coordinates are copied to a column named Point Coordinates or Points (if Point Coordinates exists in the input). This algorithm does not produce a TIME_STEPS or TIME_RANGE information because it works across time.

Caveat:
This algorithm works only with source that produce TIME_STEPS(). Continuous time range is not yet supported.

Definition at line 47 of file vtkExtractArraysOverTime.h.


Member Typedef Documentation

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

Definition at line 51 of file vtkExtractArraysOverTime.h.


Member Enumeration Documentation

Enumerator:
NoError 
MoreThan1Indices 

Definition at line 147 of file vtkExtractArraysOverTime.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

static int vtkExtractArraysOverTime::IsTypeOf ( const char *  name) [static]

Return 1 if this class type 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 vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

virtual int vtkExtractArraysOverTime::IsA ( const char *  name) [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 vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

virtual vtkObjectBase* vtkExtractArraysOverTime::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

void vtkExtractArraysOverTime::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [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 vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPExtractArraysOverTime.

Get the number of time steps

Convenience method to specify the selection connection (2nd input port)

Definition at line 62 of file vtkExtractArraysOverTime.h.

Set/get the vtkExtractSelection instance used to obtain array values at each time step. An instance of vtkExtractSelection is created on demand when the filter is first executed. This is used by ParaView to override the default extractor with one that supports Python-based QUERY selection.

Set/get the vtkExtractSelection instance used to obtain array values at each time step. An instance of vtkExtractSelection is created on demand when the filter is first executed. This is used by ParaView to override the default extractor with one that supports Python-based QUERY selection.

Instead of breaking a selection into a separate time-history table for each (block,ID)-tuple, you may call ReportStatisticsOnlyOn(). Then a single table per block of the input dataset will report the minimum, maximum, quartiles, and (for numerical arrays) the average and standard deviation of the selection over time. The default is off to preserve backwards-compatibility.

Instead of breaking a selection into a separate time-history table for each (block,ID)-tuple, you may call ReportStatisticsOnlyOn(). Then a single table per block of the input dataset will report the minimum, maximum, quartiles, and (for numerical arrays) the average and standard deviation of the selection over time. The default is off to preserve backwards-compatibility.

Instead of breaking a selection into a separate time-history table for each (block,ID)-tuple, you may call ReportStatisticsOnlyOn(). Then a single table per block of the input dataset will report the minimum, maximum, quartiles, and (for numerical arrays) the average and standard deviation of the selection over time. The default is off to preserve backwards-compatibility.

Instead of breaking a selection into a separate time-history table for each (block,ID)-tuple, you may call ReportStatisticsOnlyOn(). Then a single table per block of the input dataset will report the minimum, maximum, quartiles, and (for numerical arrays) the average and standard deviation of the selection over time. The default is off to preserve backwards-compatibility.

This is called by the superclass. This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

This is called by the superclass. This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

This is called by the superclass. This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

virtual void vtkExtractArraysOverTime::PostExecute ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Reimplemented in vtkPExtractArraysOverTime.

Determines the FieldType and ContentType for the selection. If the selection is a vtkSelection::SELECTIONS selection, then this method ensures that all child nodes have the same field type and content type otherwise, it returns 0.

virtual int vtkExtractArraysOverTime::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

bool vtkExtractArraysOverTime::UpdateFastPathIDs ( vtkInformationVector **  inputV,
vtkInformation outInfo 
) [protected]

This method doesn't care about the content type of the selection, just grabs the value.

void vtkExtractArraysOverTime::CopyFastPathDataToOutput ( vtkDataSet input,
vtkTable output 
) [protected]

This looks at the arrays in the vtkFieldData of input and copies those whose names are in the form "XXXOverTime" to the output point data.

void vtkExtractArraysOverTime::ExecuteAtTimeStep ( vtkInformationVector **  inputV,
vtkInformation outInfo 
) [protected]

Member Data Documentation

Definition at line 133 of file vtkExtractArraysOverTime.h.

Definition at line 134 of file vtkExtractArraysOverTime.h.

Definition at line 136 of file vtkExtractArraysOverTime.h.

Definition at line 137 of file vtkExtractArraysOverTime.h.

Definition at line 139 of file vtkExtractArraysOverTime.h.

Definition at line 140 of file vtkExtractArraysOverTime.h.

Definition at line 141 of file vtkExtractArraysOverTime.h.

Definition at line 143 of file vtkExtractArraysOverTime.h.

Definition at line 145 of file vtkExtractArraysOverTime.h.

Definition at line 153 of file vtkExtractArraysOverTime.h.


The documentation for this class was generated from the following file: