]> git.pld-linux.org Git - packages/vtk.git/blame - vtk-doc.patch
- added doc patch, fixed DoxygenDoc build
[packages/vtk.git] / vtk-doc.patch
CommitLineData
bc12798a
JB
1--- VTK-8.2.0/Utilities/Doxygen/doc_version.pl.orig 2019-01-30 18:15:13.000000000 +0100
2+++ VTK-8.2.0/Utilities/Doxygen/doc_version.pl 2021-01-08 17:01:33.913860627 +0100
3@@ -152,24 +152,24 @@
4 if exists $args{"logo"} && -f $args{"logo"};
5
6 print DEST_FILE
7- " \@par VTK:\n"
8- " VTK is an open-source software system for image processing, 3D \n"
9- " graphics, volume rendering and visualization. VTK includes many \n"
10- " advanced algorithms (e.g., surface reconstruction, implicit modelling, \n"
11- " decimation) and rendering techniques (e.g., hardware-accelerated \n"
12- " volume rendering, LOD control).\n"
13- " \@par \n"
14- " VTK is used by academicians for teaching and research; by government \n"
15- " research institutions such as Los Alamos National Lab in the US or \n"
16- " CINECA in Italy; and by many commercial firms who use VTK to build or \n"
17- " extend products. \n"
18- " \@par \n"
19- " The origin of VTK is with the textbook \"The Visualization Toolkit, an \n"
20- " Object-Oriented Approach to 3D Graphics\" originally published by \n"
21- " Prentice Hall and now published by Kitware, Inc. (Third Edition ISBN \n"
22- " 1-930934-07-6). VTK has grown (since its initial release in 1994) to a \n"
23- " world-wide user base in the commercial, academic, and research \n"
24- " communities. \n"
25+ " \@par VTK:\n",
26+ " VTK is an open-source software system for image processing, 3D \n",
27+ " graphics, volume rendering and visualization. VTK includes many \n",
28+ " advanced algorithms (e.g., surface reconstruction, implicit modelling, \n",
29+ " decimation) and rendering techniques (e.g., hardware-accelerated \n",
30+ " volume rendering, LOD control).\n",
31+ " \@par \n",
32+ " VTK is used by academicians for teaching and research; by government \n",
33+ " research institutions such as Los Alamos National Lab in the US or \n",
34+ " CINECA in Italy; and by many commercial firms who use VTK to build or \n",
35+ " extend products. \n",
36+ " \@par \n",
37+ " The origin of VTK is with the textbook \"The Visualization Toolkit, an \n",
38+ " Object-Oriented Approach to 3D Graphics\" originally published by \n",
39+ " Prentice Hall and now published by Kitware, Inc. (Third Edition ISBN \n",
40+ " 1-930934-07-6). VTK has grown (since its initial release in 1994) to a \n",
41+ " world-wide user base in the commercial, academic, and research \n",
42+ " communities. \n",
43 " \@par Useful links:\n",
44 " \@li VTK Home: http://www.vtk.org\n",
45 " \@li VTK Source: https://gitlab.kitware.com/vtk/vtk\n",
46@@ -178,8 +178,8 @@
47 " \@li VTK FAQ: http://www.vtk.org/Wiki/VTK_FAQ\n",
48 " \@li VTK Wiki: http://www.vtk.org/Wiki/\n",
49 " \@li VTK Dashboard: http://www.cdash.org/CDash/index.php?project=VTK\n",
50- " \@li Commercial <a href=\"https://www.kitware.com/products/support.html\">support</a> "
51- " and <a href=\"http://www.kitware.com/products/protraining.php\">training<\a> "
52+ " \@li Commercial <a href=\"https://www.kitware.com/products/support.html\">support</a> ",
53+ " and <a href=\"http://www.kitware.com/products/protraining.php\">training<\a> ",
54 " are available from Kitware\n",
55 " ",
56 "*/\n\n";
57--- VTK-8.2.0/Utilities/Doxygen/doxyfile.in.orig 2019-01-30 18:15:13.000000000 +0100
58+++ VTK-8.2.0/Utilities/Doxygen/doxyfile.in 2021-01-09 21:30:25.895589327 +0100
59@@ -102,6 +102,7 @@
60 COLS_IN_ALPHA_INDEX = 3
61 IGNORE_PREFIX = vtk
62
63+EXTRA_PACKAGES = amstext
64 ENABLE_PREPROCESSING = YES
65 MACRO_EXPANSION = YES
66 SEARCH_INCLUDES = YES
67--- VTK-8.2.0/Filters/General/vtkCurvatures.h.orig 2019-01-30 18:15:13.000000000 +0100
68+++ VTK-8.2.0/Filters/General/vtkCurvatures.h 2021-01-10 16:44:11.212483671 +0100
69@@ -21,7 +21,7 @@
70 *
71 * Gauss Curvature
72 * discrete Gauss curvature (K) computation,
73- * \f$K(\text{vertex v}) = 2*\pi - \sum_{\text{facet neighbs f of v}} (\text{angle_f at v})\f$.
74+ * \f$K(\text{vertex v}) = 2*\pi - \sum_{\text{facet neighbs f of v}} (\text{angle\_f at v})\f$.
75 * The contribution of every facet is for the moment weighted by \f$Area(facet)/3\f$.
76 * The units of Gaussian Curvature are \f$[1/m^2]\f$.
77 *
78@@ -34,13 +34,13 @@
79 * the computation creates the orientation.
80 * The units of Mean Curvature are [1/m].
81 *
82- * Maximum (\f$k_\max\f$) and Minimum (\f$k_\min\f$) Principal Curvatures
83- * \f$k_\max = H + \sqrt{H^2 - K}\f$,
84- * \f$k_\min = H - \sqrt{H^2 - K}\f$
85+ * Maximum (\f$k_{max}\f$) and Minimum (\f$k_{min}\f$) Principal Curvatures
86+ * \f$k_{max} = H + \sqrt{H^2 - K}\f$,
87+ * \f$k_{min} = H - \sqrt{H^2 - K}\f$
88 * Excepting spherical and planar surfaces which have equal principal
89 * curvatures, the curvature at a point on a surface varies with the direction
90 * one "sets off" from the point. For all directions, the curvature will pass
91- * through two extrema: a minimum (\f$k_\min\f$) and a maximum (\f$k_\max\f$)
92+ * through two extrema: a minimum (\f$k_{min}\f$) and a maximum (\f$k_{max}\f$)
93 * which occur at mutually orthogonal directions to each other.
94 *
95 * NB. The sign of the Gauss curvature is a geometric invariant, it should be
96@@ -130,12 +130,12 @@
97 void GetMeanCurvature(vtkPolyData *output);
98
99 /**
100- * Maximum principal curvature \f$k_max = H + sqrt(H^2 -K)\f$
101+ * Maximum principal curvature \f$k_{max} = H + sqrt(H^2 -K)\f$
102 */
103 void GetMaximumCurvature(vtkPolyData *input, vtkPolyData *output);
104
105 /**
106- * Minimum principal curvature \f$k_min = H - sqrt(H^2 -K)\f$
107+ * Minimum principal curvature \f$k_{min} = H - sqrt(H^2 -K)\f$
108 */
109 void GetMinimumCurvature(vtkPolyData *input, vtkPolyData *output);
110
This page took 0.038522 seconds and 4 git commands to generate.