FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
F5Skeleton.hpp
1#ifndef __F5Skeleton_hpp
2#define __F5Skeleton_hpp
3
4#include <fiber/grid/SkeletonID.hpp>
5#include <fiber/grid/Grid.hpp>
6#include <F5/F5Path.h>
7
8// for class F5Domain
9#include "TypeRegistry.hpp"
10
11namespace Fiber
12{
13
18{
19 F5Path *myPath = 0;
21 const std::string myRepresenterName;
22
23 double myTime;
24 std::string myGridname;
25 const Fiber::SkeletonID& mySkeletonID;
26
27 const MemCore::RefPtr<Fiber::StorageTransformations> myStorageTransformations;
28
29
31 getFilterSettings(const Field&theField,
32 const string&FieldName,
33 Fiber::CreativeArrayBase&theCreator,
36 {
37 if (!myStorageTransformations)
39
40 return myStorageTransformations->getFilterSettings( myTime, myGridname, myGrid,
41 mySkeletonID,
42 myRepresenterName,
43
44 theField,
45 FieldName,
46 theCreator,
48 MemB);
49 }
50
51 RefPtr<H5GroupAccess> GroupAccess;
52
53 F5Skeleton(hid_t file_id, double time, const std::string&gridname,
55 ChartDomain_IDs*ChartDomain, const std::string&RepresenterName,
57 const Fiber::SkeletonID&Sid,
59
60 operator bool() const
61 {
62 return myPath != nullptr;
63 }
64
65protected:
67
68 bool installReloader( const MemCore::WeakPtr<Fiber::CreativeArrayBase>&theCreator,
70 const Fiber::Field&theField,
71 const std::string&FieldName,
73 const std::string&CacheInfo) const;
74
75public:
81 const DynamicSize&Sz,
83 const Fiber::Field&theField,
84 const std::string&FieldName,
88
89 bool F5writeAttributes(const std::string&FieldName,
92
94 bool F5saveData(const MemCore::RefPtr<Fiber::MemBase>&Mb,
95 const Fiber::Field&theField,
96 const std::string&FieldName,
100
107 Fiber::Field&F,
108 const std::string&FieldName,
111 int&ComputeRangeAttributeOnWriting) const;
112
113
116};
117
118}
119
120#endif // __F5Skeleton_hpp
basic_string< char > string
Base class for multidimensional arrays that employ deferred storage, i.e.
Definition CreativeArrayBase.hpp:75
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
A class describing an n-dimensional space at runtime.
Definition field/DynamicSize.hpp:29
A Field is a collection of CreativeArrayBase reference pointers which are accessed via FragmentID obj...
Definition Field.hpp:245
Identification information about a field's fragment.
Definition FragmentID.hpp:42
A Representation is a set of Field objects, each of them accessed via some FieldID identifier.
Definition Representation.hpp:101
Identifier for Skeletons within a Grid.
Definition SkeletonID.hpp:24
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
A helper class to create an F5Path from FiberLib context information.
Definition F5Skeleton.hpp:18
bool F5write(const MemCore::RefPtr< MemBase > &MemB, const MemCore::RefPtr< ChunkBase > &Mb, const DynamicSize &Sz, hid_t Mem_type_hid, const Fiber::Field &theField, const std::string &FieldName, const MemCore::RefPtr< Fiber::FragmentID > &fID, CreativeArrayBase &FieldFragmentAttributes, const StorageTransformations::FilterSettings &) const
NOTE: It may modify the attributes.
Definition F5write.cpp:338
bool F5save(const MemCore::RefPtr< Fiber::CreativeArrayBase > &cab, Fiber::Field &F, const std::string &FieldName, const MemCore::RefPtr< Fiber::FragmentID > &fID, const MemCore::RefPtr< Fiber::Binder > &theBinder, int &ComputeRangeAttributeOnWriting) const
May modify the Field by expanding its range attribute when computing range attributes is requested as...
Definition F5Skeleton.cpp:849
Definition StorageTransformations.hpp:196