VTK
vtkContinuousScatterplot.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataAlgorithm.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 =========================================================================*/
169 #ifndef vtkContinuousScatterplot_h
170 #define vtkContinuousScatterplot_h
171 
172 #include "vtkInfovisCoreModule.h" // For export macro
173 #include "vtkImageAlgorithm.h"
174 
175 class VTKINFOVISCORE_EXPORT vtkContinuousScatterplot : public vtkImageAlgorithm
176 {
177 public:
178  static vtkContinuousScatterplot* New();
180  void PrintSelf(ostream& os, vtkIndent indent) override;
181 
185  vtkGetMacro(Epsilon, double);
186 
190  vtkSetMacro(Epsilon, double);
191 
196  void SetField1(const char* fieldName, vtkIdType ResX);
197 
202  void SetField2(const char* fieldName, vtkIdType ResY);
203 
204 protected:
206 
207  // Configure input port to accept only vtkUnstructuredGrid.
208  int FillInputPortInformation(int port, vtkInformation* info) override;
209 
210  // Configure out port to be a vtkImageData data set.
212  int RequestData(
214 
215  // Set the tolerance used when comparing floating numbers for equality.
216  double Epsilon;
217 
218  // Names of the scalar fields to be used in the filter.
219  const char* Fields[2];
220 
221  // Resolution of the output image.
223 
224 private:
226  void operator=(const vtkContinuousScatterplot&) = delete;
227 };
228 #endif
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:347
a simple class to control print indentation
Definition: vtkIndent.h:33
Given a 3D domain space represented by an unstructured grid composed of tetrahedral cells with bivari...
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.