vtkSteeringDataGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSteeringDataGenerator.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
88 #ifndef vtkSteeringDataGenerator_h
89 #define vtkSteeringDataGenerator_h
90 
91 #include "vtkDataObjectAlgorithm.h"
92 #include "vtkRemotingLiveModule.h" //needed for exports
93 
95 {
96 public:
97  static vtkSteeringDataGenerator* New();
99  void PrintSelf(ostream& os, vtkIndent indent) override;
100 
102 
107  vtkSetMacro(PartitionType, int);
108  vtkGetMacro(PartitionType, int);
110 
112 
118  vtkSetMacro(FieldAssociation, int);
119  vtkGetMacro(FieldAssociation, int);
121 
123 
130  void SetTuple1Double(const char* arrayname, vtkIdType index, double val);
131  void SetTuple1Int(const char* arrayname, vtkIdType index, int val);
132  void SetTuple1IdType(const char* arrayname, vtkIdType index, vtkIdType val);
133  void SetTuple2Double(const char* arrayname, vtkIdType index, double val0, double val1);
134  void SetTuple2Int(const char* arrayname, vtkIdType index, int val0, int val1);
135  void SetTuple2IdType(const char* arrayname, vtkIdType index, vtkIdType val0, vtkIdType val1);
136  void SetTuple3Double(
137  const char* arrayname, vtkIdType index, double val0, double val1, double val2);
138  void SetTuple3Int(const char* arrayname, vtkIdType index, int val0, int val1, int val2);
139  void SetTuple3IdType(
140  const char* arrayname, vtkIdType index, vtkIdType val0, vtkIdType val1, vtkIdType val3);
142 
146  void Clear(const char* arrayname);
147 
148 protected:
150  ~vtkSteeringDataGenerator() override;
151 
152  int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation* info) override;
153  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
154  vtkInformationVector* outputVector) override;
155  int RequestData(vtkInformation* vtkNotUsed(request),
156  vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector* outputVector) override;
157 
160 
161 private:
163  void operator=(const vtkSteeringDataGenerator&) = delete;
164 
165  class vtkInternals;
166  vtkInternals* Internals;
167 };
168 
169 #endif
source to generate dataset given field arrays
static vtkDataObjectAlgorithm * New()
#define VTKREMOTINGLIVE_EXPORT
int vtkIdType
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)
virtual int FillOutputPortInformation(int port, vtkInformation *info)