VTK  9.3.20240418
vtkPLSDynaReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 
112 #ifndef vtkPLSDynaReader_h
113 #define vtkPLSDynaReader_h
114 
115 #include "vtkIOParallelLSDynaModule.h" // For export macro
116 #include "vtkLSDynaReader.h"
117 
118 VTK_ABI_NAMESPACE_BEGIN
120 class VTKIOPARALLELLSDYNA_EXPORT vtkPLSDynaReader : public vtkLSDynaReader
121 {
122 public:
124  void PrintSelf(ostream& os, vtkIndent indent) override;
126 
130  int CanReadFile(VTK_FILEPATH const char* fname) override;
131 
133 
137  vtkGetObjectMacro(Controller, vtkMultiProcessController);
139 
140 protected:
142  ~vtkPLSDynaReader() override;
143 
146 
147  int ReadTopology() override;
148 
149 private:
150  vtkPLSDynaReader(const vtkPLSDynaReader&) = delete;
151  void operator=(const vtkPLSDynaReader&) = delete;
152 
153  void GetPartRanges(vtkIdType* mins, vtkIdType* maxs);
154 
155  vtkMultiProcessController* Controller;
156 
157  struct vtkPLSDynaReaderInternal;
158  vtkPLSDynaReaderInternal* Internal;
159 };
160 
161 VTK_ABI_NAMESPACE_END
162 #endif // vtkPLSDynaReader_h
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Read LS-Dyna databases (d3plot)
Multiprocessing communication superclass.
Read LS-Dyna databases (d3plot) in parallel.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPLSDynaReader * New()
int CanReadFile(VTK_FILEPATH const char *fname) override
Determine if the file can be read with this reader.
int ReadTopology() override
These functions read various parts of the database.
~vtkPLSDynaReader() override
void SetController(vtkMultiProcessController *c)
Set/Get the communicator object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int vtkIdType
Definition: vtkType.h:315
#define VTK_FILEPATH