70 #ifndef vtkDataObjectToDataSetFilter_h
71 #define vtkDataObjectToDataSetFilter_h
98 void SetDataSetType(
int);
99 vtkGetMacro(DataSetType,
int);
139 void SetPointComponent(
int comp,
char *arrayName,
int arrayComp,
140 int min,
int max,
int normalize);
142 {this->SetPointComponent(comp, arrayName, arrayComp, -1, -1, this->DefaultNormalize);};
143 const char *GetPointComponentArrayName(
int comp);
144 int GetPointComponentArrayComponent(
int comp);
145 int GetPointComponentMinRange(
int comp);
146 int GetPointComponentMaxRange(
int comp);
147 int GetPointComponentNormailzeFlag(
int comp);
158 void SetVertsComponent(
char *arrayName,
int arrayComp,
int min,
int max);
160 {this->SetVertsComponent(arrayName, arrayComp, -1, -1);};
161 const char *GetVertsComponentArrayName();
162 int GetVertsComponentArrayComponent();
163 int GetVertsComponentMinRange();
164 int GetVertsComponentMaxRange();
165 void SetLinesComponent(
char *arrayName,
int arrayComp,
int min,
int max);
167 {this->SetLinesComponent(arrayName, arrayComp, -1, -1);};
168 const char *GetLinesComponentArrayName();
169 int GetLinesComponentArrayComponent();
170 int GetLinesComponentMinRange();
171 int GetLinesComponentMaxRange();
172 void SetPolysComponent(
char *arrayName,
int arrayComp,
int min,
int max);
174 {this->SetPolysComponent(arrayName, arrayComp, -1, -1);};
175 const char *GetPolysComponentArrayName();
176 int GetPolysComponentArrayComponent();
177 int GetPolysComponentMinRange();
178 int GetPolysComponentMaxRange();
179 void SetStripsComponent(
char *arrayName,
int arrayComp,
int min,
int max);
181 {this->SetStripsComponent(arrayName, arrayComp, -1, -1);};
182 const char *GetStripsComponentArrayName();
183 int GetStripsComponentArrayComponent();
184 int GetStripsComponentMinRange();
185 int GetStripsComponentMaxRange();
196 void SetCellTypeComponent(
char *arrayName,
int arrayComp,
199 {this->SetCellTypeComponent(arrayName, arrayComp, -1, -1);};
200 const char *GetCellTypeComponentArrayName();
201 int GetCellTypeComponentArrayComponent();
202 int GetCellTypeComponentMinRange();
203 int GetCellTypeComponentMaxRange();
204 void SetCellConnectivityComponent(
char *arrayName,
int arrayComp,
207 {this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);};
208 const char *GetCellConnectivityComponentArrayName();
209 int GetCellConnectivityComponentArrayComponent();
210 int GetCellConnectivityComponentMinRange();
211 int GetCellConnectivityComponentMaxRange();
217 vtkSetMacro(DefaultNormalize,
int);
218 vtkGetMacro(DefaultNormalize,
int);
219 vtkBooleanMacro(DefaultNormalize,
int);
226 vtkSetVector3Macro(Dimensions,
int);
227 vtkGetVectorMacro(Dimensions,
int,3);
233 vtkSetVector3Macro(Origin,
double);
234 vtkGetVectorMacro(Origin,
double,3);
240 vtkSetVector3Macro(Spacing,
double);
241 vtkGetVectorMacro(Spacing,
double,3);
250 void SetDimensionsComponent(
char *arrayName,
int arrayComp,
int min,
int max);
252 {this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);};
253 void SetSpacingComponent(
char *arrayName,
int arrayComp,
int min,
int max);
255 {this->SetSpacingComponent(arrayName, arrayComp, -1, -1);};
256 void SetOriginComponent(
char *arrayName,
int arrayComp,
int min,
int max);
258 {this->SetOriginComponent(arrayName, arrayComp, -1, -1);};
278 char *PointArrays[3];
279 int PointArrayComponents[3];
281 int PointNormalize[3];
310 void SetArrayName(
char* &
name,
char *newName);
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkStructuredGrid * GetStructuredGridOutput()
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
void SetVertsComponent(char *arrayName, int arrayComp)
char * CellConnectivityArray
#define VTK_RECTILINEAR_GRID
abstract class to specify dataset behavior
void SetCellConnectivityComponent(char *arrayName, int arrayComp)
vtkRectilinearGrid * GetRectilinearGridOutput()
#define VTKFILTERSCORE_EXPORT
void SetStripsComponent(char *arrayName, int arrayComp)
vtkUnstructuredGrid * GetUnstructuredGridOutput()
int DimensionsArrayComponent
abstract class for specifying dataset behavior
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_STRUCTURED_POINTS
void SetPointComponent(int comp, char *arrayName, int arrayComp)
void SetOriginComponent(char *arrayName, int arrayComp)
map field data to concrete dataset
void SetDataSetTypeToStructuredGrid()
void SetDataSetTypeToRectilinearGrid()
a simple class to control print indentation
vtkDataObject * GetInput()
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetLinesComponent(char *arrayName, int arrayComp)
int CellTypeArrayComponent
void SetDataSetTypeToUnstructuredGrid()
int SpacingArrayComponent
object to represent cell connectivity
int CellConnectivityArrayComponent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkStructuredPoints * GetStructuredPointsOutput()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
topologically regular array of data
void SetCellTypeComponent(char *arrayName, int arrayComp)
void SetSpacingComponent(char *arrayName, int arrayComp)
void SetDataSetTypeToStructuredPoints()
void SetDataSetTypeToPolyData()
void SetDimensionsComponent(char *arrayName, int arrayComp)
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
general representation of visualization data
static vtkDataSetAlgorithm * New()
void SetPolysComponent(char *arrayName, int arrayComp)
#define VTK_STRUCTURED_GRID
#define VTK_UNSTRUCTURED_GRID
vtkPolyData * GetPolyDataOutput()