00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _PO_MESHLINES_
00025 #define _PO_MESHLINES_
00026
00027 #include <MeshViz/3Ddata/PoMesh2D.h>
00028
00029 class PbCartesianGrid2D;
00030 class PbParalCartesianGrid2D;
00031 class PbRegularCartesianGrid2D;
00032 class PbPolarGrid2D;
00033 class PbTriangleMesh2D;
00034 class PbQuadrangleMesh2D;
00035 class PbIndexedMesh2D;
00036
00065 class PoMeshLines : public PoMesh2D {
00066
00067 SO_KIT_HEADER(PoMeshLines) ;
00068
00069
00070 SO_KIT_CATALOG_ENTRY_HEADER(groupLines) ;
00071
00072
00073 public:
00074
00078 PoMeshLines() ;
00079
00083 virtual void rebuild() ;
00084
00085
00086 private:
00087 static void initClass() ;
00088 static void exitClass() ;
00089
00090 void regularCartGridLines(PbRegularCartesianGrid2D *mesh);
00091 void paralCartGridLines(PbParalCartesianGrid2D *mesh);
00092 void cartGridLines(PbCartesianGrid2D *mesh);
00093 void polarGridLines(PbPolarGrid2D *mesh);
00094 void triangleLines(PbTriangleMesh2D *mesh);
00095 void quadrangleLines(PbQuadrangleMesh2D *mesh) ;
00096 void indexedLines(PbIndexedMesh2D *mesh) ;
00097
00098 private:
00099
00100
00101 virtual ~PoMeshLines() ;
00102 virtual void setDefaultOnNonWritingFields();
00103 virtual void addElementsAllCaches() ;
00104 virtual void preRebuild();
00105
00106
00107 private:
00108
00109
00110
00111 void regularCartGridLinesInhColr(PbRegularCartesianGrid2D *mesh, const float *z=0) ;
00112 void regularCartGridLinesMapColr(PbRegularCartesianGrid2D *mesh, const float *v, const float *z=0) ;
00113 void regularCartGridLinesAvergColr(PbRegularCartesianGrid2D *mesh, const float *v, const float *z=0) ;
00114
00115 void paralCartGridLinesInhColr(PbParalCartesianGrid2D *mesh, const float *z=0) ;
00116 void paralCartGridLinesMapColr(PbParalCartesianGrid2D *mesh, const float *v, const float *z=0) ;
00117 void paralCartGridLinesAvergColr(PbParalCartesianGrid2D *mesh, const float *v, const float *z=0) ;
00118 void paralCartGridLinesContColr(PbParalCartesianGrid2D *mesh, const float *v, const float *z=0) ;
00119
00120 void cartGridLinesInhColr(PbCartesianGrid2D *mesh, const float *z=0) ;
00121 void cartGridLinesMapColr(PbCartesianGrid2D *mesh, const float *v, const float *z=0) ;
00122 void cartGridLinesAvergColr(PbCartesianGrid2D *mesh, const float *v, const float *z=0) ;
00123 void cartGridLinesContColr(PbCartesianGrid2D *mesh, const float *v, const float *z=0) ;
00124
00125 void polarGridLinesInhColr(PbPolarGrid2D *mesh, const float *z=0) ;
00126 void polarGridLinesMapColr(PbPolarGrid2D *mesh, const float *v, const float *z=0) ;
00127 void polarGridLinesAvergColr(PbPolarGrid2D *mesh, const float *v, const float *z=0) ;
00128 void polarGridLinesContColr(PbPolarGrid2D *mesh, const float *v, const float *z=0) ;
00129
00130 void triangleLinesInhColr(PbTriangleMesh2D *mesh, const float *z=0) ;
00131 void triangleLinesMapColr(PbTriangleMesh2D *mesh, const float *v, const float *z=0) ;
00132 void triangleLinesAvergColr(PbTriangleMesh2D *mesh, const float *v, const float *z=0);
00133 void triangleLinesContColr(PbTriangleMesh2D *mesh, const float *v, const float *z=0);
00134
00135 void quadrangleLinesInhColr(PbQuadrangleMesh2D *mesh, const float *z=0) ;
00136 void quadrangleLinesMapColr(PbQuadrangleMesh2D *mesh, const float *v, const float *z=0) ;
00137 void quadrangleLinesAvergColr(PbQuadrangleMesh2D *mesh, const float *v, const float *z=0);
00138 void quadrangleLinesContColr(PbQuadrangleMesh2D *mesh, const float *v, const float *z=0);
00139
00140 void indexedLinesInhColr(PbIndexedMesh2D *mesh, const float *z=0);
00141 void indexedLinesMapColr(PbIndexedMesh2D *mesh, const float *v, const float *z=0);
00142 void indexedLinesAvergColr(PbIndexedMesh2D *mesh, const float *v, const float *z=0);
00143 void indexedLinesContColr(PbIndexedMesh2D *mesh, const float *v, const float *z=0);
00144 } ;
00145
00146
00147
00148 #endif
00149
00150
00151
00152