SheafSystem  0.0.0.0
visualization_iterator_4_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_4_3
19 
20 
21 #ifndef VISUALIZATION_ITERATOR_4_3_H
22 #define VISUALIZATION_ITERATOR_4_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 
85 {
86 public:
87 
88  // ===========================================================
89  // ANY FACET
90  // ===========================================================
91 
95  virtual bool is_ancestor_of(const any* xother) const;
96 
100  virtual visualization_iterator_4_3* clone() const;
101 
105  bool invariant() const;
106 
107  // ===========================================================
108  // DEPTH_FIRST_ITERATOR FACET
109  // ===========================================================
110 
111  using visualization_iterator::next;
112 
119  virtual void next(bool xtruncate);
120 
121  // ===========================================================
122  // VISUALIZATION_ITERATOR FACET
123  // ===========================================================
124 
125  using visualization_iterator::set_vtk_data;
126 
130  virtual void set_vtk_data(const sec_vd& xcoords,
131  const sec_vd& xprop,
132  vtkDoubleArray* xvtk_pt_coords,
133  vtkDoubleArray* xvtk_prop,
134  int xprop_tensor_rank,
135  block<int>& xvtk_cell_types,
136  block<vtkIdType>& xvtk_cell_connectivity,
137  block<int>& xvtk_cell_type_map,
138  vtkIdTypeArray* xvtk_pt_label_ids,
139  vtkIdTypeArray* xvtk_cell_label_ids);
140 
144  virtual void set_vtk_data(const sec_vd& xcoords,
145  vtkDoubleArray* xvtk_pt_coords,
146  block<int>& xvtk_cell_types,
147  block<vtkIdType>& xvtk_cell_connectivity,
148  block<int>& xvtk_cell_type_map,
149  vtkIdTypeArray* xvtk_pt_label_ids,
150  vtkIdTypeArray* xvtk_cell_label_ids);
151 
155  virtual void set_vtk_data(const sec_vd& xprop,
156  vtkDoubleArray* xvtk_prop,
157  int xprop_tensor_rank);
158 
159  // ===========================================================
160  // VISUALIZATION_ITERATOR_4_3 FACET
161  // ===========================================================
162 
163 
168 
173  const section_space_schema_member& xproperty_schema);
174 
179 
180 protected:
181 
182 private:
183 
188 
189 };
190 
191 } // namespace tool
192 
193 #endif // ifndef VISUALIZATION_ITERATOR_4_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 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.
A visualization iterator for uniform coordinates and property section with evaluation at elements and...