20 #ifndef VTK_UNSTRUCTURED_GRID_BUILDER_H 21 #define VTK_UNSTRUCTURED_GRID_BUILDER_H 23 #ifndef SHEAF_DLL_SPEC_H 24 #include "SheafSystem/sheaf_dll_spec.h" 27 #ifndef VTK_ABSTRACT_GRID_BUILDER_H 28 #include "SheafSystem/vtk_abstract_grid_builder.h" 54 virtual bool is_ancestor_of(
const any* other)
const;
78 virtual bool invariant()
const;
114 vtkUnstructuredGrid* build(
const sec_vd& xcoords,
const sec_vd& xproperty);
120 vtkUnstructuredGrid* build(
const sec_vd& xcoords,
122 const sec_vd& xproperty2);
127 vtkUnstructuredGrid* build(
const sec_vd& xcoords);
133 vtkUnstructuredGrid* build(
const sec_vd& xcoords,
134 const std::string& xpartition_name);
140 vtkUnstructuredGrid* build(
const sec_vd& xcoords,
146 void build_pa(
const sec_vd& xcoords,
148 vtkUnstructuredGrid& xresult);
154 void build_pa(
const sec_vd& xcoords,
157 vtkUnstructuredGrid& xresult);
162 void build_pa(
const sec_vd& xcoords, vtkUnstructuredGrid& xresult);
168 void build_pa(
const sec_vd& xcoords,
169 const std::string& xpartition_name,
170 vtkUnstructuredGrid& xresult);
176 void build_pa(
const sec_vd& xcoords,
178 vtkUnstructuredGrid& xresult);
187 void build_file(
const sec_vd& xcoords,
const sec_vd& xproperty,
188 const std::string& xvtk_file_name,
bool xis_ascii =
true);
193 bool is_scalar(
const sec_vd* xsec)
const;
198 bool is_vector(
const sec_vd* xsec)
const;
203 bool is_tensor(
const sec_vd* xsec)
const;
217 void init_cell_type_map();
224 const std::string& xpartition_name,
225 vtkUnstructuredGrid& xresult);
275 vtkDoubleArray* _vtk_coord_dofs;
285 void initialize_vtk_mesh_data(
const sec_vd& xsec, std::string xcoords_name);
290 void finalize_vtk_mesh_data(vtkUnstructuredGrid& xresult);
295 void initialize_vtk_prop_data(
const sec_vd* xprop);
300 void finalize_vtk_prop_data(
const sec_vd* xprop,
301 bool xprop_is_pt_data,
302 int xprop_tensor_rank,
303 vtkDoubleArray* xvtk_prop_dofs,
304 vtkUnstructuredGrid& xresult);
314 #endif // ifndef VTK_UNSTRUCTURED_GRID_BUILDER_H The default name space; a poset which contains other posets as members.
Abstract base class with useful features for all objects.
A section of a fiber bundle with a d-dimensional vector space fiber.
An abstract client handle for a member of a poset.
An auto_block with a no-initialization initialization policy.