7#include <vtkUnstructuredGrid.h>
10class EntityResultUnstructuredMesh;
11class EntityResultUnstructuredMeshData;
19 virtual bool loadData(EntityBase *resultEntity, EntityBase *meshEntity, ClassFactory* classFactory)
override;
21 vtkUnstructuredGrid*
GetVtkGrid() {
return vtkGrid.GetPointer(); };
36 bool loadMeshData(EntityBase* meshEntity, ClassFactory* classFactory);
37 bool loadResultData(EntityBase* resultEntity, ClassFactory* classFactory);
39 void buildScalarArray(
size_t length,
float* data, vtkNew<vtkDoubleArray>& dataArray);
40 void buildVectorArray(
size_t length,
float* data, vtkNew<vtkDoubleArray>& dataArray);
42 vtkNew<vtkUnstructuredGrid> vtkGrid;
Definition DataSourceManagerItem.h:17
Definition DataSourceUnstructuredMesh.h:14
bool GetHasPointVector()
Definition DataSourceUnstructuredMesh.h:31
double GetZMaxCoordinate()
Definition DataSourceUnstructuredMesh.cpp:284
bool GetHasCellScalar()
Definition DataSourceUnstructuredMesh.h:32
virtual bool loadData(EntityBase *resultEntity, EntityBase *meshEntity, ClassFactory *classFactory) override
Definition DataSourceUnstructuredMesh.cpp:214
vtkUnstructuredGrid * GetVtkGrid()
Definition DataSourceUnstructuredMesh.h:21
DataSourceUnstructuredMesh()
Definition DataSourceUnstructuredMesh.cpp:23
bool GetHasPointScalar()
Definition DataSourceUnstructuredMesh.h:30
double GetXMinCoordinate()
Definition DataSourceUnstructuredMesh.cpp:259
double GetYMinCoordinate()
Definition DataSourceUnstructuredMesh.cpp:264
virtual ~DataSourceUnstructuredMesh()
Definition DataSourceUnstructuredMesh.cpp:28
double GetYMaxCoordinate()
Definition DataSourceUnstructuredMesh.cpp:279
double GetXMaxCoordinate()
Definition DataSourceUnstructuredMesh.cpp:274
bool GetHasCellVector()
Definition DataSourceUnstructuredMesh.h:33
double GetZMinCoordinate()
Definition DataSourceUnstructuredMesh.cpp:269