/usr/include/fem/femGraphicDeviceIndependent.hpp is in libfreefem-dev 3.5.8-5.1ubuntu1.
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 | // Emacs will be in -*- Mode: c++ -*-
//
// ********** DO NOT REMOVE THIS BANNER **********
//
// SUMMARY: Language for a Finite Element Method
//
// AUTHORS: C. Prud'homme
// ORG :
// E-MAIL : prudhomm@users.sourceforge.net
//
// ORIG-DATE: June-94
// LAST-MOD: 13-Aug-00 at 22:41:05 by Christophe Prud'homme
//
// DESCRIPTION:
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
// DESCRIP-END.
//
#ifndef __ugraph_H
#ifdef __GNUG__
#pragma interface
#endif
#define __ugraph_H 1
#if defined(HAVE_CONFIG_H)
#include <config.h>
#endif /* HAVE_CONFIG_H */
#include <femMesh.hpp>
namespace fem
{
DECLARE_CLASS( femGraphicDeviceIndependent );
/*!
\class femGraphicDeviceIndependent
\brief device independat graphic class
@author Christophe Prud'homme <prudhomm@users.sourceforge.net>
@see
@version $Id: femGraphicDeviceIndependent.hpp,v 1.2 2001/07/12 15:15:39 delpinux Exp $
*/
class femGraphicDeviceIndependent
{
public:
/** @name Typedefs
*/
//@{
typedef femMesh::femPoint femPoint;
typedef femMesh::femTriangle femTriangle;
//@}
/** @name Constructors, destructor and methods
*/
//@{
femGraphicDeviceIndependent( femMesh* = 0 );
~femGraphicDeviceIndependent();
//@}
/** @name Mutators
*/
//@{
void setTriangulation( femMesh* );
//@}
/** @name Methods
*/
//@{
void graph3d(float* f, int waitm);
void showtriangulation(int waitm);
void equpot(int *ng, float* f, int nl, int waitm);
void equpotd(int *ng, float* f, int nl, int waitm);
void showbdy(long nbs,float* cr, long nba, long* arete, float* hh, int waitm);
//@}
private:
void Init (femPoint* rp, int ns, char *s);
void quicksort (float *tb, int *o, int n);
void initt (void);
void projection (float *f);
void contour (int ng[], int coul);
private:
femMesh* __t;
int* ordre;
float* table;
femPoint* proj;
float xfmin;
float xfmax;
};
}
#endif /* __FEMGRAPHICDEVICEINDEPENDENT_H */
|