49 #ifndef __vtkDataSetAttributes_h
50 #define __vtkDataSetAttributes_h
110 int SetActiveScalars(
const char* name);
117 int SetActiveVectors(
const char* name);
124 int SetActiveNormals(
const char* name);
131 int SetActiveTCoords(
const char* name);
138 int SetActiveTensors(
const char* name);
145 int SetActiveGlobalIds(
const char* name);
152 int SetActivePedigreeIds(
const char* name);
176 int SetActiveAttribute(
const char* name,
int attributeType);
179 int SetActiveAttribute(
int index,
int attributeType);
183 void GetAttributeIndices(
int* indexArray);
189 int IsArrayAnAttribute(
int idx);
214 static const char* GetAttributeTypeAsString(
int attributeType);
215 static const char* GetLongAttributeTypeAsString(
int attributeType);
234 void SetCopyAttribute (
int index,
int value,
int ctype=ALLCOPY);
248 void SetCopyScalars(
int i,
int ctype=ALLCOPY);
249 int GetCopyScalars(
int ctype=ALLCOPY);
250 vtkBooleanMacro(CopyScalars,
int);
265 void SetCopyVectors(
int i,
int ctype=ALLCOPY);
266 int GetCopyVectors(
int ctype=ALLCOPY);
267 vtkBooleanMacro(CopyVectors,
int);
282 void SetCopyNormals(
int i,
int ctype=ALLCOPY);
283 int GetCopyNormals(
int ctype=ALLCOPY);
284 vtkBooleanMacro(CopyNormals,
int);
299 void SetCopyTCoords(
int i,
int ctype=ALLCOPY);
300 int GetCopyTCoords(
int ctype=ALLCOPY);
301 vtkBooleanMacro(CopyTCoords,
int);
316 void SetCopyTensors(
int i,
int ctype=ALLCOPY);
317 int GetCopyTensors(
int ctype=ALLCOPY);
318 vtkBooleanMacro(CopyTensors,
int);
333 void SetCopyGlobalIds(
int i,
int ctype=ALLCOPY);
334 int GetCopyGlobalIds(
int ctype=ALLCOPY);
335 vtkBooleanMacro(CopyGlobalIds,
int);
350 void SetCopyPedigreeIds(
int i,
int ctype=ALLCOPY);
351 int GetCopyPedigreeIds(
int ctype=ALLCOPY);
352 vtkBooleanMacro(CopyPedigreeIds,
int);
366 virtual void CopyAllOn(
int ctype=ALLCOPY);
406 this->CopyAllocate(pd, sze, ext, 0);
416 const int *inExt,
const int *outExt);
450 this->InterpolateAllocate(pd, sze, ext, 0);
531 void InterpolatePoint(
550 int shallowCopyArrays=0);
574 static int CheckNumberOfComponents(
vtkAbstractArray* da,
int attributeType);
586 class vtkInternalComponentNames;
592 void PrintSelf(ostream &os,
vtkIndent indent);
604 int IsAttributePresent(
int attrType);
611 int GetDSAIndex(
int index,
int i) {
return this->DSAIndices[index][i]; }
620 { this->FieldIndices[i] = index; }
623 void RemoveField(
const char *name);
625 void GrowBy(
unsigned int delta);
632 int *FieldComponents;
637 vtkInternalComponentNames **FieldComponentsNames;
647 int NumberOfDSAIndices;