VMTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkvmtkStaticTemporalInterpolatedVelocityField Class Reference

A concrete class for obtaining the interpolated velocity values at a point. More...

#include <vtkvmtkStaticTemporalInterpolatedVelocityField.h>

Inheritance diagram for vtkvmtkStaticTemporalInterpolatedVelocityField:
[legend]
Collaboration diagram for vtkvmtkStaticTemporalInterpolatedVelocityField:
[legend]

Public Types

typedef vtkAbstractInterpolatedVelocityField Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkvmtkStaticTemporalInterpolatedVelocityFieldNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void AddDataSet (vtkDataSet *dataset)
 
virtual vtkTable * GetTimeStepsTable ()
 
virtual void SetTimeStepsTable (vtkTable *)
 
virtual void SetPeriodic (int)
 
virtual int GetPeriodic ()
 
virtual void PeriodicOn ()
 
virtual void PeriodicOff ()
 
virtual void SetVelocityScale (double)
 
virtual double GetVelocityScale ()
 
virtual void SetUseVectorComponents (int)
 
virtual int GetUseVectorComponents ()
 
virtual void UseVectorComponentsOn ()
 
virtual void UseVectorComponentsOff ()
 
virtual void SetVectorPrefix (const char *)
 
virtual char * GetVectorPrefix ()
 
virtual void SetComponent0Prefix (const char *)
 
virtual char * GetComponent0Prefix ()
 
virtual void SetComponent1Prefix (const char *)
 
virtual char * GetComponent1Prefix ()
 
virtual void SetComponent2Prefix (const char *)
 
virtual char * GetComponent2Prefix ()
 
virtual int FunctionValues (double *x, double *f) VTK_OVERRIDE
 
virtual void SetLastCellId (vtkIdType c, int dataindex) VTK_OVERRIDE
 
virtual void CopyParameters (vtkAbstractInterpolatedVelocityField *from) VTK_OVERRIDE
 
virtual void SetLastCellId (vtkIdType c) VTK_OVERRIDE
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkvmtkStaticTemporalInterpolatedVelocityFieldSafeDownCast (vtkObjectBase *o)
 
static vtkvmtkStaticTemporalInterpolatedVelocityFieldNew ()
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkvmtkStaticTemporalInterpolatedVelocityField ()
 
 ~vtkvmtkStaticTemporalInterpolatedVelocityField ()
 
virtual int FunctionValues (vtkDataSet *ds, double *x, double *f) VTK_OVERRIDE
 
void FindTimeRowId (double time, int &prevRowId, int &nextRowId, double &p)
 
void BuildArrayName (char *prefix, int index, char *name)
 

Protected Attributes

vtkTable * TimeStepsTable
 
int Periodic
 
double VelocityScale
 
int UseVectorComponents
 
char * VectorPrefix
 
char * Component0Prefix
 
char * Component1Prefix
 
char * Component2Prefix
 

Detailed Description

A concrete class for obtaining the interpolated velocity values at a point.

Definition at line 53 of file vtkvmtkStaticTemporalInterpolatedVelocityField.h.

Member Typedef Documentation

◆ Superclass

typedef vtkAbstractInterpolatedVelocityField vtkvmtkStaticTemporalInterpolatedVelocityField::Superclass

Constructor & Destructor Documentation

◆ vtkvmtkStaticTemporalInterpolatedVelocityField()

vtkvmtkStaticTemporalInterpolatedVelocityField::vtkvmtkStaticTemporalInterpolatedVelocityField ( )
protected

◆ ~vtkvmtkStaticTemporalInterpolatedVelocityField()

vtkvmtkStaticTemporalInterpolatedVelocityField::~vtkvmtkStaticTemporalInterpolatedVelocityField ( )
protected

Member Function Documentation

◆ IsTypeOf()

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

◆ IsA()

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

◆ SafeDownCast()

static vtkvmtkStaticTemporalInterpolatedVelocityField* vtkvmtkStaticTemporalInterpolatedVelocityField::SafeDownCast ( vtkObjectBase *  o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkvmtkStaticTemporalInterpolatedVelocityField::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkvmtkStaticTemporalInterpolatedVelocityField* vtkvmtkStaticTemporalInterpolatedVelocityField::NewInstance ( ) const

◆ PrintSelf()

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

◆ New()

static vtkvmtkStaticTemporalInterpolatedVelocityField* vtkvmtkStaticTemporalInterpolatedVelocityField::New ( )
static

Construct a vtkvmtkStaticTemporalInterpolatedVelocityField without an initial dataset. Caching is set on and LastCellId is set to -1.

◆ AddDataSet()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::AddDataSet ( vtkDataSet *  dataset)
virtual

Add a dataset used for the implicit function evaluation. If more than one dataset is added, the evaluation point is searched in all until a match is found. THIS FUNCTION DOES NOT CHANGE THE REFERENCE COUNT OF DATASET FOR THREAD SAFETY REASONS.

◆ GetTimeStepsTable()

virtual vtkTable* vtkvmtkStaticTemporalInterpolatedVelocityField::GetTimeStepsTable ( )
virtual

◆ SetTimeStepsTable()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::SetTimeStepsTable ( vtkTable *  )
virtual

◆ SetPeriodic()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::SetPeriodic ( int  )
virtual

◆ GetPeriodic()

virtual int vtkvmtkStaticTemporalInterpolatedVelocityField::GetPeriodic ( )
virtual

◆ PeriodicOn()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::PeriodicOn ( )
virtual

◆ PeriodicOff()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::PeriodicOff ( )
virtual

◆ SetVelocityScale()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::SetVelocityScale ( double  )
virtual

◆ GetVelocityScale()

virtual double vtkvmtkStaticTemporalInterpolatedVelocityField::GetVelocityScale ( )
virtual

◆ SetUseVectorComponents()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::SetUseVectorComponents ( int  )
virtual

◆ GetUseVectorComponents()

virtual int vtkvmtkStaticTemporalInterpolatedVelocityField::GetUseVectorComponents ( )
virtual

◆ UseVectorComponentsOn()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::UseVectorComponentsOn ( )
virtual

◆ UseVectorComponentsOff()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::UseVectorComponentsOff ( )
virtual

◆ SetVectorPrefix()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::SetVectorPrefix ( const char *  )
virtual

◆ GetVectorPrefix()

virtual char* vtkvmtkStaticTemporalInterpolatedVelocityField::GetVectorPrefix ( )
virtual

◆ SetComponent0Prefix()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::SetComponent0Prefix ( const char *  )
virtual

◆ GetComponent0Prefix()

virtual char* vtkvmtkStaticTemporalInterpolatedVelocityField::GetComponent0Prefix ( )
virtual

◆ SetComponent1Prefix()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::SetComponent1Prefix ( const char *  )
virtual

◆ GetComponent1Prefix()

virtual char* vtkvmtkStaticTemporalInterpolatedVelocityField::GetComponent1Prefix ( )
virtual

◆ SetComponent2Prefix()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::SetComponent2Prefix ( const char *  )
virtual

◆ GetComponent2Prefix()

virtual char* vtkvmtkStaticTemporalInterpolatedVelocityField::GetComponent2Prefix ( )
virtual

◆ FunctionValues() [1/2]

virtual int vtkvmtkStaticTemporalInterpolatedVelocityField::FunctionValues ( double *  x,
double *  f 
)
virtual

Evaluate the velocity field f at point (x, y, z, t).

◆ SetLastCellId() [1/2]

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::SetLastCellId ( vtkIdType  c,
int  dataindex 
)
virtual

Set the cell id cached by the last evaluation within a specified dataset.

◆ SetLastCellId() [2/2]

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::SetLastCellId ( vtkIdType  c)
inlinevirtual

Set the cell id cached by the last evaluation.

Definition at line 120 of file vtkvmtkStaticTemporalInterpolatedVelocityField.h.

121  { this->Superclass::SetLastCellId( c ); }

◆ CopyParameters()

virtual void vtkvmtkStaticTemporalInterpolatedVelocityField::CopyParameters ( vtkAbstractInterpolatedVelocityField *  from)
virtual

◆ FunctionValues() [2/2]

virtual int vtkvmtkStaticTemporalInterpolatedVelocityField::FunctionValues ( vtkDataSet *  ds,
double *  x,
double *  f 
)
protectedvirtual

Evaluate the velocity field f at point (x, y, z) in a specified dataset by either involving vtkPointLocator, via vtkPointSet::FindCell(), in locating the next cell (for datasets of type vtkPointSet) or simply invoking vtkImageData/vtkRectilinearGrid::FindCell() to fulfill the same task if the point is outside the current cell.

◆ FindTimeRowId()

void vtkvmtkStaticTemporalInterpolatedVelocityField::FindTimeRowId ( double  time,
int &  prevRowId,
int &  nextRowId,
double &  p 
)
protected

◆ BuildArrayName()

void vtkvmtkStaticTemporalInterpolatedVelocityField::BuildArrayName ( char *  prefix,
int  index,
char *  name 
)
protected

Member Data Documentation

◆ TimeStepsTable

vtkTable* vtkvmtkStaticTemporalInterpolatedVelocityField::TimeStepsTable
protected

◆ Periodic

int vtkvmtkStaticTemporalInterpolatedVelocityField::Periodic
protected

◆ VelocityScale

double vtkvmtkStaticTemporalInterpolatedVelocityField::VelocityScale
protected

◆ UseVectorComponents

int vtkvmtkStaticTemporalInterpolatedVelocityField::UseVectorComponents
protected

◆ VectorPrefix

char* vtkvmtkStaticTemporalInterpolatedVelocityField::VectorPrefix
protected

◆ Component0Prefix

char* vtkvmtkStaticTemporalInterpolatedVelocityField::Component0Prefix
protected

◆ Component1Prefix

char* vtkvmtkStaticTemporalInterpolatedVelocityField::Component1Prefix
protected

◆ Component2Prefix

char* vtkvmtkStaticTemporalInterpolatedVelocityField::Component2Prefix
protected

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