~ubuntu-branches/ubuntu/karmic/gmsh/karmic

« back to all changes in this revision

Viewing changes to Plugin/CutPlane.h

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme, Daniel Leidert
  • Date: 2008-05-18 12:46:05 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080518124605-716xqbqeo07o497k
Tags: 2.2.0-2
[Christophe Prud'homme]
* Bug fix: "gmsh ships no .desktop", thanks to Vassilis Pandis (Closes:
  #375770). Applied the Ubuntu patch.

[Daniel Leidert]
* debian/control (Vcs-Svn): Fixed.
  (Build-Depends): Use texlive instead of tetex-bin.
* debian/gmsh.doc-base (Section): Fixed accordingly to doc-base (>= 0.8.10).
* debian/rules: Removed some variable declarations, that lead to double
  configuration and seem to be useless.
  (build/gmsh): Try to avoid multiple runs by using a stamp.
  (orig-tarball): Renamed to get-orig-source and changed to use uscan.
* debian/watch: Added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef _CUT_PLANE_H_
2
2
#define _CUT_PLANE_H_
3
3
 
4
 
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 
4
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
5
5
//
6
6
// This program is free software; you can redistribute it and/or modify
7
7
// it under the terms of the GNU General Public License as published by
31
31
{
32
32
  double levelset(double x, double y, double z, double val) const;
33
33
  static double callback(int num, int action, double value, double *opt,
34
 
                         double step, double min, double max);
 
34
                         double step, double min, double max);
35
35
  static int iview;
36
36
public:
37
 
  GMSH_CutPlanePlugin();
 
37
  GMSH_CutPlanePlugin(){}
38
38
  void getName(char *name) const;
39
39
  void getInfos(char *author, char *copyright, char *helpText) const;
40
40
  void catchErrorMessage(char *errorMessage) const;
41
41
  int getNbOptions() const;
42
42
  StringXNumber *getOption(int iopt);  
43
 
  Post_View *execute(Post_View *);
44
 
  virtual bool geometrical_filter ( Double_Matrix * geometrical_nodes_positions ) const;
 
43
  PView *execute(PView *);
 
44
  virtual bool geometricalFilter(Double_Matrix *) const;
45
45
 
46
46
  static double callbackA(int, int, double);
47
47
  static double callbackB(int, int, double);