VTK  9.3.0
vtkStringToCategory.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
26 #ifndef vtkStringToCategory_h
27 #define vtkStringToCategory_h
28 
29 #include "vtkDataObjectAlgorithm.h"
30 #include "vtkInfovisCoreModule.h" // For export macro
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 class VTKINFOVISCORE_EXPORT vtkStringToCategory : public vtkDataObjectAlgorithm
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
41 
44  vtkSetStringMacro(CategoryArrayName);
45  vtkGetStringMacro(CategoryArrayName);
47 
52  vtkInformationVector* outputVector) override;
53 
54 protected:
57 
62  vtkInformationVector* outputVector) override;
63 
65 
67 
69 
70 private:
72  void operator=(const vtkStringToCategory&) = delete;
73 };
74 
75 VTK_ABI_NAMESPACE_END
76 #endif
Superclass for algorithms that produce only data object as output.
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Creates a category array from a string array.
~vtkStringToCategory() override
static vtkStringToCategory * New()
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is required to capture REQUEST_DATA_OBJECT requests.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Creates the same output type as the input type.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64