VTK  9.7.1
vtkLANLX3DReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) 2021, Los Alamos National Laboratory
3 // SPDX-FileCopyrightText: Copyright (c) 2021. Triad National Security, LLC
4 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-LANL-Triad-USGov
19 #ifndef vtkLANLX3DReader_h
20 #define vtkLANLX3DReader_h
21 
22 #include "vtkIOLANLX3DModule.h" // for export macro
24 
26 
27 VTK_ABI_NAMESPACE_BEGIN
28 class VTKIOLANLX3D_EXPORT vtkLANLX3DReader : public vtkMultiBlockDataSetAlgorithm
29 {
30 public:
31  static vtkLANLX3DReader* New();
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
35  vtkSetStringMacro(FileName);
36  vtkGetStringMacro(FileName);
37 
38  vtkSetMacro(ReadAllPieces, bool);
39  vtkGetMacro(ReadAllPieces, bool);
40 
41 protected:
43  ~vtkLANLX3DReader() override;
44 
45  char* FileName = nullptr;
46  bool ReadAllPieces = true;
47 
49 
51 
52 private:
53  vtkLANLX3DReader(const vtkLANLX3DReader&) = delete;
54  void operator=(const vtkLANLX3DReader&) = delete;
55 };
56 VTK_ABI_NAMESPACE_END
57 
58 #endif
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
class for reading LANL X3D format files
Composite dataset that organizes datasets into blocks.
Store zero or more vtkInformation instances.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.