00001
00005 class GraphBasics2vtk : public GraphBasicsExport
00006
00007 {
00008 protected:
00009 int numEntry_Line;
00010 int numEntry_Poly;
00011 int numEntry_Point;
00012 int numLines, numPoly, numPoints;
00013
00014 VecSimple(VecSimple(Ptv(real))) LineBuffer;
00015 VecSimple(VecSimple(Ptv(real))) PolyBuffer;
00016
00017 public:
00018 GraphBasics2vtk ();
00019 virtual ~GraphBasics2vtk () {}
00020
00021 int current_color;
00022 String current_plot_type;
00023 String options;
00024
00025 virtual void usage ();
00026 virtual void processFormatSpecificOptions
00027 (
00028 VecSimple(String)& arguments,
00029 GBPlotSpecifications&
00030 );
00031 virtual bool conversionSupported (GBPlotSpecifications& plotspec);
00032
00033 virtual void extendVec (VecSimple(VecSimple(Ptv(real)))& Vec, int k);
00034
00035 virtual void gbHeader (GBPlotSpecifications& plotspec);
00036 virtual void gbFooter (GBPlotSpecifications& plotspec);
00037 virtual void gbAssemble (GBPlotSpecifications& plotspec);
00038 virtual void plotter (GBPlotSpecifications& plotspec,
00039 int numlp, int numentry,
00040 VecSimple(VecSimple(Ptv(real))) buffer);
00041 virtual void gbLine (GBPlotSpecifications& plotspec,
00042 VecSimple(Ptv(real))& points);
00043 virtual void gbPoint (GBPlotSpecifications& plotspec,
00044 VecSimple(Ptv(real))& points);
00045 virtual void gbPolygon (GBPlotSpecifications& plotspec,
00046 VecSimple(Ptv(real))& points);
00047 virtual void gbArrow (GBPlotSpecifications& plotspec,
00048 VecSimple(Ptv(real))& points);
00049 virtual void gbText (GBPlotSpecifications& plotspec, String& text,
00050 VecSimple(Ptv(real))& points);
00051 };
00052
00053