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) override
 
vtkDataObjectGetGrid (unsigned long timeStep, double time, int &builtNewGrid) override
 Return a grid. More...
 
vtkUniformGridGetUniformGrid ()
 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...
 
intGetDimensions ()
 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...
 
doubleGetSpacing ()
 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...
 
doubleGetOrigin ()
 Set/get the Dimensions of the uniform grid. More...
 
- Public Member Functions inherited from vtkCPGridBuilder
void SetFieldBuilder (vtkCPBaseFieldBuilder *fieldBuilder)
 Set/get the FieldBuilder. More...
 
vtkCPBaseFieldBuilderGetFieldBuilder ()
 Set/get the FieldBuilder. More...
 
- Public Member Functions inherited from vtkObject
 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)
 
vtkCommandGetCommand (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)
 
vtkCommandGetCommand (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)
 
- Public Member Functions inherited from vtkObjectBase
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 &)
 

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)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkCPUniformGridBuilder ()
 
 ~vtkCPUniformGridBuilder () override
 
- Protected Member Functions inherited from vtkCPGridBuilder
 vtkCPGridBuilder ()
 
 ~vtkCPGridBuilder () override
 
- Protected Member Functions inherited from vtkCPBaseGridBuilder
 vtkCPBaseGridBuilder ()
 
 ~vtkCPBaseGridBuilder () override
 
- Protected Member Functions inherited from vtkObject
 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 ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Additional Inherited Members

- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

Class for creating uniform grids.

Class for creating vtkUniformGrids for a test driver.

Definition at line 19 of file vtkCPUniformGridBuilder.h.

Member Typedef Documentation

◆ Superclass

Definition at line 23 of file vtkCPUniformGridBuilder.h.

Constructor & Destructor Documentation

◆ vtkCPUniformGridBuilder()

vtkCPUniformGridBuilder::vtkCPUniformGridBuilder ( )
protected

◆ ~vtkCPUniformGridBuilder()

vtkCPUniformGridBuilder::~vtkCPUniformGridBuilder ( )
overrideprotected

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 
)
overridevirtual

Reimplemented from vtkCPGridBuilder.

◆ GetGrid()

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

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: