MCPcopy Create free account
hub / github.com/Kitware/VTK / usage

Function usage

Utilities/vtk2xml.py:115–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113
114
115def usage():
116 msg = """usage: vtk2xml.py [options] vtk_file1 vtk_file2 ...\n
117This program converts VTK's old file format to the new XML format.
118
119The default mode is to store the data as appended (compressed and
120base64 encoded). Change this behaviour with the provided options.
121This code requires VTK 4.x or above to run.
122
123options:
124 -h, --help Show this help message and exit.
125
126 -b, --binary Store data as binary (compressed and base64 encoded).
127
128 -a, --ascii Store data as ascii.
129
130 -n, --no-encode Do not base64 encode the data. This violates the
131 XML specification but makes reading and writing fast
132 and files smaller.
133
134 -d, --output-dir <directory>
135 Output directory where the files should be generated.
136 Defaults to the same directory as the input file.
137"""
138 return msg
139
140
141def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected