SheafSystem  0.0.0.0
visualization_iterator_4_2.h
1 
2 //
3 // Copyright (c) 2014 Limit Point Systems, Inc.
4 //
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17 
18 // Interface for class visualization_iterator_4_2
19 
20 
21 #ifndef VISUALIZATION_ITERATOR_4_2_H
22 #define VISUALIZATION_ITERATOR_4_2_H
23 
24 #ifndef SHEAF_DLL_SPEC_H
25 #include "SheafSystem/sheaf_dll_spec.h"
26 #endif
27 
28 #ifndef VISUALIZATION_ITERATOR_H
29 #include "SheafSystem/visualization_iterator.h"
30 #endif
31 
32 #ifndef BASE_SPACE_POSET_H
33 #include "SheafSystem/base_space_poset.h"
34 #endif
35 
36 #ifndef CHART_POINT_3D_H
37 #include "SheafSystem/chart_point_3d.h"
38 #endif
39 
40 #ifndef SEC_VD_H
41 #include "SheafSystem/sec_vd.h"
42 #endif
43 
44 #ifndef STD_LIST_H
45 #include "SheafSystem/std_list.h"
46 #endif
47 
48 #ifndef STD_SET_H
49 #include "SheafSystem/std_set.h"
50 #endif
51 
52 #ifndef ZN_TO_BOOL_H
53 #include "SheafSystem/zn_to_bool.h"
54 #endif
55 
56 namespace fiber_bundle
57 {
58 class eval_family;
59 class section_space_schema_member;
60 class section_evaluator;
61 class sec_rep_descriptor;
62 class structured_block;
63 }
64 
65 namespace tool
66 {
67 
73 {
74 public:
75 
76  // ===========================================================
77  // ANY FACET
78  // ===========================================================
79 
83  virtual bool is_ancestor_of(const any* xother) const;
84 
88  virtual visualization_iterator_4_2* clone() const;
89 
93  bool invariant() const;
94 
95  // ===========================================================
96  // DEPTH_FIRST_ITERATOR FACET
97  // ===========================================================
98 
99  using visualization_iterator::next;
100 
107  virtual void next(bool xtruncate);
108 
109  // ===========================================================
110  // VISUALIZATION_ITERATOR FACET
111  // ===========================================================
112 
113  using visualization_iterator::set_vtk_data;
114 
118  virtual void set_vtk_data(const sec_vd& xcoords,
119  const sec_vd& xprop,
120  vtkDoubleArray* xvtk_pt_coords,
121  vtkDoubleArray* xvtk_prop,
122  int xprop_tensor_rank,
123  block<int>& xvtk_cell_types,
124  block<vtkIdType>& xvtk_cell_connectivity,
125  block<int>& xvtk_cell_type_map,
126  vtkIdTypeArray* xvtk_pt_label_ids,
127  vtkIdTypeArray* xvtk_cell_label_ids);
128 
132  virtual void set_vtk_data(const sec_vd& xcoords,
133  vtkDoubleArray* xvtk_pt_coords,
134  block<int>& xvtk_cell_types,
135  block<vtkIdType>& xvtk_cell_connectivity,
136  block<int>& xvtk_cell_type_map,
137  vtkIdTypeArray* xvtk_pt_label_ids,
138  vtkIdTypeArray* xvtk_cell_label_ids);
139 
143  virtual void set_vtk_data(const sec_vd& xprop,
144  vtkDoubleArray* xvtk_prop,
145  int xprop_tensor_rank);
146 
147 
148  // ===========================================================
149  // VISUALIZATION_ITERATOR_4_2 FACET
150  // ===========================================================
151 
152 
157 
162  const section_space_schema_member& xproperty_schema);
163 
167  visualization_iterator_4_2(const section_space_schema_member& xcoordinate_schema);
168 
173 
174 protected:
175 
176 private:
177 
182  {}
183  ;
184 };
185 
186 } // namespace tool
187 
188 #endif // ifndef VISUALIZATION_ITERATOR_4_2_H
Namespace for the tools component of the sheaf system.
Abstract base class with useful features for all objects.
Definition: any.h:39
A visualization iterator for uniform coordinates and property section with discretization equal to ve...
A section of a fiber bundle with a d-dimensional vector space fiber.
Definition: sec_vd.h:54
Abstract iterator over the schema of both the coordinates and property sections of a visualization...
A client handle for a poset member which has been prepared for use as a schema for a section space...
Namespace for the fiber_bundles component of the sheaf system.