VTK  9.2.6
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 "vtkImageAlgorithm.h"
173#include "vtkInfovisCoreModule.h" // For export macro
174
175class VTKINFOVISCORE_EXPORT vtkContinuousScatterplot : public vtkImageAlgorithm
176{
177public:
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
204protected:
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.
211 int FillOutputPortInformation(int port, vtkInformation* info) override;
213
214 // Set the tolerance used when comparing floating numbers for equality.
215 double Epsilon;
216
217 // Names of the scalar fields to be used in the filter.
218 const char* Fields[2];
219
220 // Resolution of the output image.
222
223private:
225 void operator=(const vtkContinuousScatterplot&) = delete;
226};
227#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
Fill the output port information objects for this algorithm.
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
Fill the input port information objects for this algorithm.
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:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkIdType
Definition vtkType.h:332