Loading [MathJax]/extensions/tex2jax.js
VTK  9.4.20250405
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
30#include "vtkInfovisCoreModule.h" // For export macro
31
32VTK_ABI_NAMESPACE_BEGIN
33class VTKINFOVISCORE_EXPORT vtkStringToCategory : public vtkDataObjectAlgorithm
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
41
44 vtkSetStringMacro(CategoryArrayName);
45 vtkGetStringMacro(CategoryArrayName);
47
52 vtkInformationVector* outputVector) override;
53
54protected:
57
62 vtkInformationVector* outputVector) override;
63
65
66 int FillOutputPortInformation(int port, vtkInformation* info) override;
67
69
70private:
72 void operator=(const vtkStringToCategory&) = delete;
73};
74
75VTK_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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Creates a category array from a string array.
~vtkStringToCategory() override
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.
static vtkStringToCategory * New()
int vtkTypeBool
Definition vtkABI.h:64