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 
126 #ifndef vtkPLSDynaReader_h
127 #define vtkPLSDynaReader_h
128 
129 #include "vtkIOParallelLSDynaModule.h" // For export macro
130 #include "vtkLSDynaReader.h"
131 
133 class VTKIOPARALLELLSDYNA_EXPORT vtkPLSDynaReader : public vtkLSDynaReader
134 {
135 public:
137  virtual void PrintSelf(ostream &os, vtkIndent indent);
138  static vtkPLSDynaReader *New();
139 
143  virtual int CanReadFile( const char* fname );
144 
146 
149  void SetController(vtkMultiProcessController *c);
150  vtkGetObjectMacro(Controller, vtkMultiProcessController);
152 
153 protected:
155  virtual ~vtkPLSDynaReader();
156 
159 
160  virtual int ReadTopology();
161 
162 private:
163 
164  vtkPLSDynaReader( const vtkPLSDynaReader& ) VTK_DELETE_FUNCTION;
165  void operator = ( const vtkPLSDynaReader& ) VTK_DELETE_FUNCTION;
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
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
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 *)
This is called by the superclass.
int vtkIdType
Definition: vtkType.h:287
virtual int CanReadFile(const char *fname)
Determine if the file can be readed with this reader.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int ReadTopology()
These functions read various parts of the database.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
Multiprocessing communication superclass.