VTK  9.5.20251120
vtkCellGridEvaluator Class Reference

Evaluate a field (vtkCellAttribute) at some points inside cells. More...

#include <vtkCellGridEvaluator.h>

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

Classes

struct  AllocationsByCellType
 Hold per-type input point assignment and an offset for output arrays. More...
 

Public Types

enum  Phases { None , Classify , ClassifyAndInterpolate , Interpolate }
 Indicate which phases of the query to perform. More...
 
typedef vtkCellGridQuery Superclass
 
- Public Types inherited from vtkCellGridQuery
typedef vtkObject Superclass
 

Public Member Functions

virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
vtkCellGridEvaluatorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
virtual void SetCellAttribute (vtkCellAttribute *)
 Set/get the cell-attribute to be evaluated.
 
virtual vtkCellAttributeGetCellAttribute ()
 
virtual vtkDataArrayGetInputPoints ()
 Get the input points to be classified and possibly interpolated.
 
virtual vtkTypeUInt32Array * GetClassifierCellTypes ()
 Get the discovered types of cells containing input points.
 
virtual vtkTypeUInt64Array * GetClassifierCellOffsets ()
 Get the offset into the result arrays where each cell-type's points reside.
 
virtual vtkTypeUInt64Array * GetClassifierPointIDs ()
 Get the array holding indices into the InputPoints array of each output.
 
virtual vtkTypeUInt64Array * GetClassifierCellIndices ()
 Get the array holding indices into cells of a given type that contain input points.
 
virtual vtkDataArrayGetClassifierPointParameters ()
 Get the array holding (r, s, t)-coordinates where each input point is located.
 
virtual vtkDataArrayGetInterpolatedValues ()
 Get the array holding cell-attribute values interpolated to each input point.
 
void ClassifyPoints (vtkDataArray *points)
 Configure the query to run the classifier but not the interpolator.
 
void InterpolatePoints (vtkDataArray *points)
 Configure the query to run the classifier followed by the interpolator.
 
void InterpolateCellParameters (vtkTypeUInt32Array *cellTypes, vtkTypeUInt64Array *cellOffsets, vtkTypeUInt64Array *cellIndices, vtkDataArray *pointParameters)
 Configure the query to run only the interpolator.
 
 vtkGetEnumMacro (PhasesToPerform, vtkCellGridEvaluator::Phases)
 Return what work the query has been configured to do.
 
bool Initialize () override
 Invoked during evaluation before any cell-grid responders are run.
 
void StartPass () override
 Invoked at the start of each pass.
 
bool IsAnotherPassRequired () override
 Invoked at the end of each pass.
 
bool Finalize () override
 Invoked during evaluation after all cell-grid responders are run.
 
virtual vtkStaticPointLocatorGetLocator ()
 
AllocationsByCellTypeGetAllocationsForCellType (vtkStringToken cellType)
 Return a reference to a cellType's allocated input points for responders to fill out.
 
- Public Member Functions inherited from vtkCellGridQuery
vtkCellGridQueryNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
virtual int GetPass ()
 Return the current pass (the number of times each responder has been evaluated so far).
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on.
 
virtual void DebugOff ()
 Turn debugging output off.
 
bool GetDebug ()
 Get the value of the debug flag.
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag.
 
virtual void Modified ()
 Update the modification time for this object.
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time.
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
vtkTypeBool HasObserver (unsigned long event)
 
vtkTypeBool HasObserver (const char *event)
 
vtkTypeBool InvokeEvent (unsigned long event)
 
vtkTypeBool InvokeEvent (const char *event)
 
std::string GetObjectDescription () const override
 The object description printed in messages and PrintSelf output.
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkCommandGetCommand (unsigned long tag)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObserver (vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObservers (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
void RemoveObservers (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object.
 
template<class U, class T>
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
 
template<class U, class T>
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
 
template<class U, class T>
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method.
 
vtkTypeBool InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not.
 
vtkTypeBool InvokeEvent (const char *event, void *callData)
 This method invokes an event and return whether the event was aborted or not.
 
virtual void SetObjectName (const std::string &objectName)
 Set/get the name of this object for reporting purposes.
 
virtual std::string GetObjectName () const
 Set/get the name of this object for reporting purposes.
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string.
 
virtual vtkIdType GetNumberOfGenerationsFromBase (const char *name)
 Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
 
virtual void Delete ()
 Delete a VTK object.
 
virtual void FastDelete ()
 Delete a reference to this object.
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream.
 
void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object).
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object).
 
int GetReferenceCount ()
 Return the current reference count of this object.
 
void SetReferenceCount (int)
 Sets the reference count.
 
bool GetIsInMemkind () const
 A local state flag that remembers whether this object lives in the normal or extended memory space.
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 
virtual bool UsesGarbageCollector () const
 Indicate whether the class uses vtkGarbageCollector or not.
 

Static Public Member Functions

static vtkCellGridEvaluatorNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkCellGridEvaluatorSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkCellGridQuery
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkCellGridQuerySafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes.
 
static void SetGlobalWarningDisplay (vtkTypeBool val)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
static vtkTypeBool GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class.
 
static vtkIdType GetNumberOfGenerationsFromBaseType (const char *name)
 Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void SetMemkindDirectory (const char *directoryname)
 The name of a directory, ideally mounted -o dax, to memory map an extended memory space within.
 
static bool GetUsingMemkind ()
 A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space.
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkCellGridEvaluator ()
 
 ~vtkCellGridEvaluator () override
 
virtual void SetInputPoints (vtkDataArray *)
 Set the input points to be classified and possibly interpolated.
 
virtual void SetClassifierCellTypes (vtkTypeUInt32Array *)
 Set the discovered types of cells containing input points.
 
virtual void SetClassifierCellOffsets (vtkTypeUInt64Array *)
 Set the offset into the result arrays where each cell-type's points reside.
 
virtual void SetClassifierPointIDs (vtkTypeUInt64Array *)
 Set the array holding indices into the InputPoints array of each output.
 
virtual void SetClassifierCellIndices (vtkTypeUInt64Array *)
 Set the array holding indices into cells of a given type that contain input points.
 
virtual void SetClassifierPointParameters (vtkDataArray *)
 Set the array holding (r, s, t)-coordinates where each input point is located.
 
virtual void SetInterpolatedValues (vtkDataArray *)
 Set the array holding cell-attribute values interpolated to each input point.
 
void AllocateClassificationOutput ()
 
void AllocatePositionOutput ()
 
void AllocateInterpolationOutput ()
 
- Protected Member Functions inherited from vtkCellGridQuery
 vtkCellGridQuery ()=default
 
 ~vtkCellGridQuery () override=default
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr)
 These methods allow a command to exclusively grab all events.
 
void InternalReleaseFocus ()
 These methods allow a command to exclusively grab all events.
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkCellGridCellGrid { nullptr }
 
vtkCellAttributeCellAttribute { nullptr }
 
vtkDataArrayInputPoints { nullptr }
 
vtkTypeUInt32Array * ClassifierCellTypes { nullptr }
 
vtkTypeUInt64Array * ClassifierCellOffsets { nullptr }
 
vtkTypeUInt64Array * ClassifierPointIDs { nullptr }
 
vtkTypeUInt64Array * ClassifierCellIndices { nullptr }
 
vtkDataArrayClassifierPointParameters { nullptr }
 
vtkDataArrayInterpolatedValues { nullptr }
 
vtkNew< vtkStaticPointLocatorLocator
 
Phases PhasesToPerform { Phases::None }
 Which of the phases are the arrays above configured to perform?
 
vtkIdType NumberOfOutputPoints { 0 }
 The total number of output points (across all cell types).
 
std::unordered_map< vtkStringToken, AllocationsByCellTypeAllocations
 Internal state used during classification to compute the size of the output arrays.
 
- Protected Attributes inherited from vtkCellGridQuery
int Pass { -1 }
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
std::string ObjectName
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkObjectBase
static vtkMallocingFunction GetCurrentMallocFunction ()
 
static vtkReallocingFunction GetCurrentReallocFunction ()
 
static vtkFreeingFunction GetCurrentFreeFunction ()
 
static vtkFreeingFunction GetAlternateFreeFunction ()
 

Detailed Description

Evaluate a field (vtkCellAttribute) at some points inside cells.

This class is a cell-grid query whose purpose is to determine the value a vtkCellAttribute takes on at one or more points inside the domain of a vtkCellGrid.

This class performs its work in two phases:

  • Classification. Input points are classified by the type and index of cell in the grid in which they lie.
  • Attribute/field interpolation. Each cell is asked to interpolate the value of a cell-attribute at each point classified to it.

As an example, consider a cell-grid holding 10 triangles and 20 quads and a query that is provided 5 points. The first phase will identify which of the 5 points are insides triangles, which lie in quadrilaterals, and which lie in neither. Say that 2 lie inside triangles, 2 inside quadrilaterals, and 1 is outside the domain. Furthermore, the first phase will identify which particular triangles or quadrilaterals contain the input points. The two points which lie in triangles will report a number in [0,10[ while the two points which lie in quadrilaterals will report a number in [0, 20[. Finally, for cells which have a reference element, the parametric coordinates of each input point are computed.

The second phase additionally interpolates a cell-attribute (let's say "Velocity" in our example) at each input point.

You may configure the query to skip either phase (classification or interpolation). If you skip classification, you must provide the the classification information for the input points. The method you call (ClassifyPoints, InterpolatePoints, or InterpolateCellParameters) determines which phase(s) are applied during evaluation.

When running in InterpolatePoints mode (both classification and interpolation phases are performed), the output from our example is reported like so:

  • GetClassifierCellTypes() – returns an array with a cell-type hash for each type of cell containing an input point. The hash value can be used to construct a vtkStringToken. Our example would return an array with 3 values which might be ordered: "vtkDGTri"_hash, "vtkDGQuad"_hash, and 0 (an "invalid" hash).
  • GetClassifierCellOffsets() – returns an array with the same number of values as the call above. Each value specifies the start of reporting for points contained in the corresponding cell type. Our example would return [0, 2, 4] to match the values above.
  • GetClassifierPointIDs() – returns an array whose length matches the number of input points. Each value is the index of an input point. Input points do not have their order preserved so that all the points contained in a single cell can be reported together. Our example might return [4, 2, 1, 0, 3]. This will always be a permutation of the counting integers and, for our example, always hold integers in [0, 5[.
  • GetClassifierCellIndices() – returns an array whose length matches the number of input points. Each value is the index into cells of the corresponding type, indicating which cell contains the input point. For our example, the first two numbers will be in [0, 10[, the second two will be in [0, 20[, and the last will be -1. (This is because we have two points inside 10 triangles, two points inside 20 quads, and one un-classifiable input point.)
  • GetClassifierPointParameters() – returns an array whose length matches the number of input points. Each value is a 3-tuple of reference-cell coordinates (or indeterminate if the cell type does not provide a reference cell).
  • GetInterpolatedValues() – returns an array whose number of tuples matches the number of input points and whose number of components matches the number of components of the requested cell-attribute. For our example, an array with 5 tuples of 3 components each would be returned; it would be named "Velocity" (matching the cell-attribute's name).

Note that because you can pass in the arrays above (except the interpolated values) to short-circuit classification, it is possible to evaluate multiple cell-attributes without duplicating the classification work.

In InterpolateCellParameters mode, calling the methods above which begin with GetClassifier… will simply return the input arrays you passed to configure the query.

Warnings

The output arrays above generally match the number of input points, but will sometimes exceed the number of input points. This will occur when multiple cells contain an input point (either on a shared boundary or because the cells overlap).

Note that the output should never have fewer points than the input as even points outside the cells will be classified as such.

Currently, this class is limited to evaluating numeric attributes; string or variant arrays are not supported.

Tests:
vtkCellGridEvaluator (Tests)

Definition at line 121 of file vtkCellGridEvaluator.h.

Member Typedef Documentation

◆ Superclass

Member Enumeration Documentation

◆ Phases

Indicate which phases of the query to perform.

Enumerator
None 
Classify 
ClassifyAndInterpolate 
Interpolate 

Definition at line 129 of file vtkCellGridEvaluator.h.

Constructor & Destructor Documentation

◆ vtkCellGridEvaluator()

vtkCellGridEvaluator::vtkCellGridEvaluator ( )
protected

◆ ~vtkCellGridEvaluator()

vtkCellGridEvaluator::~vtkCellGridEvaluator ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkCellGridEvaluator * vtkCellGridEvaluator::New ( )
static

◆ IsTypeOf()

static vtkTypeBool vtkCellGridEvaluator::IsTypeOf ( const char * type)
static

◆ IsA()

virtual vtkTypeBool vtkCellGridEvaluator::IsA ( const char * name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class.

Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkCellGridQuery.

◆ SafeDownCast()

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

◆ NewInstanceInternal()

virtual vtkObjectBase * vtkCellGridEvaluator::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkCellGridQuery.

◆ NewInstance()

vtkCellGridEvaluator * vtkCellGridEvaluator::NewInstance ( ) const

◆ PrintSelf()

void vtkCellGridEvaluator::PrintSelf ( ostream & os,
vtkIndent indent )
overridevirtual

Methods invoked by print to print information about the object including superclasses.

Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObjectBase.

◆ SetCellAttribute()

virtual void vtkCellGridEvaluator::SetCellAttribute ( vtkCellAttribute * )
virtual

Set/get the cell-attribute to be evaluated.

This must be set before the query is evaluated.

◆ GetCellAttribute()

virtual vtkCellAttribute * vtkCellGridEvaluator::GetCellAttribute ( )
virtual

◆ GetInputPoints()

virtual vtkDataArray * vtkCellGridEvaluator::GetInputPoints ( )
virtual

Get the input points to be classified and possibly interpolated.

These points are in world coordinates (not in reference cell coordinates).

◆ GetClassifierCellTypes()

virtual vtkTypeUInt32Array * vtkCellGridEvaluator::GetClassifierCellTypes ( )
virtual

Get the discovered types of cells containing input points.

◆ GetClassifierCellOffsets()

virtual vtkTypeUInt64Array * vtkCellGridEvaluator::GetClassifierCellOffsets ( )
virtual

Get the offset into the result arrays where each cell-type's points reside.

◆ GetClassifierPointIDs()

virtual vtkTypeUInt64Array * vtkCellGridEvaluator::GetClassifierPointIDs ( )
virtual

Get the array holding indices into the InputPoints array of each output.

◆ GetClassifierCellIndices()

virtual vtkTypeUInt64Array * vtkCellGridEvaluator::GetClassifierCellIndices ( )
virtual

Get the array holding indices into cells of a given type that contain input points.

◆ GetClassifierPointParameters()

virtual vtkDataArray * vtkCellGridEvaluator::GetClassifierPointParameters ( )
virtual

Get the array holding (r, s, t)-coordinates where each input point is located.

◆ GetInterpolatedValues()

virtual vtkDataArray * vtkCellGridEvaluator::GetInterpolatedValues ( )
virtual

Get the array holding cell-attribute values interpolated to each input point.

◆ ClassifyPoints()

void vtkCellGridEvaluator::ClassifyPoints ( vtkDataArray * points)

Configure the query to run the classifier but not the interpolator.

◆ InterpolatePoints()

void vtkCellGridEvaluator::InterpolatePoints ( vtkDataArray * points)

Configure the query to run the classifier followed by the interpolator.

◆ InterpolateCellParameters()

void vtkCellGridEvaluator::InterpolateCellParameters ( vtkTypeUInt32Array * cellTypes,
vtkTypeUInt64Array * cellOffsets,
vtkTypeUInt64Array * cellIndices,
vtkDataArray * pointParameters )

Configure the query to run only the interpolator.

Because interpolation usually requires classification information and parametric coordinates for each classified point, you must provide arrays holding this information.

◆ vtkGetEnumMacro()

vtkCellGridEvaluator::vtkGetEnumMacro ( PhasesToPerform ,
vtkCellGridEvaluator::Phases  )

Return what work the query has been configured to do.

◆ Initialize()

bool vtkCellGridEvaluator::Initialize ( )
overridevirtual

Invoked during evaluation before any cell-grid responders are run.

Reimplemented from vtkCellGridQuery.

◆ StartPass()

void vtkCellGridEvaluator::StartPass ( )
overridevirtual

Invoked at the start of each pass.

Reimplemented from vtkCellGridQuery.

◆ IsAnotherPassRequired()

bool vtkCellGridEvaluator::IsAnotherPassRequired ( )
overridevirtual

Invoked at the end of each pass.

Reimplemented from vtkCellGridQuery.

◆ Finalize()

bool vtkCellGridEvaluator::Finalize ( )
overridevirtual

Invoked during evaluation after all cell-grid responders are run.

Reimplemented from vtkCellGridQuery.

◆ GetLocator()

virtual vtkStaticPointLocator * vtkCellGridEvaluator::GetLocator ( )
virtual

◆ GetAllocationsForCellType()

AllocationsByCellType & vtkCellGridEvaluator::GetAllocationsForCellType ( vtkStringToken cellType)

Return a reference to a cellType's allocated input points for responders to fill out.

◆ SetInputPoints()

virtual void vtkCellGridEvaluator::SetInputPoints ( vtkDataArray * )
protectedvirtual

Set the input points to be classified and possibly interpolated.

These points are in world coordinates (not in reference cell coordinates).

◆ SetClassifierCellTypes()

virtual void vtkCellGridEvaluator::SetClassifierCellTypes ( vtkTypeUInt32Array * )
protectedvirtual

Set the discovered types of cells containing input points.

◆ SetClassifierCellOffsets()

virtual void vtkCellGridEvaluator::SetClassifierCellOffsets ( vtkTypeUInt64Array * )
protectedvirtual

Set the offset into the result arrays where each cell-type's points reside.

◆ SetClassifierPointIDs()

virtual void vtkCellGridEvaluator::SetClassifierPointIDs ( vtkTypeUInt64Array * )
protectedvirtual

Set the array holding indices into the InputPoints array of each output.

◆ SetClassifierCellIndices()

virtual void vtkCellGridEvaluator::SetClassifierCellIndices ( vtkTypeUInt64Array * )
protectedvirtual

Set the array holding indices into cells of a given type that contain input points.

◆ SetClassifierPointParameters()

virtual void vtkCellGridEvaluator::SetClassifierPointParameters ( vtkDataArray * )
protectedvirtual

Set the array holding (r, s, t)-coordinates where each input point is located.

◆ SetInterpolatedValues()

virtual void vtkCellGridEvaluator::SetInterpolatedValues ( vtkDataArray * )
protectedvirtual

Set the array holding cell-attribute values interpolated to each input point.

◆ AllocateClassificationOutput()

void vtkCellGridEvaluator::AllocateClassificationOutput ( )
protected

◆ AllocatePositionOutput()

void vtkCellGridEvaluator::AllocatePositionOutput ( )
protected

◆ AllocateInterpolationOutput()

void vtkCellGridEvaluator::AllocateInterpolationOutput ( )
protected

Member Data Documentation

◆ CellGrid

vtkCellGrid* vtkCellGridEvaluator::CellGrid { nullptr }
protected

Definition at line 238 of file vtkCellGridEvaluator.h.

◆ CellAttribute

vtkCellAttribute* vtkCellGridEvaluator::CellAttribute { nullptr }
protected

Definition at line 239 of file vtkCellGridEvaluator.h.

◆ InputPoints

vtkDataArray* vtkCellGridEvaluator::InputPoints { nullptr }
protected

Definition at line 240 of file vtkCellGridEvaluator.h.

◆ ClassifierCellTypes

vtkTypeUInt32Array* vtkCellGridEvaluator::ClassifierCellTypes { nullptr }
protected

Definition at line 241 of file vtkCellGridEvaluator.h.

◆ ClassifierCellOffsets

vtkTypeUInt64Array* vtkCellGridEvaluator::ClassifierCellOffsets { nullptr }
protected

Definition at line 242 of file vtkCellGridEvaluator.h.

◆ ClassifierPointIDs

vtkTypeUInt64Array* vtkCellGridEvaluator::ClassifierPointIDs { nullptr }
protected

Definition at line 243 of file vtkCellGridEvaluator.h.

◆ ClassifierCellIndices

vtkTypeUInt64Array* vtkCellGridEvaluator::ClassifierCellIndices { nullptr }
protected

Definition at line 244 of file vtkCellGridEvaluator.h.

◆ ClassifierPointParameters

vtkDataArray* vtkCellGridEvaluator::ClassifierPointParameters { nullptr }
protected

Definition at line 245 of file vtkCellGridEvaluator.h.

◆ InterpolatedValues

vtkDataArray* vtkCellGridEvaluator::InterpolatedValues { nullptr }
protected

Definition at line 246 of file vtkCellGridEvaluator.h.

◆ Locator

vtkNew<vtkStaticPointLocator> vtkCellGridEvaluator::Locator
protected

Definition at line 248 of file vtkCellGridEvaluator.h.

◆ PhasesToPerform

Phases vtkCellGridEvaluator::PhasesToPerform { Phases::None }
protected

Which of the phases are the arrays above configured to perform?

Definition at line 251 of file vtkCellGridEvaluator.h.

◆ NumberOfOutputPoints

vtkIdType vtkCellGridEvaluator::NumberOfOutputPoints { 0 }
protected

The total number of output points (across all cell types).

Definition at line 253 of file vtkCellGridEvaluator.h.

◆ Allocations

std::unordered_map<vtkStringToken, AllocationsByCellType> vtkCellGridEvaluator::Allocations
protected

Internal state used during classification to compute the size of the output arrays.

Definition at line 255 of file vtkCellGridEvaluator.h.


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