26 #ifndef vtkStatisticalModel_h
27 #define vtkStatisticalModel_h
29 #include "vtkCommonDataModelModule.h"
36 VTK_ABI_NAMESPACE_BEGIN
96 static const char* GetTableTypeName(
int tableType);
101 static int GetTableTypeValue(
const std::string& tableType);
122 int GetNumberOfTables();
129 int GetNumberOfTables(
int type);
159 bool SetNumberOfTables(
int type,
int number);
186 vtkSetStringMacro(AlgorithmParameters);
187 vtkGetStringMacro(AlgorithmParameters);
190 if (algorithmParameters.empty())
192 this->SetAlgorithmParameters(
nullptr);
196 this->SetAlgorithmParameters(algorithmParameters.c_str());
206 using TableMap = std::map<int, std::vector<vtkSmartPointer<vtkTable>>>;
209 char* AlgorithmParameters{
nullptr };
216 VTK_ABI_NAMESPACE_END
217 #endif // vtkStatisticalModel_h
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDataObject * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
a base class for statistical modeling of other data
static vtkDataObject * New()
vtkTypeUInt32 vtkMTimeType
int GetDataObjectType() VTK_FUTURE_CONST override
Return the type of data object.
virtual void Initialize()
Restore data object to initial state,.
a simple class to control print indentation
int Test(int argc, char *argv[], const char *dfile, const InitializationCallback &initCallback)
void SetAlgorithmParameters(const std::string &algorithmParameters)
Set/get a serialization of the statistical algorithm used to create the model tables in this instance...
virtual unsigned long GetActualMemorySize()
Return the actual size of the data in kibibytes (1024 bytes).
A table, which contains similar-typed columns of data.
static int GetNumberOfTableTypes()
Get the number of table types.
std::map< int, std::vector< vtkSmartPointer< vtkTable >>> TableMap
vtkMTimeType GetMTime() override
Data objects are composite objects and need to check each part for MTime.
general representation of visualization data
virtual void DeepCopy(vtkDataObject *src)
The goal of the method is to copy the complete data from src into this object.
TableType
The types of tables that a model may store.
virtual void ShallowCopy(vtkDataObject *src)
The goal of the method is to copy the data up to the array pointers only.