/usr/include/lorene/C++/Include/graphique_vtk.h is in liblorene-dev 0.0.0~cvs20161116+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | /*
* Prototypes of graphical routines
*
*/
#ifndef __GRAPHIQUE_VTK_H_
#define __GRAPHIQUE_VTK_H_
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Lorene {
class Scalar ;
class Map ;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
/**
* \defgroup grafbasic Low level graphical routines.
* \ingroup (graphics)
* @{
*/
/*
* The following are routines used to save Lorene data in the vtk format
* for use with VisIt
*
*/
/** Saves the data for a \c Scalar in the plane X=constant.
*
* X is the Cartesian coordinate relative to the absolute frame.
*
* @param uu [input] \c Scalar to be drawn
* @param x0 [input] value of the coordinate X which defines the plane
* of the drawing
* @param nzdes [input] number of domains for which the plot is performed:
* the size of the graphic window is determined so that
* the \c nzdes innermost domains fit in it (for
* \c zoom = 1.)
* @param title [input] title of the figure (default value = 0x0,
* corresponds to no title)
* @param zoom [input] Factor by which the size of the graphic window
* (determined from the size of the \c nzdes innermost
* domains) is multiplied (default value = 1.2)
* @param ny [input] number of points in the Y direction (default value = 100)
* @param nz [input] number of points in the Z direction (default value = 100)
*/
void des_coupe_vtk_x(const Scalar& uu, double x0, int nzdes, const char* title = 0x0,
double zoom = 1.2, int ny = 100, int nz = 100) ;
/** Saves the data for a \c Scalar in the plane X=constant
* within a specified graphic window.
*
* X is the Cartesian coordinate relative to the absolute frame.
*
* @param uu [input] \c Scalar to be drawn
* @param x0 [input] value of the coordinate X which defines the plane
* of the drawing
* @param y_min [input] lowest value of absol. coord. Y
* @param y_max [input] highest value of absol. coord. Y
* @param z_min [input] lowest value of absol. coord. Z
* @param z_max [input] highest value of absol. coord. Z
* @param title [input] title of the figure (default value = 0x0,
* corresponds to no title)
* @param ny [input] number of points in the Y direction (default value = 100)
* @param nz [input] number of points in the Z direction (default value = 100)
*/
void des_coupe_vtk_x(const Scalar& uu, double x0, double y_min, double y_max,
double z_min, double z_max, const char* title = 0x0,
int ny = 100, int nz = 100) ;
/** Saves the data for a \c Scalar in the plane Y=constant.
*
* Y is the Cartesian coordinate relative to the absolute frame.
*
* @param uu [input] \c Scalar to be drawn
* @param y0 [input] value of the coordinate Y which defines the plane
* of the drawing
* @param nzdes [input] number of domains for which the plot is performed:
* the size of the graphic window is determined so that
* the \c nzdes innermost domains fit in it (for
* \c zoom = 1.)
* @param title [input] title of the figure (default value = 0x0,
* corresponds to no title)
* @param zoom [input] Factor by which the size of the graphic window
* (determined from the size of the \c nzdes innermost
* domains) is multiplied (default value = 1.2)
* @param nx [input] number of points in the X direction (default value = 100)
* @param nz [input] number of points in the Z direction (default value = 100)
*/
void des_coupe_vtk_y(const Scalar& uu, double y0, int nzdes, const char* title = 0x0,
double zoom = 1.2, int nx = 100, int nz = 100) ;
/** Saves the data for a \c Scalar in the plane Y=constant
* within a specified graphic window.
*
* Y is the Cartesian coordinate relative to the absolute frame.
*
* @param uu [input] \c Scalar to be drawn
* @param y0 [input] value of the coordinate Y which defines the plane
* of the drawing
* @param x_min [input] lowest value of absol. coord. x
* @param x_max [input] highest value of absol. coord. x
* @param z_min [input] lowest value of absol. coord. Z
* @param z_max [input] highest value of absol. coord. Z
* @param title [input] title of the figure (default value = 0x0,
* corresponds to no title)
* @param nx [input] number of points in the X direction (default value = 100)
* @param nz [input] number of points in the Z direction (default value = 100)
*/
void des_coupe_vtk_y(const Scalar& uu, double y0, double x_min, double x_max,
double z_min, double z_max, const char* title = 0x0,
int nx = 100, int nz = 100) ;
/** Saves the data for a \c Scalar in the plane Z=constant.
*
* Z is the Cartesian coordinate relative to the absolute frame.
*
* @param uu [input] \c Scalar to be drawn
* @param z0 [input] value of the coordinate Z which defines the plane
* of the drawing
* @param nzdes [input] number of domains for which the plot is performed:
* the size of the graphic window is determined so that
* the \c nzdes innermost domains fit in it (for
* \c zoom = 1.)
* @param title [input] title of the figure (default value = 0x0,
* corresponds to no title)
* @param zoom [input] Factor by which the size of the graphic window
* (determined from the size of the \c nzdes innermost
* domains) is multiplied (default value = 1.2)
* @param nx [input] number of points in the X direction (default value = 100)
* @param ny [input] number of points in the Y direction (default value = 100)
*/
void des_coupe_vtk_z(const Scalar& uu, double z0, int nzdes, const char* title = 0x0,
double zoom = 1.2, int nx = 100, int ny = 100) ;
/** Saves the data for a \c Scalar in the plane Z=constant
* within a specified graphic window.
*
* Z is the Cartesian coordinate relative to the absolute frame.
*
* @param uu [input] \c Scalar to be drawn
* @param z0 [input] value of the coordinate Z which defines the plane
* of the drawing
* @param x_min [input] lowest value of absol. coord. X
* @param x_max [input] highest value of absol. coord. X
* @param y_min [input] lowest value of absol. coord. Y
* @param y_max [input] highest value of absol. coord. Y
* @param title [input] title of the figure (default value = 0x0,
* corresponds to no title)
* @param nx [input] number of points in the X direction (default value = 100)
* @param ny [input] number of points in the Y direction (default value = 100)
*/
void des_coupe_vtk_z(const Scalar& uu, double z0, double x_min, double x_max,
double y_min, double y_max, const char* title = 0x0,
int nx = 100, int ny = 100) ;
/** Saves a three dimensional \c Scalar.
*
* @param uu [input] \c Scalar to be drawn
* @param nzdes [input] number of domains for which the plot is performed:
* the size of the graphic window is determined so that
* the \c nzdes innermost domains fit in it (for
* \c zoom = 1.)
* @param title [input] title of the figure (default value = 0x0,
* corresponds to no title)
* @param nx [input] number of points in the X direction (default value = 100)
* @param ny [input] number of points in the Y direction (default value = 100)
* @param nz [input] number of points in the Z direction (default value = 100)
*/
void des_vtk_xyz(const Scalar& uu, int nzdes, const char* title = 0x0,
int nx = 100, int ny = 100, int nz = 100) ;
/** Saves the data for a \c Scalar within a specified graphic window.
*
* @param uu [input] \c Scalar to be drawn
* @param x_min [input] lowest value of absol. coord. X
* @param x_max [input] highest value of absol. coord. X
* @param y_min [input] lowest value of absol. coord. Y
* @param y_max [input] highest value of absol. coord. Y
* @param z_min [input] lowest value of absol. coord. Z
* @param z_max [input] highest value of absol. coord. Z
* @param title [input] title of the figure (default value = 0x0,
* corresponds to no title)
* @param nx [input] number of points in the X direction (default value = 100)
* @param ny [input] number of points in the Y direction (default value = 100)
* @param nz [input] number of points in the Z direction (default value = 100)
*/
void des_vtk_xyz(const Scalar& uu, double x_min, double x_max,
double y_min, double y_max, double z_min, double z_max,
const char* title = 0x0, int nx = 100, int ny = 100, int nz = 100) ;
/** @} */
}
#endif
|