VTK  9.1.0
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 "vtkImageAlgorithm.h"
176#include "vtkInfovisCoreModule.h" // For export macro
177
178class VTKINFOVISCORE_EXPORT vtkContinuousScatterplot : public vtkImageAlgorithm
179{
180public:
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
207protected:
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.
214 int FillOutputPortInformation(int port, vtkInformation* info) override;
216
217 // Set the tolerance used when comparing floating numbers for equality.
218 double Epsilon;
219
220 // Names of the scalar fields to be used in the filter.
221 const char* Fields[2];
222
223 // Resolution of the output image.
225
226private:
228 void operator=(const vtkContinuousScatterplot&) = delete;
229};
230#endif
Given a 3D domain space represented by an unstructured grid composed of tetrahedral cells with bivari...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
void SetField1(const char *fieldName, vtkIdType ResX)
Specify the name of the first field to be used in subdividing the dataset.
void SetField2(const char *fieldName, vtkIdType ResY)
Specify the name of the second field to be used in subdividing the dataset.
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 RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
static vtkContinuousScatterplot * New()
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:332