vtkbone
vtkboneN88ModelReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Copyright 2010-2016, Numerics88 Solutions Ltd.
4 http://www.numerics88.com/
5
6 Copyright (c) Eric Nodwell and Steven K. Boyd
7 See Copyright.txt for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12=========================================================================*/
13
26#ifndef __vtkboneN88ModelReader_h
27#define __vtkboneN88ModelReader_h
28
30#include "vtkboneWin32Header.h"
31
32// Forward declarations
35
37{
38public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
44
45 vtkSetStringMacro(FileName);
46 vtkGetStringMacro(FileName);
48
50
51 vtkSetMacro(ReadMaterials, int);
52 vtkGetMacro(ReadMaterials, int);
53 vtkBooleanMacro(ReadMaterials, int);
55
57
58 vtkGetStringMacro(ActiveSolution);
60
62
65 vtkGetStringMacro(ActiveProblem);
67
69
70 vtkGetStringMacro(ActivePart);
72
73protected:
76
79 vtkInformationVector *) override;
80
84 int ReadNodes(int ncid, vtkboneFiniteElementModel* model);
89 int ReadConstraint(int constraints_ncid,const char* name,vtkboneConstraint*& constraint);
90 int ReadSets(int ncid, vtkboneFiniteElementModel* model);
92
93 // not publically modifiable
94 vtkSetStringMacro(ActiveSolution);
95 vtkSetStringMacro(ActiveProblem);
96 vtkSetStringMacro(ActivePart);
97
98 char* FileName;
103
104private:
105 // Prevent compiler from making public versions of these.
107 void operator=(const vtkboneN88ModelReader&);
108};
109
110#endif
111
a constraint for a finite element mesh
Superclass for algorithms that produce only vtkboneFiniteElementModel as output.
data model for finite element meshes
int ReadSolutions(int ncid, vtkboneFiniteElementModel *model)
int ReadSets(int ncid, vtkboneFiniteElementModel *model)
int ReadProblem(int ncid, vtkboneFiniteElementModel *model)
void PrintSelf(ostream &os, vtkIndent indent) override
int ReadConvergenceSet(int ncid, vtkboneFiniteElementModel *model)
int ReadNodes(int ncid, vtkboneFiniteElementModel *model)
int ReadAttributes(int ncid, vtkboneFiniteElementModel *model)
int ReadElements(int ncid, vtkboneFiniteElementModel *model)
static vtkboneN88ModelReader * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int ReadMaterialTable(int ncid, vtkboneFiniteElementModel *model)
int ReadConstraint(int constraints_ncid, const char *name, vtkboneConstraint *&constraint)
int ReadDataFromNetCDFFile(int ncid, vtkboneFiniteElementModel *model)
int ReadConstraints(int ncid, vtkboneFiniteElementModel *model)