VTK
vtkBoostSplitTableField.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBoostSplitTableField.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 =========================================================================*/
54 #ifndef vtkBoostSplitTableField_h
55 #define vtkBoostSplitTableField_h
56 
57 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
58 #include "vtkTableAlgorithm.h"
59 
60 class vtkStringArray;
61 
62 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostSplitTableField : public vtkTableAlgorithm
63 {
64 public:
65  static vtkBoostSplitTableField* New();
67  void PrintSelf(ostream& os, vtkIndent indent) override;
68 
69  void ClearFields();
70  void AddField(const char* field, const char* delimiters);
71 
72 protected:
75 
76  int RequestData(
79  vtkInformationVector*) override;
80 
83 
84 private:
85 
86  class implementation;
87 
89  void operator=(const vtkBoostSplitTableField&) = delete;
90 };
91 
92 #endif
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkBoostSplitTableField
"Splits" one-or-more table fields by duplicating rows containing delimited data.
Definition: vtkBoostSplitTableField.h:62
vtkBoostSplitTableField::Fields
vtkStringArray * Fields
Definition: vtkBoostSplitTableField.h:81
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:48
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkX3D::field
Definition: vtkX3D.h:177
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkBoostSplitTableField::Delimiters
vtkStringArray * Delimiters
Definition: vtkBoostSplitTableField.h:82
vtkStringArray
a vtkAbstractArray subclass for strings
Definition: vtkStringArray.h:36
vtkTableAlgorithm.h
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()