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

Class for creating uniform grids. More...

#include <vtkCPUniformGridBuilder.h>

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

Public Types

typedef vtkCPGridBuilder Superclass
 
- Public Types inherited from vtkCPGridBuilder
typedef vtkCPBaseGridBuilder Superclass
 
- Public Types inherited from vtkCPBaseGridBuilder
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkDataObject * GetGrid (unsigned long timeStep, double time, int &builtNewGrid)
 Return a grid. More...
 
vtkUniformGrid * GetUniformGrid ()
 Get the UniformGrid. More...
 
bool CreateUniformGrid ()
 Create UniformGrid with the current parameters. More...
 
virtual void SetDimensions (int, int, int)
 Set/get the Dimensions of the uniform grid. More...
 
virtual void SetDimensions (int [3])
 Set/get the Dimensions of the uniform grid. More...
 
int * GetDimensions ()
 Set/get the Dimensions of the uniform grid. More...
 
virtual void SetSpacing (double, double, double)
 Set/get the Dimensions of the uniform grid. More...
 
virtual void SetSpacing (double [3])
 Set/get the Dimensions of the uniform grid. More...
 
double * GetSpacing ()
 Set/get the Dimensions of the uniform grid. More...
 
virtual void SetOrigin (double, double, double)
 Set/get the Dimensions of the uniform grid. More...
 
virtual void SetOrigin (double [3])
 Set/get the Dimensions of the uniform grid. More...
 
double * GetOrigin ()
 Set/get the Dimensions of the uniform grid. More...
 
- Public Member Functions inherited from vtkCPGridBuilder
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetFieldBuilder (vtkCPBaseFieldBuilder *fieldBuilder)
 Set/get the FieldBuilder. More...
 
vtkCPBaseFieldBuilderGetFieldBuilder ()
 Set/get the FieldBuilder. More...
 
- Public Member Functions inherited from vtkCPBaseGridBuilder
void PrintSelf (ostream &os, vtkIndent indent)
 

Static Public Member Functions

static vtkCPUniformGridBuilderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCPUniformGridBuilderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCPGridBuilder
static int IsTypeOf (const char *type)
 
static vtkCPGridBuilderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCPBaseGridBuilder
static int IsTypeOf (const char *type)
 
static vtkCPBaseGridBuilderSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkCPUniformGridBuilder ()
 
 ~vtkCPUniformGridBuilder ()
 
- Protected Member Functions inherited from vtkCPGridBuilder
 vtkCPGridBuilder ()
 
 ~vtkCPGridBuilder ()
 
- Protected Member Functions inherited from vtkCPBaseGridBuilder
 vtkCPBaseGridBuilder ()
 
 ~vtkCPBaseGridBuilder ()
 

Detailed Description

Class for creating uniform grids.

Class for creating vtkUniformGrids for a test driver.

Definition at line 31 of file vtkCPUniformGridBuilder.h.

Member Typedef Documentation

◆ Superclass

Definition at line 35 of file vtkCPUniformGridBuilder.h.

Constructor & Destructor Documentation

◆ vtkCPUniformGridBuilder()

vtkCPUniformGridBuilder::vtkCPUniformGridBuilder ( )
protected

◆ ~vtkCPUniformGridBuilder()

vtkCPUniformGridBuilder::~vtkCPUniformGridBuilder ( )
protected

Member Function Documentation

◆ New()

static vtkCPUniformGridBuilder* vtkCPUniformGridBuilder::New ( )
static

◆ GetClassName()

virtual const char* vtkCPUniformGridBuilder::GetClassName ( )
virtual

Reimplemented from vtkCPGridBuilder.

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkCPGridBuilder.

◆ SafeDownCast()

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

◆ PrintSelf()

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

◆ GetGrid()

virtual vtkDataObject* vtkCPUniformGridBuilder::GetGrid ( unsigned long  timeStep,
double  time,
int &  builtNewGrid 
)
virtual

Return a grid.

BuiltNewGrid is set to 0 if the grids that were returned were already built before. vtkCPUniformGridBuilder will also delete the grid.

Implements vtkCPGridBuilder.

◆ SetDimensions() [1/2]

virtual void vtkCPUniformGridBuilder::SetDimensions ( int  ,
int  ,
int   
)
virtual

Set/get the Dimensions of the uniform grid.

◆ SetDimensions() [2/2]

virtual void vtkCPUniformGridBuilder::SetDimensions ( int  [3])
virtual

Set/get the Dimensions of the uniform grid.

◆ GetDimensions()

int* vtkCPUniformGridBuilder::GetDimensions ( )

Set/get the Dimensions of the uniform grid.

◆ SetSpacing() [1/2]

virtual void vtkCPUniformGridBuilder::SetSpacing ( double  ,
double  ,
double   
)
virtual

Set/get the Dimensions of the uniform grid.

◆ SetSpacing() [2/2]

virtual void vtkCPUniformGridBuilder::SetSpacing ( double  [3])
virtual

Set/get the Dimensions of the uniform grid.

◆ GetSpacing()

double* vtkCPUniformGridBuilder::GetSpacing ( )

Set/get the Dimensions of the uniform grid.

◆ SetOrigin() [1/2]

virtual void vtkCPUniformGridBuilder::SetOrigin ( double  ,
double  ,
double   
)
virtual

Set/get the Dimensions of the uniform grid.

◆ SetOrigin() [2/2]

virtual void vtkCPUniformGridBuilder::SetOrigin ( double  [3])
virtual

Set/get the Dimensions of the uniform grid.

◆ GetOrigin()

double* vtkCPUniformGridBuilder::GetOrigin ( )

Set/get the Dimensions of the uniform grid.

◆ GetUniformGrid()

vtkUniformGrid* vtkCPUniformGridBuilder::GetUniformGrid ( )

Get the UniformGrid.

◆ CreateUniformGrid()

bool vtkCPUniformGridBuilder::CreateUniformGrid ( )

Create UniformGrid with the current parameters.

Returns true if a new grid was created and false otherwise.


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