VMTK
vtkvmtkBoundaryConditions.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: VMTK
4  Module: $RCSfile: vtkvmtkBoundaryConditions.h,v $
5  Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
28 #ifndef __vtkvmtkBoundaryConditions_h
29 #define __vtkvmtkBoundaryConditions_h
30 
31 #include "vtkObject.h"
32 #include "vtkvmtkLinearSystem.h"
33 #include "vtkDoubleArray.h"
34 #include "vtkIdList.h"
35 //#include "vtkvmtkDifferentialGeometryWin32Header.h"
36 #include "vtkvmtkWin32Header.h"
37 
38 class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkBoundaryConditions : public vtkObject
39 {
40 public:
41 
42  vtkTypeMacro(vtkvmtkBoundaryConditions,vtkObject);
43 
44  vtkSetObjectMacro(LinearSystem,vtkvmtkLinearSystem);
45  vtkGetObjectMacro(LinearSystem,vtkvmtkLinearSystem);
46 
47  vtkSetObjectMacro(BoundaryNodes,vtkIdList);
48  vtkGetObjectMacro(BoundaryNodes,vtkIdList);
49 
50  vtkSetObjectMacro(BoundaryValues,vtkDoubleArray);
51  vtkGetObjectMacro(BoundaryValues,vtkDoubleArray);
52 
53  virtual void Apply();
54 
55 protected:
58 
60 
61  vtkIdList* BoundaryNodes;
62  vtkDoubleArray* BoundaryValues;
63 
64 private:
65  vtkvmtkBoundaryConditions(const vtkvmtkBoundaryConditions&); // Not implemented.
66  void operator=(const vtkvmtkBoundaryConditions&); // Not implemented.
67 };
68 
69 #endif
70 
Base container to hold sparse matrice objects representing a linear system of equations Ax = B...
Base class to store nodes, value, and linear system composing a boundary condition.
vtkvmtkLinearSystem * LinearSystem