ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPVTrivialProducer Class Reference

specialized subclass of vtkTrivialProducer that preserves the information about the whole extent of the data object. More...

#include <vtkPVTrivialProducer.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetOutput (vtkDataObject *output)
void GatherExtents ()
virtual void SetWholeExtent (int, int, int, int, int, int)
virtual void SetWholeExtent (int[6])
virtual intGetWholeExtent ()
virtual void GetWholeExtent (int &, int &, int &, int &, int &, int &)
virtual void GetWholeExtent (int[6])

Static Public Member Functions

static vtkPVTrivialProducerNew ()
static int IsTypeOf (const char *type)
static vtkPVTrivialProducerSafeDownCast (vtkObject *o)

Protected Member Functions

virtual void ReportReferences (vtkGarbageCollector *)

Protected Attributes

vtkPVTrivialExtentTranslatorPVExtentTranslator
int WholeExtent [6]
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 vtkPVTrivialProducer ()
 ~vtkPVTrivialProducer ()

Detailed Description

specialized subclass of vtkTrivialProducer that preserves the information about the whole extent of the data object.

vtkPVTrivialProducer is specialized subclass of vtkTrivialProducer that preserves the information about the whole extent of the data object. In REQUEST_INFORMATION pass, vtkTrivialProducer tells the downstream pipeline that the whole extent of the data is exactly equal to the extent of the data. That way, no filters downstream can ask for more that what's available. However, in some cases, we still want to provide the downstream pipeline information that the data is only a chunk of bigger dataset eg. vtkPVGeometryFilter to avoid false boundaries between structured blocks. Hence we use vtkPVTrivialProducer in that case. vtkPVTrivialProducer uses vtkPVTrivialExtentTranslator which converts any request for the whole extent to match extent if the data available to the producer.

Definition at line 39 of file vtkPVTrivialProducer.h.


Constructor & Destructor Documentation

vtkPVTrivialProducer::vtkPVTrivialProducer ( ) [protected]

Process upstream/downstream requests trivially. The associated output data object is never modified, but it is queried to fulfill requests.

vtkPVTrivialProducer::~vtkPVTrivialProducer ( ) [protected]

Process upstream/downstream requests trivially. The associated output data object is never modified, but it is queried to fulfill requests.


Member Function Documentation

static vtkPVTrivialProducer* vtkPVTrivialProducer::New ( ) [static]

Reimplemented from vtkTrivialProducer.

virtual const char* vtkPVTrivialProducer::GetClassName ( ) [virtual]

Reimplemented from vtkTrivialProducer.

static int vtkPVTrivialProducer::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkTrivialProducer.

virtual int vtkPVTrivialProducer::IsA ( const char *  type) [virtual]

Reimplemented from vtkTrivialProducer.

static vtkPVTrivialProducer* vtkPVTrivialProducer::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkTrivialProducer.

void vtkPVTrivialProducer::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkTrivialProducer.

virtual void vtkPVTrivialProducer::SetOutput ( vtkDataObject output) [virtual]

Set the data object that is "produced" by this producer. It is never really modified. Overridden to pass the output to the vtkPVTrivialExtentTranslator.

Reimplemented from vtkTrivialProducer.

virtual void vtkPVTrivialProducer::SetWholeExtent ( int  ,
int  ,
int  ,
int  ,
int  ,
int   
) [virtual]

Set the whole extent to use for the data this producer is producing.

virtual void vtkPVTrivialProducer::SetWholeExtent ( int  [6]) [virtual]

Set the whole extent to use for the data this producer is producing.

virtual int* vtkPVTrivialProducer::GetWholeExtent ( ) [virtual]

Set the whole extent to use for the data this producer is producing.

virtual void vtkPVTrivialProducer::GetWholeExtent ( int ,
int ,
int ,
int ,
int ,
int  
) [virtual]

Set the whole extent to use for the data this producer is producing.

virtual void vtkPVTrivialProducer::GetWholeExtent ( int  [6]) [virtual]

Set the whole extent to use for the data this producer is producing.

void vtkPVTrivialProducer::GatherExtents ( )

If the output of the filter is topologically regular and this filter is used in parallel with the grid using partitioned subextents then each process will only know about its own subextent. This function does an allreduce to make sure that each process knows the subextent of every process.

virtual int vtkPVTrivialProducer::ProcessRequest ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [virtual]

Process upstream/downstream requests trivially. The associated output data object is never modified, but it is queried to fulfill requests.

Reimplemented from vtkTrivialProducer.

virtual void vtkPVTrivialProducer::ReportReferences ( vtkGarbageCollector ) [protected, virtual]

Reimplemented from vtkTrivialProducer.


Member Data Documentation

Definition at line 78 of file vtkPVTrivialProducer.h.

Definition at line 79 of file vtkPVTrivialProducer.h.


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