![]() |
SheafSystem
0.0.0.0
|
Creates a vtkPolyData from sheaf field objects. More...
#include <vtk_poly_data_builder.h>
Public Types | |
| typedef sheaf::size_type | size_type |
| typedef sec_vd::dof_type | dof_type |
Public Member Functions | |
| virtual bool | is_ancestor_of (const any *other) const |
| Conformance test; true if other conforms to this. More... | |
| virtual vtk_poly_data_builder * | clone () const |
| Virtual constructor, makes a new instance of the same type as this. More... | |
| vtk_poly_data_builder & | operator= (const vtk_poly_data_builder &xother) |
| Assignment operator. More... | |
| virtual bool | invariant () const |
| Class invariant. More... | |
| vtk_poly_data_builder (const vtk_poly_data_builder &xother) | |
| Copy constructor. More... | |
| virtual | ~vtk_poly_data_builder () |
| Destructor. More... | |
| vtk_poly_data_builder (namespace_poset &xns) | |
| Creates an instance for fields in namespace xns. More... | |
| vtkPolyData * | build (const sec_vd &xcoords, const sec_vd &xproperty) |
| Builds a vtkPolyData from xcoords and xproperty. More... | |
| vtkPolyData * | build (const sec_vd &xcoords) |
| Builds a vtkPolyData from xcoords only. More... | |
| void | build_pa (const sec_vd &xcoords, const sec_vd &xproperty, vtkPolyData &xresult) |
| Builds a vtkPolyData from xcoords and xproperty (pre-allocated version). More... | |
| void | build_pa (const sec_vd &xcoords, vtkPolyData &xresult) |
| Builds a vtkPolyData from xcoords only with no property (pre-allocated version). The result is a reprecentation for the mesh only. More... | |
| void | build_file (const sec_vd &xcoords, const sec_vd &xproperty, const std::string &xvtk_file_name, bool xis_ascii=true) |
| Builds a vtk file representation of a vtkPolyData from xcoords and xproperty with file name xvtk_file_name. If xis_ascii is true, write an ascii (text) file; otherwise write a binary file. More... | |
| void | build_file (const sec_vd &xcoords, const std::string &xvtk_file_name, bool xis_ascii=true) |
| Builds a vtk file representation of a vtkPolyData from xcoords only with file name xvtk_file_name. If xis_ascii is true, write an ascii (text) file; otherwise write a binary file. More... | |
| void | construct_property (const sec_vd &xproperty, vtkPolyData &xresult) |
| Construct the VTK "mesh" (vtkPolyData) object. More... | |
Public Member Functions inherited from sheaf::any | |
| bool | is_same_type (const any *other) const |
| True if other is the same type as this. More... | |
| virtual | ~any () |
| Destructor. More... | |
| bool | invariant_check () const |
| True if invariant checking is enabled. More... | |
| void | enable_invariant_check () const |
| Enable invariant checking. More... | |
| void | disable_invariant_check () const |
| Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing invariant checking during multi-phase initialization. More... | |
| int | disable_invariance_check_request_depth () const |
| Number of times disable_invariant_check has been called without matching call to enable_invariant_check. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from sheaf::any | |
| any () | |
| default constructor More... | |
Creates a vtkPolyData from sheaf field objects.
Definition at line 73 of file vtk_poly_data_builder.h.
| tool::vtk_poly_data_builder::vtk_poly_data_builder | ( | const vtk_poly_data_builder & | xother | ) |
Copy constructor.
Not Implemented.
Definition at line 159 of file vtk_poly_data_builder.cc.
References ~vtk_poly_data_builder().
|
virtual |
Destructor.
Definition at line 181 of file vtk_poly_data_builder.cc.
Referenced by vtk_poly_data_builder().
| tool::vtk_poly_data_builder::vtk_poly_data_builder | ( | namespace_poset & | xns | ) |
Creates an instance for fields in namespace xns.
Definition at line 200 of file vtk_poly_data_builder.cc.
References build_file().
| vtkPolyData * tool::vtk_poly_data_builder::build | ( | const sec_vd & | xcoords, |
| const sec_vd & | xproperty | ||
| ) |
Builds a vtkPolyData from xcoords and xproperty.
Definition at line 331 of file vtk_poly_data_builder.cc.
References fiber_bundle::section_space_schema_member::base_space(), sheaf::schema_poset_member::conforms_to(), fiber_bundle::section_space_schema_member::df(), fiber_bundle::section_space_schema_member::evaluation(), sheaf::poset_component::is_same_state(), sheaf::total_poset_member::schema(), fiber_bundle::sec_rep_space_member::schema(), fiber_bundle::base_space_member::standard_schema_path(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
Referenced by build_file().
| vtkPolyData * tool::vtk_poly_data_builder::build | ( | const sec_vd & | xcoords | ) |
Builds a vtkPolyData from xcoords only.
Definition at line 361 of file vtk_poly_data_builder.cc.
References fiber_bundle::section_space_schema_member::base_space(), build_pa(), sheaf::schema_poset_member::conforms_to(), fiber_bundle::section_space_schema_member::df(), sheaf::total_poset_member::schema(), fiber_bundle::sec_rep_space_member::schema(), fiber_bundle::base_space_member::standard_schema_path(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
| void tool::vtk_poly_data_builder::build_file | ( | const sec_vd & | xcoords, |
| const sec_vd & | xproperty, | ||
| const std::string & | xvtk_file_name, | ||
| bool | xis_ascii = true |
||
| ) |
Builds a vtk file representation of a vtkPolyData from xcoords and xproperty with file name xvtk_file_name. If xis_ascii is true, write an ascii (text) file; otherwise write a binary file.
Definition at line 226 of file vtk_poly_data_builder.cc.
References fiber_bundle::section_space_schema_member::base_space(), sheaf::schema_poset_member::conforms_to(), fiber_bundle::section_space_schema_member::df(), fiber_bundle::section_space_schema_member::evaluation(), sheaf::poset_component::is_same_state(), sheaf::total_poset_member::schema(), fiber_bundle::sec_rep_space_member::schema(), fiber_bundle::base_space_member::standard_schema_path(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
Referenced by vtk_poly_data_builder().
| void tool::vtk_poly_data_builder::build_file | ( | const sec_vd & | xcoords, |
| const std::string & | xvtk_file_name, | ||
| bool | xis_ascii = true |
||
| ) |
Builds a vtk file representation of a vtkPolyData from xcoords only with file name xvtk_file_name. If xis_ascii is true, write an ascii (text) file; otherwise write a binary file.
Definition at line 280 of file vtk_poly_data_builder.cc.
References fiber_bundle::section_space_schema_member::base_space(), build(), sheaf::schema_poset_member::conforms_to(), fiber_bundle::section_space_schema_member::df(), sheaf::total_poset_member::schema(), fiber_bundle::sec_rep_space_member::schema(), fiber_bundle::base_space_member::standard_schema_path(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
| void tool::vtk_poly_data_builder::build_pa | ( | const sec_vd & | xcoords, |
| const sec_vd & | xproperty, | ||
| vtkPolyData & | xresult | ||
| ) |
Builds a vtkPolyData from xcoords and xproperty (pre-allocated version).
Definition at line 388 of file vtk_poly_data_builder.cc.
References fiber_bundle::section_space_schema_member::base_space(), sheaf::schema_poset_member::conforms_to(), fiber_bundle::section_space_schema_member::df(), fiber_bundle::section_space_schema_member::evaluation(), sheaf::poset_component::is_same_state(), sheaf::total_poset_member::schema(), fiber_bundle::sec_rep_space_member::schema(), fiber_bundle::base_space_member::standard_schema_path(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
Referenced by build().
| void tool::vtk_poly_data_builder::build_pa | ( | const sec_vd & | xcoords, |
| vtkPolyData & | xresult | ||
| ) |
Builds a vtkPolyData from xcoords only with no property (pre-allocated version). The result is a reprecentation for the mesh only.
Definition at line 425 of file vtk_poly_data_builder.cc.
References sheaf::abstract_poset_member::attach_to_state(), fiber_bundle::section_space_schema_member::base_space(), sheaf::schema_poset_member::conforms_to(), construct_property(), sheaf::auto_block< T, S >::ct(), sheaf::poset_component::detach_from_state(), fiber_bundle::section_space_schema_member::df(), fiber_bundle::sec_rep_space_member::df(), fiber_bundle::section_space_schema_member::discretization(), fiber_bundle::section_space_schema_member::discretization_ct(), fiber_bundle::eval_iterator::discretization_members(), fiber_bundle::section_space_schema_member::evaluation_ct(), sheaf::poset_state_handle::get_read_access(), sheaf::subposet::id_space(), sheaf::poset_state_handle::member_index_ub(), sheaf::abstract_poset_member::name(), sheaf::index_space_handle::pod(), sheaf::scoped_index::pod(), fiber_bundle::base_space_member::prototypes_poset_name(), sheaf::poset_state_handle::release_access(), sheaf::total_poset_member::schema(), fiber_bundle::sec_rep_space_member::schema(), fiber_bundle::base_space_member::standard_schema_path(), sheaf::read_write_monitor_handle::state_is_read_accessible(), and fiber_bundle::base_space_member::type_id().
|
virtual |
Virtual constructor, makes a new instance of the same type as this.
Reimplemented from sheaf::any.
Definition at line 75 of file vtk_poly_data_builder.cc.
References operator=().
Referenced by is_ancestor_of().
| void tool::vtk_poly_data_builder::construct_property | ( | const sec_vd & | xproperty, |
| vtkPolyData & | xresult | ||
| ) |
Construct the VTK "mesh" (vtkPolyData) object.
Definition at line 731 of file vtk_poly_data_builder.cc.
References fiber_bundle::sec_rep_space_member::df(), fiber_bundle::sec_rep_space_member::dof_map(), fiber_bundle::sec_vd::host(), sheaf::abstract_poset_member::name(), sheaf::schema_poset_member::row_dof_ct(), and fiber_bundle::sec_rep_space_member::schema().
Referenced by build_pa().
|
virtual |
Class invariant.
Reimplemented from sheaf::any.
Definition at line 121 of file vtk_poly_data_builder.cc.
References sheaf::any::invariant().
Referenced by operator=().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from sheaf::any.
Definition at line 52 of file vtk_poly_data_builder.cc.
References clone().
| tool::vtk_poly_data_builder & tool::vtk_poly_data_builder::operator= | ( | const vtk_poly_data_builder & | xother | ) |
Assignment operator.
Not Implemented.
Definition at line 99 of file vtk_poly_data_builder.cc.
References invariant().
Referenced by clone().