20 #include "SheafSystem/vtk_abstract_grid_builder.h" 21 #include "SheafSystem/assert_contract.h" 22 #include "SheafSystem/base_space_member.h" 23 #include "SheafSystem/eval_iterator.h" 24 #include "SheafSystem/namespace_poset.h" 26 #include "vtkUnstructuredGrid.h" 27 #include "vtkUnstructuredGridWriter.h" 28 #include "vtkDoubleArray.h" 29 #include "vtkFieldData.h" 30 #include "vtkIdTypeArray.h" 31 #include "vtkIntArray.h" 32 #include "vtkPoints.h" 33 #include "vtkCellArray.h" 34 #include "vtkPointData.h" 35 #include "vtkCellData.h" 121 if(invariant_check())
125 disable_invariant_check();
135 enable_invariant_check();
191 vtkUnstructuredGrid* result;
197 require(xcoords.
schema().
df() <= 3);
204 result = vtkUnstructuredGrid::New();
206 build_pa(xcoords, xproperty, *result);
221 vtkUnstructuredGrid* result;
227 require(xcoords.
schema().
df() <= 3);
237 result = vtkUnstructuredGrid::New();
239 build_pa(xcoords, xproperty1, xproperty2, *result);
254 vtkUnstructuredGrid* result;
260 require(xcoords.
schema().
df() <= 3);
264 result = vtkUnstructuredGrid::New();
266 build_pa(xcoords, *result);
299 const sec_vd& xproperty2, vtkUnstructuredGrid& xresult)
338 return _use_point_top_ids;
345 _use_point_top_ids = xvalue;
347 ensure(use_point_top_ids() == xvalue);
356 return _use_cell_top_ids;
363 _use_cell_top_ids = xvalue;
365 ensure(use_cell_top_ids() == xvalue);
374 return _vtk_pt_label_ids;
381 return _vtk_cell_label_ids;
392 _vtk_pt_label_ids = 0;
393 _vtk_cell_label_ids = 0;
395 _use_point_top_ids =
true;
396 _use_cell_top_ids =
true;
virtual bool invariant() const
Class invariant, intended to be redefined in each descendant. See below for template for invariant in...
bool conforms_to(const schema_poset_member &xother) const
True if the dofs defined by this agree in type and in order with the dofs defined by xother...
The default name space; a poset which contains other posets as members.
bool state_is_read_accessible() const
True if this is attached and if the state is accessible for read or access control is disabled...
subposet & evaluation()
The evaluation subposet for section spaces on this schema (mutable version).
bool is_same_state(const poset_state_handle *xhost, pod_index_type xhub_id) const
True is this is attached to state with hub id xhub_id in host xhost.
Abstract base class with useful features for all objects.
A section of a fiber bundle with a d-dimensional vector space fiber.
static const poset_path & standard_schema_path()
The path of the schema required by this class.
total_poset_member & base_space()
The base space component of this (mutable version).
virtual section_space_schema_member & schema()
The restricted schema for this (mutable version).
int df() const
The dimension of the fiber space component.
virtual schema_poset_member & schema()
The schema for this member (mutable version).