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 =========================================================================*/
172 #ifndef vtkContinuousScatterplot_h
173 #define vtkContinuousScatterplot_h
174 
175 #include "vtkInfovisCoreModule.h" // For export macro
176 #include "vtkImageAlgorithm.h"
177 
178 class VTKINFOVISCORE_EXPORT vtkContinuousScatterplot : public vtkImageAlgorithm
179 {
180 public:
181  static vtkContinuousScatterplot* New();
183  void PrintSelf(ostream& os, vtkIndent indent) override;
184 
188  vtkGetMacro(Epsilon, double);
189 
193  vtkSetMacro(Epsilon, double);
194 
199  void SetField1(const char* fieldName, vtkIdType ResX);
200 
205  void SetField2(const char* fieldName, vtkIdType ResY);
206 
207 protected:
209 
210  // Configure input port to accept only vtkUnstructuredGrid.
211  int FillInputPortInformation(int port, vtkInformation* info) override;
212 
213  // Configure out port to be a vtkImageData data set.
215  int RequestData(
217 
218  // Set the tolerance used when comparing floating numbers for equality.
219  double Epsilon;
220 
221  // Names of the scalar fields to be used in the filter.
222  const char* Fields[2];
223 
224  // Resolution of the output image.
226 
227 private:
229  void operator=(const vtkContinuousScatterplot&) = delete;
230 };
231 #endif
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:347
a simple class to control print indentation
Definition: vtkIndent.h:39
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.