ParaView
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
vtkMinMax Class Reference

Finds the min, max, or sum of all of its input data attributes. More...

#include <vtkMinMax.h>

Inherits vtkPolyDataAlgorithm.

Public Types

enum  Operations { MIN = 0, MAX = 1, SUM = 2 }
 Selects the operation to perform on the data. More...
 
typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetOperation (int)
 
virtual int GetOperation ()
 
void SetOperation (const char *op)
 
virtual int GetMismatchOccurred ()
 A diagnostic that should be zero. More...
 
virtual char * GetFirstPasses ()
 Contains a flag for each component of each (Point or Cell) array that indicates if any of the results were never initialized. More...
 
void FlagsForPoints ()
 Contains a flag for each component of each (Point or Cell) array that indicates if any of the results were never initialized. More...
 
void FlagsForCells ()
 Contains a flag for each component of each (Point or Cell) array that indicates if any of the results were never initialized. More...
 

Static Public Member Functions

static vtkMinMaxNew ()
 
static int IsTypeOf (const char *type)
 
static vtkMinMaxSafeDownCast (vtkObject *o)
 

Public Attributes

const char * Name
 
vtkIdType Idx
 

Protected Member Functions

 vtkMinMax ()
 
 ~vtkMinMax ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
void OperateOnField (vtkFieldData *id, vtkFieldData *od)
 
void OperateOnArray (vtkAbstractArray *ia, vtkAbstractArray *oa)
 

Protected Attributes

int Operation
 
int ComponentIdx
 
char * CFirstPass
 
char * PFirstPass
 
char * FirstPasses
 
vtkUnsignedCharArray * GhostArray
 
int MismatchOccurred
 

Detailed Description

Finds the min, max, or sum of all of its input data attributes.

This filter lets the user choose from a set of operations and then runs that operation on all of the attribute data of its input(s). For example if MIN is requested, it finds the minimum values in all of its input data arrays. If this filter has multiple input data sets attached to its first input port, it will run the operation on each input data set in turn, producing a global minimum value over all the inputs. In parallel runs this filter REQUIRES ghost arrays to skip redundant information. The output of this filter will always be a single vtkPolyData that contains exactly one point and one cell (a VTK_VERTEX).

Definition at line 42 of file vtkMinMax.h.

Member Typedef Documentation

§ Superclass

typedef vtkPolyDataAlgorithm vtkMinMax::Superclass

Definition at line 46 of file vtkMinMax.h.

Member Enumeration Documentation

§ Operations

Selects the operation to perform on the data.

min/max, sum...

Enumerator
MIN 
MAX 
SUM 

Definition at line 54 of file vtkMinMax.h.

Constructor & Destructor Documentation

§ vtkMinMax()

vtkMinMax::vtkMinMax ( )
protected

§ ~vtkMinMax()

vtkMinMax::~vtkMinMax ( )
protected

Member Function Documentation

§ New()

static vtkMinMax* vtkMinMax::New ( )
static

§ GetClassName()

virtual const char* vtkMinMax::GetClassName ( )
virtual

§ IsTypeOf()

static int vtkMinMax::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkMinMax::IsA ( const char *  type)
virtual

§ SafeDownCast()

static vtkMinMax* vtkMinMax::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkMinMax::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ SetOperation() [1/2]

virtual void vtkMinMax::SetOperation ( int  )
virtual

§ GetOperation()

virtual int vtkMinMax::GetOperation ( )
virtual

§ SetOperation() [2/2]

void vtkMinMax::SetOperation ( const char *  op)

§ GetMismatchOccurred()

virtual int vtkMinMax::GetMismatchOccurred ( )
virtual

A diagnostic that should be zero.

One indicates that some array didn't match up exactly.

§ GetFirstPasses()

virtual char* vtkMinMax::GetFirstPasses ( )
virtual

Contains a flag for each component of each (Point or Cell) array that indicates if any of the results were never initialized.

§ FlagsForPoints()

void vtkMinMax::FlagsForPoints ( )

Contains a flag for each component of each (Point or Cell) array that indicates if any of the results were never initialized.

§ FlagsForCells()

void vtkMinMax::FlagsForCells ( )

Contains a flag for each component of each (Point or Cell) array that indicates if any of the results were never initialized.

§ FillInputPortInformation()

virtual int vtkMinMax::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

§ RequestData()

virtual int vtkMinMax::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

§ OperateOnField()

void vtkMinMax::OperateOnField ( vtkFieldData *  id,
vtkFieldData *  od 
)
protected

§ OperateOnArray()

void vtkMinMax::OperateOnArray ( vtkAbstractArray *  ia,
vtkAbstractArray *  oa 
)
protected

Member Data Documentation

§ Name

const char* vtkMinMax::Name

Definition at line 84 of file vtkMinMax.h.

§ Idx

vtkIdType vtkMinMax::Idx

Definition at line 85 of file vtkMinMax.h.

§ Operation

int vtkMinMax::Operation
protected

Definition at line 103 of file vtkMinMax.h.

§ ComponentIdx

int vtkMinMax::ComponentIdx
protected

Definition at line 106 of file vtkMinMax.h.

§ CFirstPass

char* vtkMinMax::CFirstPass
protected

Definition at line 107 of file vtkMinMax.h.

§ PFirstPass

char* vtkMinMax::PFirstPass
protected

Definition at line 108 of file vtkMinMax.h.

§ FirstPasses

char* vtkMinMax::FirstPasses
protected

Definition at line 109 of file vtkMinMax.h.

§ GhostArray

vtkUnsignedCharArray* vtkMinMax::GhostArray
protected

Definition at line 112 of file vtkMinMax.h.

§ MismatchOccurred

int vtkMinMax::MismatchOccurred
protected

Definition at line 115 of file vtkMinMax.h.


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