ParaView
vtkPSciVizDescriptiveStats.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPSciVizDescriptiveStats.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2011 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19  -------------------------------------------------------------------------*/
32 #ifndef vtkPSciVizDescriptiveStats_h
33 #define vtkPSciVizDescriptiveStats_h
34 
35 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
36 #include "vtkSciVizStatistics.h"
37 
38 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkPSciVizDescriptiveStats : public vtkSciVizStatistics
39 {
40 public:
41  static vtkPSciVizDescriptiveStats* New();
43  virtual void PrintSelf(ostream& os, vtkIndent indent);
44 
45  vtkSetMacro(SignedDeviations, int);
46  vtkGetMacro(SignedDeviations, int);
47 
48 protected:
50  virtual ~vtkPSciVizDescriptiveStats();
51 
52  virtual int LearnAndDerive(vtkMultiBlockDataSet* model, vtkTable* inData);
53  virtual int AssessData(
54  vtkTable* observations, vtkDataObject* dataset, vtkMultiBlockDataSet* model);
55 
57 
58 private:
59  vtkPSciVizDescriptiveStats(const vtkPSciVizDescriptiveStats&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkPSciVizDescriptiveStats&) VTK_DELETE_FUNCTION;
61 };
62 
63 #endif // vtkPSciVizDescriptiveStats_h
virtual int AssessData(vtkTable *observations, vtkDataObject *dataset, vtkMultiBlockDataSet *model)=0
Method subclasses must override to assess an input table given a model of the proper type...
virtual int LearnAndDerive(vtkMultiBlockDataSet *model, vtkTable *inData)=0
Method subclasses must override to calculate a full model from the given input data.
Abstract base class for computing statistics with vtkStatistics.
Provide access to VTK descriptive statistics.
virtual void PrintSelf(ostream &os, vtkIndent indent)