|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkShortArray * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
| vtkTemplateTypeMacro (SelfType, GenericDataArrayType) |
|
ValueType | GetValue (vtkIdType valueIdx) const |
| Get the value at valueIdx.
|
|
void | SetValue (vtkIdType valueIdx, ValueType value) |
| Set the value at valueIdx to value.
|
|
ValueType | GetTypedComponent (vtkIdType tupleIdx, int comp) const |
| Get component comp of the tuple at tupleIdx.
|
|
void | SetArrayFreeFunction (void(*callback)(void *)) override |
| This method allows the user to specify a custom free function to be called when the array is deallocated.
|
|
void | SetTuple (vtkIdType tupleIdx, const float *tuple) override |
| Set the data tuple at tupleIdx.
|
|
void | SetTuple (vtkIdType tupleIdx, const double *tuple) override |
| Set the data tuple at tupleIdx.
|
|
void | SetTuple (vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray *source) override |
| Set the tuple at dstTupleIdx in this array to the tuple at srcTupleIdx in the source array.
|
|
void | InsertTuple (vtkIdType tupleIdx, const float *source) override |
| Insert the data tuple at tupleIdx.
|
|
void | InsertTuple (vtkIdType tupleIdx, const double *source) override |
| Insert the data tuple at tupleIdx.
|
|
void | InsertTuple (vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray *source) override |
| Insert the tuple at srcTupleIdx in the source array into this array at dstTupleIdx.
|
|
void | InsertComponent (vtkIdType tupleIdx, int compIdx, double value) override |
| Insert value at the location specified by tupleIdx and compIdx.
|
|
vtkIdType | InsertNextTuple (const float *tuple) override |
| Insert the data tuple at the end of the array and return the tuple index at which the data was inserted.
|
|
vtkIdType | InsertNextTuple (const double *tuple) override |
| Insert the data tuple at the end of the array and return the tuple index at which the data was inserted.
|
|
vtkIdType | InsertNextTuple (vtkIdType srcTupleIdx, vtkAbstractArray *source) override |
| Insert the tuple from srcTupleIdx in the source array at the end of this array.
|
|
void | GetTuple (vtkIdType tupleIdx, double *tuple) override |
| Get the data tuple at tupleIdx by filling in a user-provided array, Make sure that your array is large enough to hold the NumberOfComponents amount of data being returned.
|
|
double * | GetTuple (vtkIdType tupleIdx) override |
| Get the data tuple at tupleIdx.
|
|
void | DataElementChanged (vtkIdType) |
| Tell the array explicitly that a single data element has changed.
|
|
Iterator | Begin () |
|
Iterator | End () |
|
int | GetArrayType () const override |
| Method for type-checking in FastDownCast implementations.
|
|
vtkArrayIterator * | NewIterator () override |
| Subclasses must override this method and provide the right kind of templated vtkArrayIteratorTemplate.
|
|
bool | HasStandardMemoryLayout () const override |
| Returns true if this array uses the standard memory layout defined in the VTK user guide, e.g.
|
|
void | ShallowCopy (vtkDataArray *other) override |
| Create a shallow copy of other into this, if possible.
|
|
void | InsertTuples (vtkIdType dstStart, vtkIdType n, vtkIdType srcStart, vtkAbstractArray *source) override |
| Copy n consecutive tuples starting at srcStart from the source array to this array, starting at the dstStart location.
|
|
void | InsertTuples (vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source) override |
| Copy the tuples indexed in srcIds from the source array to the tuple locations indexed by dstIds in this array.
|
|
void | GetTypedTuple (vtkIdType tupleIdx, ValueType *tuple) const |
| Copy the tuple at tupleIdx into tuple.
|
|
void | SetTypedTuple (vtkIdType tupleIdx, const ValueType *tuple) |
| Set this array's tuple at tupleIdx to the values in tuple.
|
|
void | SetTypedComponent (vtkIdType tupleIdx, int comp, ValueType value) |
| Set component comp of the tuple at tupleIdx to value.
|
|
void | FillTypedComponent (int compIdx, ValueType value) override |
| Set component comp of all tuples to value.
|
|
void | FillValue (ValueType value) override |
| Set all the values in array to value.
|
|
void | Fill (double value) override |
| Set all the values in array to value.
|
|
ValueType * | WritePointer (vtkIdType valueIdx, vtkIdType numValues) |
| Get the address of a particular data index.
|
|
void * | WriteVoidPointer (vtkIdType valueIdx, vtkIdType numValues) override |
| Get the address of a particular data index.
|
|
ValueType * | GetPointer (vtkIdType valueIdx) |
| Get the address of a particular data index.
|
|
void * | GetVoidPointer (vtkIdType valueIdx) override |
| Get the address of a particular data index.
|
|
void | SetArray (ValueType *array, vtkIdType size, int save, int deleteMethod) |
| This method lets the user specify data to be held by the array.
|
|
void | SetArray (ValueType *array, vtkIdType size, int save) |
| This method lets the user specify data to be held by the array.
|
|
void | SetVoidArray (void *array, vtkIdType size, int save) override |
| This method lets the user specify data to be held by the array.
|
|
void | SetVoidArray (void *array, vtkIdType size, int save, int deleteMethod) override |
| This method lets the user specify data to be held by the array.
|
|
| vtkTemplateTypeMacro (SelfType, vtkDataArray) |
|
ValueType | GetValue (vtkIdType valueIdx) const |
| Get the value at valueIdx.
|
|
void | SetValue (vtkIdType valueIdx, ValueType value) |
| Set the value at valueIdx to value.
|
|
void | GetTypedTuple (vtkIdType tupleIdx, ValueType *tuple) const |
| Copy the tuple at tupleIdx into tuple.
|
|
void | SetTypedTuple (vtkIdType tupleIdx, const ValueType *tuple) |
| Set this array's tuple at tupleIdx to the values in tuple.
|
|
ValueType | GetTypedComponent (vtkIdType tupleIdx, int compIdx) const |
| Get component compIdx of the tuple at tupleIdx.
|
|
void | SetTypedComponent (vtkIdType tupleIdx, int compIdx, ValueType value) |
| Set component compIdx of the tuple at tupleIdx to value.
|
|
void | RemoveTuple (vtkIdType tupleIdx) override |
| Removes a tuple at the given index.
|
|
vtkIdType | InsertNextValue (ValueType value) |
| Insert data at the end of the array.
|
|
void | InsertValue (vtkIdType valueIdx, ValueType value) |
| Insert data at a specified position in the array.
|
|
void | InsertTypedTuple (vtkIdType tupleIdx, const ValueType *t) |
| Insert (memory allocation performed) the tuple t at tupleIdx.
|
|
vtkIdType | InsertNextTypedTuple (const ValueType *t) |
| Insert (memory allocation performed) the tuple onto the end of the array.
|
|
void | InsertTypedComponent (vtkIdType tupleIdx, int compIdx, ValueType val) |
| Insert (memory allocation performed) the value at the specified tuple and component location.
|
|
ValueType * | GetValueRange () |
| Get the range of array values for the 0th component in the native data type.
|
|
void | GetValueRange (ValueType range[2]) |
|
vtkIdType | Capacity () |
| Return the capacity in typeof T units of the current array.
|
|
virtual void | FillTypedComponent (int compIdx, ValueType value) |
| Set component comp of all tuples to value.
|
|
virtual void | FillValue (ValueType value) |
| Set all the values in array to value.
|
|
int | GetDataType () const override |
| Return the underlying data type.
|
|
int | GetDataTypeSize () const override |
| Return the size of the underlying data type.
|
|
bool | HasStandardMemoryLayout () const override |
| Returns true if this array uses the standard memory layout defined in the VTK user guide, e.g.
|
|
vtkTypeBool | Allocate (vtkIdType size, vtkIdType ext=1000) override |
| Allocate memory for this array.
|
|
vtkTypeBool | Resize (vtkIdType numTuples) override |
| Resize the array to the requested number of tuples and preserve data.
|
|
void | SetNumberOfComponents (int num) override |
| Set/Get the dimension (n) of the components.
|
|
void | SetNumberOfTuples (vtkIdType number) override |
| Set the number of tuples (a component group) in the array.
|
|
void | Initialize () override |
| Release storage and reset array to initial state.
|
|
void | Squeeze () override |
| Free any unnecessary memory.
|
|
void | SetTuple (vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray *source) override |
| Set the tuple at dstTupleIdx in this array to the tuple at srcTupleIdx in the source array.
|
|
void | SetTuple (vtkIdType tupleIdx, const float *tuple) override |
| Set the data tuple at tupleIdx.
|
|
void | SetTuple (vtkIdType tupleIdx, const double *tuple) override |
| Set the data tuple at tupleIdx.
|
|
void | InsertTuples (vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source) override |
| Copy the tuples indexed in srcIds from the source array to the tuple locations indexed by dstIds in this array.
|
|
void | InsertTuples (vtkIdType dstStart, vtkIdType n, vtkIdType srcStart, vtkAbstractArray *source) override |
| Copy n consecutive tuples starting at srcStart from the source array to this array, starting at the dstStart location.
|
|
void | InsertTuple (vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray *source) override |
| Insert the tuple at srcTupleIdx in the source array into this array at dstTupleIdx.
|
|
void | InsertTuple (vtkIdType tupleIdx, const float *source) override |
| Insert the data tuple at tupleIdx.
|
|
void | InsertTuple (vtkIdType tupleIdx, const double *source) override |
| Insert the data tuple at tupleIdx.
|
|
void | InsertComponent (vtkIdType tupleIdx, int compIdx, double value) override |
| Insert value at the location specified by tupleIdx and compIdx.
|
|
vtkIdType | InsertNextTuple (vtkIdType srcTupleIdx, vtkAbstractArray *source) override |
| Insert the tuple from srcTupleIdx in the source array at the end of this array.
|
|
vtkIdType | InsertNextTuple (const float *tuple) override |
| Insert the data tuple at the end of the array and return the tuple index at which the data was inserted.
|
|
vtkIdType | InsertNextTuple (const double *tuple) override |
| Insert the data tuple at the end of the array and return the tuple index at which the data was inserted.
|
|
void | GetTuples (vtkIdList *tupleIds, vtkAbstractArray *output) override |
| Given a list of tuple ids, return an array of tuples.
|
|
void | GetTuples (vtkIdType p1, vtkIdType p2, vtkAbstractArray *output) override |
| Get the tuples for the range of tuple ids specified (i.e., p1->p2 inclusive).
|
|
double * | GetTuple (vtkIdType tupleIdx) override |
| Get the data tuple at tupleIdx.
|
|
void | GetTuple (vtkIdType tupleIdx, double *tuple) override |
| Get the data tuple at tupleIdx by filling in a user-provided array, Make sure that your array is large enough to hold the NumberOfComponents amount of data being returned.
|
|
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 the source array and associated interpolation weights.
|
|
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, srcTupleIdx1 and srcTupleIdx2, and an interpolation factor, t.
|
|
void | SetComponent (vtkIdType tupleIdx, int compIdx, double value) override |
| Set the data component at the location specified by tupleIdx and compIdx to value.
|
|
double | GetComponent (vtkIdType tupleIdx, int compIdx) override |
| Return the data component at the location specified by tupleIdx and compIdx.
|
|
void | SetVariantValue (vtkIdType valueIdx, vtkVariant value) override |
| Set a value in the array from a variant.
|
|
vtkVariant | GetVariantValue (vtkIdType valueIdx) override |
| Retrieve value from the array as a variant.
|
|
void | InsertVariantValue (vtkIdType valueIdx, vtkVariant value) override |
| Insert a value into the array from a variant.
|
|
vtkIdType | LookupValue (vtkVariant value) override |
| Return the value indices where a specific value appears.
|
|
virtual vtkIdType | LookupTypedValue (ValueType value) |
|
void | LookupValue (vtkVariant value, vtkIdList *valueIds) override |
| Return the value indices where a specific value appears.
|
|
virtual void | LookupTypedValue (ValueType value, vtkIdList *valueIds) |
|
void | ClearLookup () override |
| Delete the associated fast lookup data structure on this array, if it exists.
|
|
void | DataChanged () override |
| Tell the array explicitly that the data has changed.
|
|
void | FillComponent (int compIdx, double value) override |
| Fill a component of a data array with a specified value.
|
|
vtkArrayIterator * | NewIterator () override |
| Subclasses must override this method and provide the right kind of templated vtkArrayIteratorTemplate.
|
|
ValueType * | GetPointer (vtkIdType valueIdx) |
| Default implementation raises a runtime error.
|
|
void | SetVoidArray (void *, vtkIdType, int) override |
| Default implementation raises a runtime error.
|
|
void | SetVoidArray (void *, vtkIdType, int, int) override |
| Default implementation raises a runtime error.
|
|
ValueType * | WritePointer (vtkIdType valueIdx, vtkIdType numValues) |
| Default implementation raises a runtime error.
|
|
void | GetValueRange (ValueType range[2], int comp) |
| Get the range of array values for the given component in the native data type.
|
|
ValueType * | GetValueRange (int comp) |
| Get the range of array values for the given component in the native data type.
|
|
void | GetFiniteValueRange (ValueType range[2], int comp) |
| These methods are analogous to the GetValueRange methods, except that the only consider finite values.
|
|
ValueType * | GetFiniteValueRange (int comp) |
| These methods are analogous to the GetValueRange methods, except that the only consider finite values.
|
|
ValueType * | GetFiniteValueRange () |
| These methods are analogous to the GetValueRange methods, except that the only consider finite values.
|
|
void | GetFiniteValueRange (ValueType range[2]) |
| These methods are analogous to the GetValueRange methods, except that the only consider finite values.
|
|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkDataArray * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
int | IsNumeric () const override |
| This method is here to make backward compatibility easier.
|
|
int | GetElementComponentSize () const override |
| Return the size, in bytes, of the lowest-level element of an array.
|
|
void | InsertTuple (vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray *source) override |
| Insert the tuple at srcTupleIdx in the source array into this array at dstTupleIdx.
|
|
vtkIdType | InsertNextTuple (vtkIdType srcTupleIdx, vtkAbstractArray *source) override |
| Insert the tuple from srcTupleIdx in the source array at the end of this array.
|
|
void | InsertTuples (vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source) override |
| Copy the tuples indexed in srcIds from the source array to the tuple locations indexed by dstIds in this array.
|
|
void | InsertTuples (vtkIdType dstStart, vtkIdType n, vtkIdType srcStart, vtkAbstractArray *source) override |
| Copy n consecutive tuples starting at srcStart from the source array to this array, starting at the dstStart location.
|
|
void | GetTuples (vtkIdList *tupleIds, vtkAbstractArray *output) override |
| Given a list of tuple ids, return an array of tuples.
|
|
void | GetTuples (vtkIdType p1, vtkIdType p2, vtkAbstractArray *output) override |
| Get the tuples for the range of tuple ids specified (i.e., p1->p2 inclusive).
|
|
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 the source array and associated interpolation weights.
|
|
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, srcTupleIdx1 and srcTupleIdx2, and an interpolation factor, t.
|
|
virtual double * | GetTuple (vtkIdType tupleIdx)=0 |
| Get the data tuple at tupleIdx.
|
|
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 large enough to hold the NumberOfComponents amount of data being returned.
|
|
void | SetTuple (vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray *source) override |
| Set the tuple at dstTupleIdx in this array to the tuple at srcTupleIdx in the source array.
|
|
virtual double | GetComponent (vtkIdType tupleIdx, int compIdx) |
| Return the data component at the location specified by tupleIdx and compIdx.
|
|
virtual void | SetComponent (vtkIdType tupleIdx, int compIdx, double value) |
| Set the data component at the location specified by tupleIdx and compIdx to value.
|
|
virtual void | InsertComponent (vtkIdType tupleIdx, int compIdx, double value) |
| Insert value at the location specified by tupleIdx and compIdx.
|
|
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).
|
|
virtual void | ShallowCopy (vtkDataArray *other) |
| Create a shallow copy of other into this, if possible.
|
|
virtual void | FillComponent (int compIdx, double value) |
| Fill a component of a data array with a specified value.
|
|
virtual void | Fill (double value) |
| Fill all values of a data array with a specified value.
|
|
virtual void | CopyComponent (int dstComponent, vtkDataArray *src, int srcComponent) |
| Copy a component from one data array into a component on this data array.
|
|
virtual void * | WriteVoidPointer (vtkIdType valueIdx, vtkIdType numValues)=0 |
| Get the address of a particular data index.
|
|
unsigned long | GetActualMemorySize () const override |
| Return the memory in kibibytes (1024 bytes) consumed by this data array.
|
|
void | CreateDefaultLookupTable () |
| Create default lookup table.
|
|
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 array argument.
|
|
double * | GetRange () |
| Return the range of the data array.
|
|
void | GetRange (double range[2]) |
| The range of the data array values will be returned in the provided range array argument.
|
|
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 array argument.
|
|
double * | GetFiniteRange () |
| Return the range of the data array.
|
|
void | GetFiniteRange (double range[2]) |
| The range of the data array values will be returned in the provided range array argument.
|
|
virtual double | GetMaxNorm () |
| Return the maximum norm for the tuples.
|
|
void | Modified () override |
| Removes out-of-date L2_NORM_RANGE() and L2_NORM_FINITE_RANGE() values.
|
|
int | CopyInformation (vtkInformation *infoFrom, int deep=1) override |
| Copy information instance.
|
|
int | GetArrayType () const override |
| Method for type-checking in FastDownCast implementations.
|
|
double | GetTuple1 (vtkIdType tupleIdx) |
| These methods are included as convenience for the wrappers.
|
|
double * | GetTuple2 (vtkIdType tupleIdx) |
| These methods are included as convenience for the wrappers.
|
|
double * | GetTuple3 (vtkIdType tupleIdx) |
| These methods are included as convenience for the wrappers.
|
|
double * | GetTuple4 (vtkIdType tupleIdx) |
| These methods are included as convenience for the wrappers.
|
|
double * | GetTuple6 (vtkIdType tupleIdx) |
| These methods are included as convenience for the wrappers.
|
|
double * | GetTuple9 (vtkIdType tupleIdx) |
| These methods are included as convenience for the wrappers.
|
|
void | SetTuple1 (vtkIdType tupleIdx, double value) |
| These methods are included as convenience for the wrappers.
|
|
void | SetTuple2 (vtkIdType tupleIdx, double val0, double val1) |
| 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 | SetTuple4 (vtkIdType tupleIdx, double val0, double val1, double val2, double val3) |
| These methods are included as convenience for the wrappers.
|
|
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.
|
|
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.
|
|
void | InsertTuple1 (vtkIdType tupleIdx, double value) |
| 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 | InsertTuple3 (vtkIdType tupleIdx, double val0, double val1, double val2) |
| These methods are included as convenience for the wrappers.
|
|
void | InsertTuple4 (vtkIdType tupleIdx, double val0, double val1, double val2, double val3) |
| These methods are included as convenience for the wrappers.
|
|
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.
|
|
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 | InsertNextTuple1 (double value) |
| These methods are included as convenience for the wrappers.
|
|
void | InsertNextTuple2 (double val0, double val1) |
| These methods are included as convenience for the wrappers.
|
|
void | InsertNextTuple3 (double val0, double val1, double val2) |
| 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.
|
|
void | InsertNextTuple6 (double val0, double val1, double val2, double val3, double val4, double val5) |
| 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.
|
|
virtual void | RemoveFirstTuple () |
| These methods remove tuples from the data array.
|
|
virtual void | RemoveLastTuple () |
| These methods remove tuples from the data array.
|
|
void | DeepCopy (vtkAbstractArray *aa) override |
| Deep copy of data.
|
|
virtual void | DeepCopy (vtkDataArray *da) |
| Deep copy of data.
|
|
void | SetLookupTable (vtkLookupTable *lut) |
| Set/get the lookup table associated with this scalar data, if any.
|
|
virtual vtkLookupTable * | GetLookupTable () |
| Set/get the lookup table associated with this scalar data, if any.
|
|
double * | GetRange (int comp) |
| Return the range of the data array values for the given component.
|
|
double * | GetFiniteRange (int comp) |
| Return the range of the data array values for the given component.
|
|
void | GetDataTypeRange (double range[2]) |
| These methods return the Min and Max possible range of the native data type.
|
|
double | GetDataTypeMin () |
| These methods return the Min and Max possible range of the native data type.
|
|
double | GetDataTypeMax () |
| These methods return the Min and Max possible range of the native data type.
|
|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkAbstractArray * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual vtkTypeBool | Allocate (vtkIdType numValues, vtkIdType ext=1000)=0 |
| Allocate memory for this array.
|
|
virtual void | Initialize ()=0 |
| Release storage and reset array to initial state.
|
|
virtual int | GetDataType () const =0 |
| Return the underlying data type.
|
|
virtual int | GetElementComponentSize () const =0 |
| Return the size, in bytes, of the lowest-level element of an array.
|
|
void | SetComponentName (vtkIdType component, const char *name) |
| Set the name for a component.
|
|
const char * | GetComponentName (vtkIdType component) const |
| Get the component name for a given component.
|
|
bool | HasAComponentName () const |
| Returns if any component has had a name assigned.
|
|
int | CopyComponentNames (vtkAbstractArray *da) |
| Copies the component names from the inputed array to the current array make sure that the current array has the same number of components as the input array.
|
|
virtual void | SetNumberOfTuples (vtkIdType numTuples)=0 |
| Set the number of tuples (a component group) in the array.
|
|
virtual bool | SetNumberOfValues (vtkIdType numValues) |
| Specify the number of values (tuples * components) for this object to hold.
|
|
vtkIdType | GetNumberOfTuples () const |
| Get the number of complete tuples (a component group) in the array.
|
|
vtkIdType | GetNumberOfValues () const |
| Get the total number of values in the array.
|
|
virtual void | SetTuple (vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray *source)=0 |
| Set the tuple at dstTupleIdx in this array to the tuple at srcTupleIdx in the source array.
|
|
virtual void | InsertTuple (vtkIdType dstTupleIdx, vtkIdType srcTupleIdx, vtkAbstractArray *source)=0 |
| Insert the tuple at srcTupleIdx in the source array into this array at dstTupleIdx.
|
|
virtual void | InsertTuples (vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source)=0 |
| Copy the tuples indexed in srcIds from the source array to the tuple locations indexed by dstIds in this array.
|
|
virtual void | InsertTuples (vtkIdType dstStart, vtkIdType n, vtkIdType srcStart, vtkAbstractArray *source)=0 |
| Copy n consecutive tuples starting at srcStart from the source array to this array, starting at the dstStart location.
|
|
virtual vtkIdType | InsertNextTuple (vtkIdType srcTupleIdx, vtkAbstractArray *source)=0 |
| Insert the tuple from srcTupleIdx in the source array at the end of this array.
|
|
virtual void | GetTuples (vtkIdList *tupleIds, vtkAbstractArray *output) |
| Given a list of tuple ids, return an array of tuples.
|
|
virtual void | GetTuples (vtkIdType p1, vtkIdType p2, vtkAbstractArray *output) |
| Get the tuples for the range of tuple ids specified (i.e., p1->p2 inclusive).
|
|
virtual bool | HasStandardMemoryLayout () const |
| Returns true if this array uses the standard memory layout defined in the VTK user guide, e.g.
|
|
virtual void * | GetVoidPointer (vtkIdType valueIdx)=0 |
| Return a void pointer.
|
|
virtual void | DeepCopy (vtkAbstractArray *da) |
| Deep copy of data.
|
|
virtual void | InterpolateTuple (vtkIdType dstTupleIdx, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights)=0 |
| Set the tuple at dstTupleIdx in this array to the interpolated tuple value, given the ptIndices in the source array and associated interpolation weights.
|
|
virtual void | InterpolateTuple (vtkIdType dstTupleIdx, vtkIdType srcTupleIdx1, vtkAbstractArray *source1, vtkIdType srcTupleIdx2, vtkAbstractArray *source2, double t)=0 |
| Insert the tuple at dstTupleIdx in this array to the tuple interpolated from the two tuple indices, srcTupleIdx1 and srcTupleIdx2, and an interpolation factor, t.
|
|
virtual void | Squeeze ()=0 |
| Free any unnecessary memory.
|
|
virtual vtkTypeBool | Resize (vtkIdType numTuples)=0 |
| Resize the array to the requested number of tuples and preserve data.
|
|
vtkIdType | GetSize () const |
| Return the size of the data.
|
|
vtkIdType | GetMaxId () const |
| What is the maximum id currently in the array.
|
|
virtual void | SetArrayFreeFunction (void(*callback)(void *))=0 |
| This method allows the user to specify a custom free function to be called when the array is deallocated.
|
|
virtual void | ExportToVoidPointer (void *out_ptr) |
| This method copies the array data to the void pointer specified by the user.
|
|
virtual unsigned long | GetActualMemorySize () const =0 |
| Return the memory in kibibytes (1024 bytes) consumed by this data array.
|
|
virtual const char * | GetDataTypeAsString (void) const |
| Get the name of a data type as a string.
|
|
virtual int | IsNumeric () const =0 |
| This method is here to make backward compatibility easier.
|
|
virtual vtkArrayIterator * | NewIterator ()=0 |
| Subclasses must override this method and provide the right kind of templated vtkArrayIteratorTemplate.
|
|
virtual vtkIdType | GetDataSize () const |
| Returns the size of the data in DataTypeSize units.
|
|
virtual vtkVariant | GetVariantValue (vtkIdType valueIdx) |
| Retrieve value from the array as a variant.
|
|
virtual void | InsertVariantValue (vtkIdType valueIdx, vtkVariant value)=0 |
| Insert a value into the array from a variant.
|
|
virtual void | SetVariantValue (vtkIdType valueIdx, vtkVariant value)=0 |
| Set a value in the array from a variant.
|
|
virtual void | DataChanged ()=0 |
| Tell the array explicitly that the data has changed.
|
|
virtual void | ClearLookup ()=0 |
| Delete the associated fast lookup data structure on this array, if it exists.
|
|
virtual void | GetProminentComponentValues (int comp, vtkVariantArray *values, double uncertainty=1.e-6, double minimumProminence=1.e-3) |
| Populate the given vtkVariantArray with a set of distinct values taken on by the requested component (or, when passed -1, by the tuples as a whole).
|
|
vtkInformation * | GetInformation () |
| Get an information object that can be used to annotate the array.
|
|
bool | HasInformation () const |
| Inquire if this array has an instance of vtkInformation already associated with it.
|
|
virtual int | CopyInformation (vtkInformation *infoFrom, int deep=1) |
| Copy information instance.
|
|
void | Modified () override |
| Removes out-of-date PER_COMPONENT() and PER_FINITE_COMPONENT() values.
|
|
virtual int | GetArrayType () const |
| Method for type-checking in FastDownCast implementations.
|
|
int | GetNumberOfComponents () const |
| Set/Get the dimension (n) of the components.
|
|
void | Reset () |
| Reset to an empty state, without freeing any memory.
|
|
virtual void | SetVoidArray (void *vtkNotUsed(array), vtkIdType vtkNotUsed(size), int vtkNotUsed(save))=0 |
| This method lets the user specify data to be held by the array.
|
|
virtual void | SetVoidArray (void *array, vtkIdType size, int save, int vtkNotUsed(deleteMethod)) |
| This method lets the user specify data to be held by the array.
|
|
virtual void | SetName (const char *) |
| Set/get array's name.
|
|
virtual char * | GetName () |
| Set/get array's name.
|
|
virtual unsigned int | GetMaxDiscreteValues () |
| Get/Set the maximum number of prominent values this array may contain before it is considered continuous.
|
|
virtual void | SetMaxDiscreteValues (unsigned int) |
| Get/Set the maximum number of prominent values this array may contain before it is considered continuous.
|
|
| 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) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
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.
|
|
vtkCommand * | GetCommand (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.
|
|
int | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not.
|
|
int | InvokeEvent (const char *event, void *callData) |
| This method invokes an event and return whether the event was aborted or not.
|
|
const char * | GetClassName () const |
| Return the class name as a string.
|
|
virtual vtkTypeBool | IsA (const char *name) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
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.
|
|
virtual 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.
|
|