VTK  9.2.6
vtkPLSDynaReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPLSDynaReader.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm 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=========================================================================*/
15/*----------------------------------------------------------------------------
16 Copyright (c) Sandia Corporation
17 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18----------------------------------------------------------------------------*/
19
127#ifndef vtkPLSDynaReader_h
128#define vtkPLSDynaReader_h
129
130#include "vtkIOParallelLSDynaModule.h" // For export macro
131#include "vtkLSDynaReader.h"
132
134class VTKIOPARALLELLSDYNA_EXPORT vtkPLSDynaReader : public vtkLSDynaReader
135{
136public:
138 void PrintSelf(ostream& os, vtkIndent indent) override;
140
144 int CanReadFile(VTK_FILEPATH const char* fname) override;
145
147
151 vtkGetObjectMacro(Controller, vtkMultiProcessController);
153
154protected:
157
160
161 int ReadTopology() override;
162
163private:
164 vtkPLSDynaReader(const vtkPLSDynaReader&) = delete;
165 void operator=(const vtkPLSDynaReader&) = delete;
166
167 void GetPartRanges(vtkIdType* mins, vtkIdType* maxs);
168
169 vtkMultiProcessController* Controller;
170
171 struct vtkPLSDynaReaderInternal;
172 vtkPLSDynaReaderInternal* Internal;
173};
174
175#endif // vtkPLSDynaReader_h
a simple class to control print indentation
Definition: vtkIndent.h:40
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.
static vtkPLSDynaReader * New()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
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:332
#define VTK_FILEPATH