FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
VCreateScriptH5.hpp
1
8#ifndef __VCREATESCRIPTH5_HPP
9#define __VCREATESCRIPTH5_HPP
10
11#include <ostream>
12
13namespace Wizt
14{
15
21extern bool createVScriptH5(const std::string&ScriptPathName);
22
23
24extern std::string VScriptEscapeIdentifierH5(const std::string&InternalObjectName);
25extern std::string VScriptUnEscapeIdentifierH5(const std::string&ExternalObjectName);
26
27const std::string VScriptH5Type = "Wizt::VScriptH5";
28
29
30} // namespace Wizt
31
32enum Object_type {
33 PRODECURAL_OBJECT = 1,
34 IMPLICITLY_CREATED = 2,
35 DELETE_IF_EXISTS = 3,
36 UNDEFINED = 4
37};
38
39/* object types:
40 * 1: procedural object (no creator)
41 * 2: Implicitly created object
42 * 3: DELETE IF EXISTS
43 *
44 *
45 * special attributes:
46 * __line_feeds_converted_to_vertical_tabs: 1 if line feeds have been converted to vertical tabs
47 * __local_params__: contains the parameter names of all parameters that are local within an object, separated with \n (attributes within a group)
48 * __comments: the user info comments, separated with \n
49 * __creator: the creator of the object
50 * __object_type__: one of the above
51*/
52
53#define ATTR_LOCAL_PARAMS "__local_params__"
54#define ATTR_LINE_FEEDS_TO_VTABS "__line_feeds_converted_to_vertical_tabs__"
55#define ATTR_COMMENTS "__comments__"
56#define ATTR_CREATOR "__creator__"
57#define ATTR_OBJECT_TYPE "__object_type__"
58
59
60#endif // __VCREATESCRIPTH5_HPP
basic_string< char > string
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...
bool createVScriptH5(const std::string &ScriptPathName)
Create a Vish Script in HDF5 format from the current status of Vish Objects, their parameters and rel...
Definition VCreateScriptH5.cpp:89