VTK
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 
125 #ifndef vtkPLSDynaReader_h
126 #define vtkPLSDynaReader_h
127 
128 #include "vtkIOParallelLSDynaModule.h" // For export macro
129 #include "vtkLSDynaReader.h"
130 
132 class VTKIOPARALLELLSDYNA_EXPORT vtkPLSDynaReader : public vtkLSDynaReader
133 {
134 public:
136  virtual void PrintSelf(ostream &os, vtkIndent indent);
137  static vtkPLSDynaReader *New();
138 
140  virtual int CanReadFile( const char* fname );
141 
143 
145  void SetController(vtkMultiProcessController *c);
146  vtkGetObjectMacro(Controller, vtkMultiProcessController);
148 
149 protected:
151  virtual ~vtkPLSDynaReader();
152 
155 
156  virtual int ReadTopology();
157 
158 private:
159 
160  vtkPLSDynaReader( const vtkPLSDynaReader& ); // Not implemented.
161  void operator = ( const vtkPLSDynaReader& ); // Not implemented.
162 
163  void GetPartRanges(vtkIdType* mins,vtkIdType* maxs);
164 
165  vtkMultiProcessController *Controller;
166 
167  struct vtkPLSDynaReaderInternal;
168  vtkPLSDynaReaderInternal *Internal;
169 };
170 
171 #endif // vtkPLSDynaReader_h
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Read LS-Dyna databases (d3plot) in parallel.
Store vtkAlgorithm input/output information.
Read LS-Dyna databases (d3plot)
static vtkLSDynaReader * New()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int vtkIdType
Definition: vtkType.h:247
virtual int CanReadFile(const char *fname)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int ReadTopology()
virtual void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
Multiprocessing communication superclass.