SheafSystem  0.0.0.0
visualization_iterator_1_3.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_1_3
19 
20 
21 #ifndef VISUALIZATION_ITERATOR_1_3_H
22 #define VISUALIZATION_ITERATOR_1_3_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 
86 {
87 public:
88 
89  // ===========================================================
90  // ANY FACET
91  // ===========================================================
92 
96  virtual bool is_ancestor_of(const any* xother) const;
97 
101  virtual visualization_iterator_1_3* clone() const;
102 
106  bool invariant() const;
107 
108  // ===========================================================
109  // DEPTH_FIRST_ITERATOR FACET
110  // ===========================================================
111 
112  using visualization_iterator::next;
113 
120  virtual void next(bool xtruncate);
121 
122  // ===========================================================
123  // VISUALIZATION_ITERATOR FACET
124  // ===========================================================
125 
126  using visualization_iterator::set_vtk_data;
127 
131  virtual void set_vtk_data(const sec_vd& xcoords,
132  const sec_vd& xprop,
133  vtkDoubleArray* xvtk_pt_coords,
134  vtkDoubleArray* xvtk_prop,
135  int xprop_tensor_rank,
136  block<int>& xvtk_cell_types,
137  block<vtkIdType>& xvtk_cell_connectivity,
138  block<int>& xvtk_cell_type_map,
139  vtkIdTypeArray* xvtk_pt_label_ids,
140  vtkIdTypeArray* xvtk_cell_label_ids);
141 
145  virtual void set_vtk_data(const sec_vd& xcoords,
146  vtkDoubleArray* xvtk_pt_coords,
147  block<int>& xvtk_cell_types,
148  block<vtkIdType>& xvtk_cell_connectivity,
149  block<int>& xvtk_cell_type_map,
150  vtkIdTypeArray* xvtk_pt_label_ids,
151  vtkIdTypeArray* xvtk_cell_label_ids);
152 
156  virtual void set_vtk_data(const sec_vd& xprop,
157  vtkDoubleArray* xvtk_prop,
158  int xprop_tensor_rank);
159 
160 
161  // ===========================================================
162  // VISUALIZATION_ITERATOR_1_3 FACET
163  // ===========================================================
164 
165 
170 
175  const section_space_schema_member& xproperty_schema);
176 
181 
182 protected:
183 
184 private:
185 
190 
191 };
192 
193 } // namespace tool
194 
195 #endif // ifndef VISUALIZATION_ITERATOR_1_3_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 a coordinate section with discretization equal to vertices and property ...
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.