Moved result interface from struct grid to struct grid scalar data access

Use this concept to configure result data values to use for vizualization. Created data access object for RegGrid.
p4#: 20334
This commit is contained in:
Magne Sjaastad
2013-02-01 12:25:34 +01:00
parent 602c9f5535
commit 01f3fb8e94
12 changed files with 244 additions and 28 deletions

View File

@@ -28,7 +28,7 @@ namespace cvf {
class DrawableGeo;
class ScalarMapper;
class StructGridScalarDataAccess;
//--------------------------------------------------------------------------------------------------
///
@@ -129,7 +129,7 @@ public:
const StructGridInterface* activeGrid() { return m_grid.p(); }
void textureCoordinates(Vec2fArray* textureCoords, size_t timeStepIndex, size_t scalarSetIndex, const ScalarMapper* mapper) const;
void textureCoordinates(Vec2fArray* textureCoords, const StructGridScalarDataAccess* dataAccessObject, const ScalarMapper* mapper) const;
// Mapping between cells and geometry
ref<cvf::Array<size_t> >