6#include <vtkAOSDataArrayTemplate.h>
7#include <vtkCellData.h>
8#include <vtkFieldData.h>
10#include <vtkPointData.h>
11#include <vtkUnstructuredGrid.h>
12#include <vtkUnstructuredGridAlgorithm.h>
39 void PrintSelf(std::ostream& os, vtkIndent indent)
override;
60 vtkInformationVector** inputVector,
61 vtkInformationVector* outputVector)
override;
63 vtkInformationVector** ,
64 vtkInformationVector* )
override;
66 vtkInformationVector** ,
67 vtkInformationVector* )
override;
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void setOutputVariableNames(std::set< std::string > const &output_variables)
std::set< std::string > _output_variable_names
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