Go to the documentation of this file.
28 #ifndef vtkOTDensityMap_h
29 #define vtkOTDensityMap_h
32 #include "vtkFiltersOpenTurnsModule.h"
109 vtkGetMacro(GridSubdivisions,
int);
120 vtkGetMacro(ContourApproximationNumberOfPoints,
int);
157 bool& invertedPoints,
159 vtkIdList* currentPointIndices =
nullptr);
164 const double* contourValues,
165 const double* densityPDFContourValues,
166 const char* xArrayName,
167 const char* yArrayName,
171 class OTDensityCache;
172 class OTDistributionCache;
OTDensityCache * DensityLogPDFSampleCache
virtual void SetContourApproximationNumberOfPoints(int val)
vtkTimeStamp DensityPDFMTime
void SetValue(int i, double value)
Methods to set / get density lines values.
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 BuildContours(vtkPolyData *contourPd, int numContours, const double *contourValues, const double *densityPDFContourValues, const char *xArrayName, const char *yArrayName, std::multimap< double, vtkSmartPointer< vtkTable > > &contoursMap)
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...
virtual vtkMTimeType GetMTime() override
Check contour values to return actual mtime.
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
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.