vtkConduitSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkConduitSource.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 =========================================================================*/
31 #ifndef vtkConduitSource_h
32 #define vtkConduitSource_h
33 
34 #include "vtkDataObjectAlgorithm.h"
35 #include "vtkPVVTKExtensionsConduitModule.h" // for exports
36 #include <memory> // for std::unique_ptr
37 extern "C" {
38 typedef void conduit_node;
39 }
41 {
42 public:
43  static vtkConduitSource* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
52  void SetNode(const conduit_node* node);
54 
56 
64  void SetGlobalFieldsNode(const conduit_node* node);
66 protected:
69 
70  int FillOutputPortInformation(int port, vtkInformation* info) override;
72  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
73  vtkInformationVector* outputVector) override;
74 
75 private:
76  vtkConduitSource(const vtkConduitSource&) = delete;
77  void operator=(const vtkConduitSource&) = delete;
78 
79  class vtkInternals;
80  std::unique_ptr<vtkInternals> Internals;
81 };
82 
83 #endif
static vtkDataObjectAlgorithm * New()
data source for Conduit Mesh Blueprint.
#define VTKPVVTKEXTENSIONSCONDUIT_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void conduit_node
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void conduit_node
void operator=(const vtkObjectBase &)
virtual int FillOutputPortInformation(int port, vtkInformation *info)