|
@@ -115,9 +115,18 @@ namespace Lemma {
|
115
|
115
|
|
116
|
116
|
/**
|
117
|
117
|
* Performs the actual grid conversion
|
|
118
|
+ * @param[in] xshift is additional offset to apply in x direction.
|
|
119
|
+ * @param[in] yshift is additional offset to apply in y direction.
|
|
120
|
+ * @param[in] zshift is additional offset to apply in z direction.
|
118
|
121
|
*/
|
119
|
|
- void ConvertGrid( );
|
|
122
|
+ void ConvertGrid( const Real& xshift, const Real& yshift, const Real& zshift );
|
120
|
123
|
|
|
124
|
+ /**
|
|
125
|
+ * @return smart pointer to RectilinearGrid class
|
|
126
|
+ */
|
|
127
|
+ std::shared_ptr<RectilinearGrid> GetGrid() {
|
|
128
|
+ return this->rGrid;
|
|
129
|
+ }
|
121
|
130
|
|
122
|
131
|
// ==================== INQUIRY =======================
|
123
|
132
|
/**
|
|
@@ -145,7 +154,8 @@ namespace Lemma {
|
145
|
154
|
/** VTK file to import */
|
146
|
155
|
vtkSmartPointer<vtkRectilinearGrid> vtkGrid;
|
147
|
156
|
|
148
|
|
- std::shared_ptr<RectilinearGrid> rGrid;
|
|
157
|
+ /** container to hold imported grid */
|
|
158
|
+ std::shared_ptr<RectilinearGrid> rGrid = nullptr;
|
149
|
159
|
|
150
|
160
|
}; // ----- end of class RectilinearGridVTKImporter -----
|
151
|
161
|
|