VTK
vtkGenerateIndexArray.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGenerateIndexArray.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
44 #ifndef vtkGenerateIndexArray_h
45 #define vtkGenerateIndexArray_h
46 
47 #include "vtkInfovisCoreModule.h" // For export macro
48 #include "vtkDataObjectAlgorithm.h"
49 
51 {
52 public:
54 
56  void PrintSelf(ostream& os, vtkIndent indent);
57 
59 
60  vtkSetStringMacro(ArrayName);
61  vtkGetStringMacro(ArrayName);
63 
65 
66  vtkSetMacro(FieldType, int);
67  vtkGetMacro(FieldType, int);
69 
71 
72  vtkSetStringMacro(ReferenceArrayName);
73  vtkGetStringMacro(ReferenceArrayName);
75 
77 
79  vtkSetMacro(PedigreeID, int);
80  vtkGetMacro(PedigreeID, int);
82 
83 //BTX
84  enum
85  {
86  ROW_DATA = 0,
87  POINT_DATA = 1,
88  CELL_DATA = 2,
89  VERTEX_DATA = 3,
90  EDGE_DATA = 4
91  };
92 //ETX
93 
94 protected:
97 
98  virtual int ProcessRequest(
99  vtkInformation* request,
100  vtkInformationVector** inputVector,
101  vtkInformationVector* outputVector);
102 
103  virtual int RequestDataObject(
104  vtkInformation* request,
105  vtkInformationVector** inputVector,
106  vtkInformationVector* outputVector);
107 
112 
113  char* ArrayName;
117 
118 private:
119  vtkGenerateIndexArray(const vtkGenerateIndexArray&); // Not implemented.
120  void operator=(const vtkGenerateIndexArray&); // Not implemented.
121 };
122 
123 #endif
124 
VTKINFOVISCORE_EXPORT
#define VTKINFOVISCORE_EXPORT
Definition: vtkInfovisCoreModule.h:15
vtkGenerateIndexArray::FieldType
int FieldType
Definition: vtkGenerateIndexArray.h:114
vtkGenerateIndexArray::vtkGenerateIndexArray
vtkGenerateIndexArray()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkGenerateIndexArray::New
static vtkGenerateIndexArray * New()
vtkGenerateIndexArray::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkDataObjectAlgorithm
Superclass for algorithms that produce only data object as output.
Definition: vtkDataObjectAlgorithm.h:43
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkGenerateIndexArray
Definition: vtkGenerateIndexArray.h:51
vtkGenerateIndexArray::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkGenerateIndexArray::RequestDataObject
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkInfovisCoreModule.h
vtkGenerateIndexArray::ArrayName
char * ArrayName
Definition: vtkGenerateIndexArray.h:113
vtkGenerateIndexArray::PedigreeID
int PedigreeID
Definition: vtkGenerateIndexArray.h:116
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkGenerateIndexArray::ProcessRequest
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkGenerateIndexArray::~vtkGenerateIndexArray
~vtkGenerateIndexArray()
vtkDataObjectAlgorithm.h
vtkGenerateIndexArray::ReferenceArrayName
char * ReferenceArrayName
Definition: vtkGenerateIndexArray.h:115