8#include <vtkAOSDataArrayTemplate.h>
9#include <vtkCellData.h>
10#include <vtkFieldData.h>
12#include <vtkPointData.h>
13#include <vtkUnstructuredGrid.h>
14#include <vtkUnstructuredGridAlgorithm.h>
39 void PrintSelf(std::ostream& os, vtkIndent indent)
override;
58 vtkInformationVector** inputVector,
59 vtkInformationVector* outputVector)
override;
61 vtkInformationVector** ,
62 vtkInformationVector* )
override;
64 vtkInformationVector** ,
65 vtkInformationVector* )
override;
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void addProperty(MeshLib::PropertyVector< T > const &property) const
Adds a zero-copy vtk array wrapper.
vtkNew< vtkPoints > Points
vtkTypeMacro(VtkMappedMeshSource, vtkUnstructuredGridAlgorithm)
vtkNew< vtkPointData > PointData
static VtkMappedMeshSource * New()
int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void SetMesh(const MeshLib::Mesh *mesh)
Sets the mesh. Calling is mandatory.
const MeshLib::Mesh * _mesh
vtkNew< vtkFieldData > FieldData
void operator=(const VtkMappedMeshSource &)=delete
const MeshLib::Mesh * GetMesh() const
Returns the mesh.
VtkMappedMeshSource(const VtkMappedMeshSource &)=delete
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkNew< vtkCellData > CellData
void PrintSelf(std::ostream &os, vtkIndent indent) override