Now all escaping required for the C++ code generation is done when the .cpp/.h files are generated. Previously, only newlines were escaped automatically. This was a) inconsistent and b) leaked c++ details into the xml data. In addition, the escaping is now done in one central place, harmonizing the three previous implementations. Pre-existing c++ escape sequences in the XML files have been replaced by their literal equivalent so that the resulting python doc sting remains unchanged.
87 lines
2.8 KiB
XML
87 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
|
<PythonExport
|
|
Father="GeoFeaturePy"
|
|
Name="MeshFeaturePy"
|
|
Twin="Feature"
|
|
TwinPointer="Feature"
|
|
Include="Mod/Mesh/App/MeshFeature.h"
|
|
Namespace="Mesh"
|
|
FatherInclude="App/GeoFeaturePy.h"
|
|
FatherNamespace="App">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
|
|
<UserDocu>The Mesh::Feature class handles meshes.
|
|
The Mesh.MeshFeature() function is for internal use only and cannot be used to create instances of this class.
|
|
Therefore you must have a reference to a document, e.g. 'd' then you can create an instance with
|
|
d.addObject("Mesh::Feature").
|
|
</UserDocu>
|
|
</Documentation>
|
|
<Methode Name="countPoints">
|
|
<Documentation>
|
|
<UserDocu>Return the number of vertices of the mesh object</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="countFacets">
|
|
<Documentation>
|
|
<UserDocu>Return the number of facets of the mesh object</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="harmonizeNormals">
|
|
<Documentation>
|
|
<UserDocu>Adjust wrong oriented facets</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="smooth">
|
|
<Documentation>
|
|
<UserDocu>Smooth the mesh data</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="removeNonManifolds">
|
|
<Documentation>
|
|
<UserDocu>Remove non-manifolds</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="removeNonManifoldPoints">
|
|
<Documentation>
|
|
<UserDocu>Remove non-manifold points</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="fixIndices">
|
|
<Documentation>
|
|
<UserDocu>Repair any invalid indices</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="fixDegenerations">
|
|
<Documentation>
|
|
<UserDocu>Remove degenerated facets</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="removeDuplicatedFacets">
|
|
<Documentation>
|
|
<UserDocu>Remove duplicated facets</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="removeDuplicatedPoints">
|
|
<Documentation>
|
|
<UserDocu>Remove duplicated points</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="fixSelfIntersections">
|
|
<Documentation>
|
|
<UserDocu>Repair self-intersections</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="removeFoldsOnSurface">
|
|
<Documentation>
|
|
<UserDocu>Remove folds on surfaces</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="removeInvalidPoints">
|
|
<Documentation>
|
|
<UserDocu>Remove points with invalid coordinates (NaN)</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
</PythonExport>
|
|
</GenerateModel>
|