 |
VTK
9.1.0
|
Go to the documentation of this file.
25 #ifndef vtkOTDensityMap_h
26 #define vtkOTDensityMap_h
29 #include "vtkFiltersOpenTURNSModule.h"
106 vtkGetMacro(GridSubdivisions,
int);
117 vtkGetMacro(ContourApproximationNumberOfPoints,
int);
151 bool& invertedPoints,
bool up =
true,
vtkIdList* currentPointIndices =
nullptr);
155 const double* densityPDFContourValues,
const char* xArrayName,
const char* yArrayName,
159 class OTDensityCache;
160 class OTDistributionCache;
OTDensityCache * DensityLogPDFSampleCache
virtual void SetContourApproximationNumberOfPoints(int val)
Methods to set / get number of points to compute the contour values approximations using a LogPDF.
vtkTimeStamp DensityPDFMTime
void SetValue(int i, double value)
Methods to set / get density lines values.
void BuildContours(vtkPolyData *contourPd, int numContours, const double *contourValues, const double *densityPDFContourValues, const char *xArrayName, const char *yArrayName, std::multimap< double, vtkSmartPointer< vtkTable >> &contoursMap)
~vtkOTDensityMap() override
A table, which contains similar-typed columns of data.
record modification and/or execution time
virtual vtkIdType FindNextCellId(vtkPolyData *pd, vtkIdType cellId, vtkIdType previousCellId, bool &invertedPoints, bool up=true, vtkIdList *currentPointIndices=nullptr)
Protected method to find the next cellid in specified direction on a polydata containing only lines o...
OTDistributionCache * DistributionCache
static vtkOTDensityMap * New()
void SetNumberOfContours(int number)
Set the number of contours to place into the list.
void GetValues(double *contourValues)
Fill a supplied list with contour values.
vtkContourValues * ContourValues
int GetNumberOfContours()
Get the number of contours in the list of contour values.
static vtkInformationDoubleKey * DENSITY()
Key to recover density in output metadata.
helper object to manage setting and generating contour values
a simple class to control print indentation
OTDensityCache * DensityPDFCache
list of point or cell ids
double GetValue(int i)
Get the ith contour value.
int ContourApproximationNumberOfPoints
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
A VTK Filter to compute density map on any pair of numeric data arrays with the same number of tuples...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
double * GetValues()
Get a pointer to an array of contour values.
vtkTimeStamp DensityLogPDFSampleMTime
vtkMTimeType GetMTime() override
Check contour values to return actual mtime.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetGridSubdivisions(int gridSubdivisions)
Methods to set / get grid subdivisions, aka the number of point in each dimensions of the grid for co...
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.