Go to the documentation of this file.
46 #ifndef vtkFieldData_h
47 #define vtkFieldData_h
49 #include "vtkCommonDataModelModule.h"
68 virtual void Initialize();
92 void AllocateArrays(
int num);
102 return this->NumberOfActiveArrays;
116 virtual void RemoveArray(
const char *
name);
117 virtual void RemoveArray(
int index);
143 return this->GetArray(arrayName, i);
169 return this->GetAbstractArray(arrayName, i);
182 return array ? 1 : 0;
226 virtual void CopyAllOn(
int unused=0);
237 virtual void CopyAllOff(
int unused=0);
266 virtual unsigned long GetActualMemorySize();
291 int GetArrayContainingComponent(
int i,
int& arrayComp);
302 int GetNumberOfComponents();
324 void SetNumberOfTuples(const
vtkIdType number);
352 int NumberOfActiveArrays;
363 virtual
void InitializeFields();
373 void CopyFieldOnOff(
const char*
name,
int onOff);
374 void ClearFieldFlags();
375 int FindFlag(
const char*
field);
376 int GetFlag(
const char*
field);
384 void operator=(
const vtkFieldData&) VTK_DELETE_FUNCTION;
396 void PrintSelf(ostream &os,
vtkIndent indent);
400 return this->ListSize;
404 return this->List[this->Position];
409 return this->NextIndex();
413 return (this->Position >= this->ListSize);
418 return (this->End() ? -1 : this->List[this->Position]);
436 unsigned int listSize=0);
455 vtkDataArray* cur = Fields->GetArray(this->List[this->Position]);
456 return (cur? cur : this->Next());
459 void DetachFieldData();
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
vtkAbstractArray * GetAbstractArray(const char *arrayName)
Return the array with the name given.
vtkDataArray * GetArray(const char *arrayName)
Return the array with the name given.
const char * GetArrayName(int i)
Get the name of ith array.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract base class for most VTK objects
abstract superclass for arrays of numeric data
CopyFieldFlag * CopyFieldFlags
represent and manipulate fields of data
vtkTypeUInt64 vtkMTimeType
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual vtkMTimeType GetMTime()
Return this object's modified time.
a simple class to control print indentation
BasicIterator & operator=(const BasicIterator &source)
int HasArray(const char *name)
Return 1 if an array with the given name could be found.
list of point or cell ids
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void CopyFieldOff(const char *name)
Abstract superclass for all arrays.
int GetNumberOfArrays()
Get the number of arrays of data available.
void CopyFieldOn(const char *name)
Turn on/off the copying of the field specified by name.