VTK  9.2.6
vtkDataArray.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkDataArray.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
34
35#ifndef vtkDataArray_h
36#define vtkDataArray_h
37
38#include "vtkAbstractArray.h"
39#include "vtkCommonCoreModule.h" // For export macro
40#include "vtkVTK_USE_SCALED_SOA_ARRAYS.h" // For #define of VTK_USE_SCALED_SOA_ARRAYS
41
42class vtkDoubleArray;
43class vtkIdList;
46class vtkLookupTable;
47class vtkPoints;
48
49class VTKCOMMONCORE_EXPORT vtkDataArray : public vtkAbstractArray
50{
51public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54
61 static vtkDataArray* FastDownCast(vtkAbstractArray* source);
62
69 int IsNumeric() const override { return 1; }
70
76 int GetElementComponentSize() const override { return this->GetDataTypeSize(); }
77
78 // Reimplemented virtuals (doc strings are inherited from superclass):
80
85 void InsertTuple(vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray* source) override;
87 void InsertTuples(vtkIdList* dstIds, vtkIdList* srcIds, vtkAbstractArray* source) override;
89 vtkIdType dstStart, vtkIdType n, vtkIdType srcStart, vtkAbstractArray* source) override;
91 vtkIdType dstStart, vtkIdList* srcIds, vtkAbstractArray* source) override;
92 void SetTuple(vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray* source) override;
94 void GetTuples(vtkIdList* tupleIds, vtkAbstractArray* output) override;
95 void GetTuples(vtkIdType p1, vtkIdType p2, vtkAbstractArray* output) override;
97 double* weights) override;
98 void InterpolateTuple(vtkIdType dstTupleIdx, vtkIdType srcTupleIdx1, vtkAbstractArray* source1,
99 vtkIdType srcTupleIdx2, vtkAbstractArray* source2, double t) override;
100
106 virtual double* GetTuple(vtkIdType tupleIdx)
107 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples()) = 0;
108
114 virtual void GetTuple(vtkIdType tupleIdx, double* tuple)
115 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples()) = 0;
116
118
123 double GetTuple1(vtkIdType tupleIdx) VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples());
124 double* GetTuple2(vtkIdType tupleIdx) VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples())
125 VTK_SIZEHINT(2);
126 double* GetTuple3(vtkIdType tupleIdx) VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples())
127 VTK_SIZEHINT(3);
128 double* GetTuple4(vtkIdType tupleIdx) VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples())
129 VTK_SIZEHINT(4);
130 double* GetTuple6(vtkIdType tupleIdx) VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples())
131 VTK_SIZEHINT(6);
132 double* GetTuple9(vtkIdType tupleIdx) VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples())
133 VTK_SIZEHINT(9);
135
137
142 virtual void SetTuple(vtkIdType tupleIdx, const float* tuple)
143 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples());
144 virtual void SetTuple(vtkIdType tupleIdx, const double* tuple)
145 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples());
147
149
154 void SetTuple1(vtkIdType tupleIdx, double value)
155 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples());
156 void SetTuple2(vtkIdType tupleIdx, double val0, double val1)
157 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples());
158 void SetTuple3(vtkIdType tupleIdx, double val0, double val1, double val2)
159 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples());
160 void SetTuple4(vtkIdType tupleIdx, double val0, double val1, double val2, double val3)
161 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples());
162 void SetTuple6(vtkIdType tupleIdx, double val0, double val1, double val2, double val3,
163 double val4, double val5) VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples());
164 void SetTuple9(vtkIdType tupleIdx, double val0, double val1, double val2, double val3,
165 double val4, double val5, double val6, double val7, double val8)
166 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples());
168
170
174 virtual void InsertTuple(vtkIdType tupleIdx, const float* tuple) VTK_EXPECTS(0 <= tupleIdx) = 0;
175 virtual void InsertTuple(vtkIdType tupleIdx, const double* tuple) VTK_EXPECTS(0 <= tupleIdx) = 0;
177
179
184 void InsertTuple1(vtkIdType tupleIdx, double value) VTK_EXPECTS(0 <= tupleIdx);
185 void InsertTuple2(vtkIdType tupleIdx, double val0, double val1) VTK_EXPECTS(0 <= tupleIdx);
186 void InsertTuple3(vtkIdType tupleIdx, double val0, double val1, double val2)
187 VTK_EXPECTS(0 <= tupleIdx);
188 void InsertTuple4(vtkIdType tupleIdx, double val0, double val1, double val2, double val3)
189 VTK_EXPECTS(0 <= tupleIdx);
190 void InsertTuple6(vtkIdType tupleIdx, double val0, double val1, double val2, double val3,
191 double val4, double val5) VTK_EXPECTS(0 <= tupleIdx);
192 void InsertTuple9(vtkIdType tupleIdx, double val0, double val1, double val2, double val3,
193 double val4, double val5, double val6, double val7, double val8) VTK_EXPECTS(0 <= tupleIdx);
195
197
202 virtual vtkIdType InsertNextTuple(const float* tuple) = 0;
203 virtual vtkIdType InsertNextTuple(const double* tuple) = 0;
205
207
212 void InsertNextTuple1(double value);
213 void InsertNextTuple2(double val0, double val1);
214 void InsertNextTuple3(double val0, double val1, double val2);
215 void InsertNextTuple4(double val0, double val1, double val2, double val3);
217 double val0, double val1, double val2, double val3, double val4, double val5);
218 void InsertNextTuple9(double val0, double val1, double val2, double val3, double val4,
219 double val5, double val6, double val7, double val8);
221
223
228 virtual void RemoveTuple(vtkIdType tupleIdx)
229 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples()) = 0;
230 virtual void RemoveFirstTuple() { this->RemoveTuple(0); }
231 virtual void RemoveLastTuple();
233
238 virtual double GetComponent(vtkIdType tupleIdx, int compIdx) VTK_EXPECTS(0 <= tupleIdx &&
239 tupleIdx < GetNumberOfTuples()) VTK_EXPECTS(0 <= compIdx && compIdx < GetNumberOfComponents());
240
248 virtual void SetComponent(vtkIdType tupleIdx, int compIdx, double value)
249 VTK_EXPECTS(0 <= tupleIdx && tupleIdx < GetNumberOfTuples())
250 VTK_EXPECTS(0 <= compIdx && compIdx < GetNumberOfComponents());
251
256 virtual void InsertComponent(vtkIdType tupleIdx, int compIdx, double value)
257 VTK_EXPECTS(0 <= tupleIdx) VTK_EXPECTS(0 <= compIdx && compIdx < GetNumberOfComponents());
258
267 virtual void GetData(
268 vtkIdType tupleMin, vtkIdType tupleMax, int compMin, int compMax, vtkDoubleArray* data);
269
271
275 void DeepCopy(vtkAbstractArray* aa) override;
276 virtual void DeepCopy(vtkDataArray* da);
278
288 virtual void ShallowCopy(vtkDataArray* other);
289
296 virtual void FillComponent(int compIdx, double value)
297 VTK_EXPECTS(0 <= compIdx && compIdx < GetNumberOfComponents());
298
302 virtual void Fill(double value);
303
312 virtual void CopyComponent(int dstComponent, vtkDataArray* src, int srcComponent);
313
319 virtual void* WriteVoidPointer(vtkIdType valueIdx, vtkIdType numValues) = 0;
320
329 unsigned long GetActualMemorySize() const override;
330
336
338
342 vtkGetObjectMacro(LookupTable, vtkLookupTable);
344
346
363 void GetRange(double range[2], int comp) { this->ComputeRange(range, comp); }
364 void GetRange(double range[2], int comp, const unsigned char* ghosts, unsigned char ghostsToSkip)
365 {
366 this->ComputeRange(range, comp, ghosts, ghostsToSkip);
367 }
368
369
371
379 double* GetRange(int comp) VTK_SIZEHINT(2)
380 {
381 this->GetRange(this->Range, comp);
382 return this->Range;
383 }
384
385
393 double* GetRange() VTK_SIZEHINT(2) { return this->GetRange(0); }
394
403 void GetRange(double range[2]) { this->GetRange(range, 0); }
404
406
424 void GetFiniteRange(double range[2], int comp) { this->ComputeFiniteRange(range, comp); }
426 double range[2], int comp, const unsigned char* ghosts, unsigned char ghostsToSkip)
427 {
428 this->ComputeFiniteRange(range, comp, ghosts, ghostsToSkip);
429 }
430
431
433
441 double* GetFiniteRange(int comp) VTK_SIZEHINT(2)
442 {
443 this->GetFiniteRange(this->FiniteRange, comp);
444 return this->FiniteRange;
445 }
446
447
455 double* GetFiniteRange() VTK_SIZEHINT(2) { return this->GetFiniteRange(0); }
456
465 void GetFiniteRange(double range[2]) { this->GetFiniteRange(range, 0); }
466
468
473 void GetDataTypeRange(double range[2]);
476 static void GetDataTypeRange(int type, double range[2]);
477 static double GetDataTypeMin(int type);
478 static double GetDataTypeMax(int type);
480
485 virtual double GetMaxNorm();
486
496 static vtkDataArray* CreateDataArray(int dataType);
497
506
515
524
528 void Modified() override;
529
534
542 int CopyInformation(vtkInformation* infoFrom, int deep = 1) override;
543
547 int GetArrayType() const override { return DataArray; }
548
549protected:
550 friend class vtkPoints;
551 friend class vtkFieldData;
552
554
570 virtual void ComputeRange(double range[2], int comp);
571 virtual void ComputeRange(
572 double range[2], int comp, const unsigned char* ghosts, unsigned char ghostsToSkip = 0xff);
574
576
592 virtual void ComputeFiniteRange(double range[2], int comp);
593 virtual void ComputeFiniteRange(
594 double range[2], int comp, const unsigned char* ghosts, unsigned char ghostsToSkip = 0xff);
596
598
613 virtual bool ComputeScalarRange(double* ranges);
614 virtual bool ComputeScalarRange(
615 double* ranges, const unsigned char* ghosts, unsigned char ghostsToSkip = 0xff);
617
619
631 virtual bool ComputeVectorRange(double range[2]);
632 virtual bool ComputeVectorRange(
633 double range[2], const unsigned char* ghosts, unsigned char ghostsToSkip = 0xff);
635
637
651 virtual bool ComputeFiniteScalarRange(double* ranges);
653 double* ranges, const unsigned char* ghosts, unsigned char ghostsToSkip = 0xff);
655
657
669 virtual bool ComputeFiniteVectorRange(double range[2]);
671 double range[2], const unsigned char* ghosts, unsigned char ghostsToSkip = 0xff);
673
674 // Construct object with default tuple dimension (number of components) of 1.
676 ~vtkDataArray() override;
677
679 double Range[2];
680 double FiniteRange[2];
681
682private:
683 double* GetTupleN(vtkIdType i, int n);
684
685private:
686 vtkDataArray(const vtkDataArray&) = delete;
687 void operator=(const vtkDataArray&) = delete;
688};
689
690//------------------------------------------------------------------------------
692{
693 if (source)
694 {
695 switch (source->GetArrayType())
696 {
699 case TypedDataArray:
700 case DataArray:
701 case MappedDataArray:
702 return static_cast<vtkDataArray*>(source);
703 default:
704 break;
705 }
706 }
707 return nullptr;
708}
709
711
712// These are used by vtkDataArrayPrivate.txx, but need to be available to
713// vtkGenericDataArray.h as well.
715{
717{
718};
720{
721};
722}
723
724#endif
int GetNumberOfComponents() const
Set/Get the dimension (n) of the components.
vtkIdType GetNumberOfTuples() const
Get the number of complete tuples (a component group) in the array.
virtual int GetDataTypeSize() const =0
Return the size of the underlying data type.
virtual double * GetTuple(vtkIdType tupleIdx)=0
Get the data tuple at tupleIdx.
void InsertNextTuple1(double value)
These methods are included as convenience for the wrappers.
double * GetTuple4(vtkIdType tupleIdx)
These methods are included as convenience for the wrappers.
double * GetRange()
Return the range of the data array.
virtual void ComputeRange(double range[2], int comp, const unsigned char *ghosts, unsigned char ghostsToSkip=0xff)
Compute the range for a specific component.
static double GetDataTypeMin(int type)
These methods return the Min and Max possible range of the native data type.
virtual void FillComponent(int compIdx, double value)
Fill a component of a data array with a specified value.
double * GetTuple2(vtkIdType tupleIdx)
These methods are included as convenience for the wrappers.
void InterpolateTuple(vtkIdType dstTupleIdx, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights) override
Set the tuple at dstTupleIdx in this array to the interpolated tuple value, given the ptIndices in th...
double Range[2]
virtual bool ComputeScalarRange(double *ranges, const unsigned char *ghosts, unsigned char ghostsToSkip=0xff)
Computes the range for each component of an array, the length of ranges must be two times the number ...
virtual bool ComputeVectorRange(double range[2])
Returns true if the range was computed.
virtual void CopyComponent(int dstComponent, vtkDataArray *src, int srcComponent)
Copy a component from one data array into a component on this data array.
void InsertTuple9(vtkIdType tupleIdx, double val0, double val1, double val2, double val3, double val4, double val5, double val6, double val7, double val8)
These methods are included as convenience for the wrappers.
void SetTuple4(vtkIdType tupleIdx, double val0, double val1, double val2, double val3)
These methods are included as convenience for the wrappers.
int IsNumeric() const override
This method is here to make backward compatibility easier.
void CreateDefaultLookupTable()
Create default lookup table.
void DeepCopy(vtkAbstractArray *aa) override
Deep copy of data.
void SetTuple(vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray *source) override
See documentation from parent class.
void GetDataTypeRange(double range[2])
These methods return the Min and Max possible range of the native data type.
void InterpolateTuple(vtkIdType dstTupleIdx, vtkIdType srcTupleIdx1, vtkAbstractArray *source1, vtkIdType srcTupleIdx2, vtkAbstractArray *source2, double t) override
Insert the tuple at dstTupleIdx in this array to the tuple interpolated from the two tuple indices,...
double * GetTuple9(vtkIdType tupleIdx)
These methods are included as convenience for the wrappers.
virtual void ComputeRange(double range[2], int comp)
Compute the range for a specific component.
double * GetFiniteRange()
Return the range of the data array.
virtual bool ComputeScalarRange(double *ranges)
Computes the range for each component of an array, the length of ranges must be two times the number ...
void SetTuple9(vtkIdType tupleIdx, double val0, double val1, double val2, double val3, double val4, double val5, double val6, double val7, double val8)
These methods are included as convenience for the wrappers.
unsigned long GetActualMemorySize() const override
Return the memory in kibibytes (1024 bytes) consumed by this data array.
void InsertTuples(vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source) override
See documentation from parent class.
virtual bool ComputeFiniteVectorRange(double range[2], const unsigned char *ghosts, unsigned char ghostsToSkip=0xff)
Returns true if the range was computed.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void InsertNextTuple3(double val0, double val1, double val2)
These methods are included as convenience for the wrappers.
void InsertTuple2(vtkIdType tupleIdx, double val0, double val1)
These methods are included as convenience for the wrappers.
void InsertNextTuple4(double val0, double val1, double val2, double val3)
These methods are included as convenience for the wrappers.
virtual bool ComputeVectorRange(double range[2], const unsigned char *ghosts, unsigned char ghostsToSkip=0xff)
Returns true if the range was computed.
double * GetTuple6(vtkIdType tupleIdx)
These methods are included as convenience for the wrappers.
~vtkDataArray() override
int GetArrayType() const override
Method for type-checking in FastDownCast implementations.
int GetElementComponentSize() const override
Return the size, in bytes, of the lowest-level element of an array.
virtual bool ComputeFiniteVectorRange(double range[2])
Returns true if the range was computed.
void SetTuple1(vtkIdType tupleIdx, double value)
These methods are included as convenience for the wrappers.
virtual void RemoveTuple(vtkIdType tupleIdx)=0
These methods remove tuples from the data array.
static vtkInformationDoubleVectorKey * COMPONENT_RANGE()
This key is used to hold tight bounds on the range of one component over all tuples of the array.
void GetRange(double range[2], int comp)
The range of the data array values for the given component will be returned in the provided range arr...
virtual void RemoveLastTuple()
These methods remove tuples from the data array.
double * GetRange(int comp)
Return the range of the data array values for the given component.
void GetFiniteRange(double range[2], int comp)
The range of the data array values for the given component will be returned in the provided range arr...
void InsertNextTuple6(double val0, double val1, double val2, double val3, double val4, double val5)
These methods are included as convenience for the wrappers.
void GetTuples(vtkIdType p1, vtkIdType p2, vtkAbstractArray *output) override
Get the tuples for the range of tuple ids specified (i.e., p1->p2 inclusive).
static vtkInformationDoubleVectorKey * L2_NORM_RANGE()
This key is used to hold tight bounds on the $L_2$ norm of tuples in the array.
double GetDataTypeMin()
These methods return the Min and Max possible range of the native data type.
double FiniteRange[2]
void InsertTuple6(vtkIdType tupleIdx, double val0, double val1, double val2, double val3, double val4, double val5)
These methods are included as convenience for the wrappers.
friend class vtkPoints
virtual void SetComponent(vtkIdType tupleIdx, int compIdx, double value)
Set the data component at the location specified by tupleIdx and compIdx to value.
void InsertTuplesStartingAt(vtkIdType dstStart, vtkIdList *srcIds, vtkAbstractArray *source) override
See documentation from parent class.
virtual void ShallowCopy(vtkDataArray *other)
Create a shallow copy of other into this, if possible.
virtual void InsertComponent(vtkIdType tupleIdx, int compIdx, double value)
Insert value at the location specified by tupleIdx and compIdx.
void GetTuples(vtkIdList *tupleIds, vtkAbstractArray *output) override
Given a list of tuple ids, return an array of tuples.
virtual void GetTuple(vtkIdType tupleIdx, double *tuple)=0
Get the data tuple at tupleIdx by filling in a user-provided array, Make sure that your array is larg...
double GetTuple1(vtkIdType tupleIdx)
These methods are included as convenience for the wrappers.
static vtkInformationDoubleVectorKey * L2_NORM_FINITE_RANGE()
This key is used to hold tight bounds on the $L_2$ norm of tuples in the array.
double GetDataTypeMax()
These methods return the Min and Max possible range of the native data type.
virtual void GetData(vtkIdType tupleMin, vtkIdType tupleMax, int compMin, int compMax, vtkDoubleArray *data)
Get the data as a double array in the range (tupleMin,tupleMax) and (compMin, compMax).
int CopyInformation(vtkInformation *infoFrom, int deep=1) override
Copy information instance.
void SetLookupTable(vtkLookupTable *lut)
Set/get the lookup table associated with this scalar data, if any.
void GetRange(double range[2])
The range of the data array values will be returned in the provided range array argument.
static vtkDataArray * FastDownCast(vtkAbstractArray *source)
Perform a fast, safe cast from a vtkAbstractArray to a vtkDataArray.
void SetTuple6(vtkIdType tupleIdx, double val0, double val1, double val2, double val3, double val4, double val5)
These methods are included as convenience for the wrappers.
virtual double GetComponent(vtkIdType tupleIdx, int compIdx)
Return the data component at the location specified by tupleIdx and compIdx.
vtkIdType InsertNextTuple(vtkIdType srcTupleIdx, vtkAbstractArray *source) override
See documentation from parent class.
virtual void ComputeFiniteRange(double range[2], int comp)
Compute the range for a specific component.
void InsertNextTuple2(double val0, double val1)
These methods are included as convenience for the wrappers.
virtual void RemoveFirstTuple()
These methods remove tuples from the data array.
virtual double GetMaxNorm()
Return the maximum norm for the tuples.
void InsertTuple(vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray *source) override
See documentation from parent class.
void InsertTuple4(vtkIdType tupleIdx, double val0, double val1, double val2, double val3)
These methods are included as convenience for the wrappers.
void GetRange(double range[2], int comp, const unsigned char *ghosts, unsigned char ghostsToSkip)
The range of the data array values for the given component will be returned in the provided range arr...
static void GetDataTypeRange(int type, double range[2])
These methods return the Min and Max possible range of the native data type.
virtual void * WriteVoidPointer(vtkIdType valueIdx, vtkIdType numValues)=0
Get the address of a particular data index.
virtual bool ComputeFiniteScalarRange(double *ranges, const unsigned char *ghosts, unsigned char ghostsToSkip=0xff)
Computes the range for each component of an array, the length of ranges must be two times the number ...
virtual void ComputeFiniteRange(double range[2], int comp, const unsigned char *ghosts, unsigned char ghostsToSkip=0xff)
Compute the range for a specific component.
static vtkDataArray * CreateDataArray(int dataType)
Creates an array for dataType where dataType is one of VTK_BIT, VTK_CHAR, VTK_SIGNED_CHAR,...
void GetFiniteRange(double range[2], int comp, const unsigned char *ghosts, unsigned char ghostsToSkip)
The range of the data array values for the given component will be returned in the provided range arr...
void InsertTuple3(vtkIdType tupleIdx, double val0, double val1, double val2)
These methods are included as convenience for the wrappers.
void InsertNextTuple9(double val0, double val1, double val2, double val3, double val4, double val5, double val6, double val7, double val8)
These methods are included as convenience for the wrappers.
void SetTuple3(vtkIdType tupleIdx, double val0, double val1, double val2)
These methods are included as convenience for the wrappers.
void GetFiniteRange(double range[2])
The range of the data array values will be returned in the provided range array argument.
friend class vtkFieldData
double * GetFiniteRange(int comp)
Return the range of the data array values for the given component.
double * GetTuple3(vtkIdType tupleIdx)
These methods are included as convenience for the wrappers.
void InsertTuples(vtkIdType dstStart, vtkIdType n, vtkIdType srcStart, vtkAbstractArray *source) override
See documentation from parent class.
void SetTuple2(vtkIdType tupleIdx, double val0, double val1)
These methods are included as convenience for the wrappers.
void InsertTuple1(vtkIdType tupleIdx, double value)
These methods are included as convenience for the wrappers.
static vtkInformationStringKey * UNITS_LABEL()
A human-readable string indicating the units for the array data.
virtual bool ComputeFiniteScalarRange(double *ranges)
Computes the range for each component of an array, the length of ranges must be two times the number ...
void Modified() override
Removes out-of-date L2_NORM_RANGE() and L2_NORM_FINITE_RANGE() values.
static double GetDataTypeMax(int type)
These methods return the Min and Max possible range of the native data type.
vtkLookupTable * LookupTable
dynamic, self-adjusting array of double
list of point or cell ids
Definition vtkIdList.h:31
a simple class to control print indentation
Definition vtkIndent.h:34
Key for string values in vtkInformation.
Store vtkAlgorithm input/output information.
map scalar values into colors via a lookup table
represent and manipulate 3D points
Definition vtkPoints.h:34
#define vtkArrayDownCast_FastCastMacro(ArrayT)
This macro is used to tell vtkArrayDownCast to use FastDownCast instead of SafeDownCast.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
#define vtkDataArray
int vtkIdType
Definition vtkType.h:332
#define VTK_SIZEHINT(...)
#define VTK_EXPECTS(x)
#define VTK_NEWINSTANCE