1 #ifndef GRAPHICS_PARAMETERS_H
2 #define GRAPHICS_PARAMETERS_H
11 using namespace DBase;
19 #define aString std::string
32 const int & mapNumberToPlot,
33 int & numberOfMapsPlotted,
36 const int & numberOfColourNames,
221 plotInterpolation = plotGrid << 1,
222 plotShadedSurfaces = plotInterpolation << 1,
223 plotInteriorGridLines = plotShadedSurfaces << 1,
224 plotBoundaryGridLines = plotInteriorGridLines << 1,
225 plotBlockBoundaries = plotBoundaryGridLines << 1,
226 plotBackupInterpolation = plotBlockBoundaries << 1,
227 plotInteriorBoundary = plotBackupInterpolation << 1,
228 doNotPlotFace00 = plotInteriorBoundary << 1,
229 doNotPlotFace10 = doNotPlotFace00 << 1,
230 doNotPlotFace01 = doNotPlotFace10 << 1,
231 doNotPlotFace11 = doNotPlotFace01 << 1,
232 doNotPlotFace02 = doNotPlotFace11 << 1,
233 doNotPlotFace12 = doNotPlotFace02 << 1,
234 doNotPlotGridLinesOnFace00 = doNotPlotFace12 << 1,
235 doNotPlotGridLinesOnFace10 = doNotPlotGridLinesOnFace00 << 1,
236 doNotPlotGridLinesOnFace01 = doNotPlotGridLinesOnFace10 << 1,
237 doNotPlotGridLinesOnFace11 = doNotPlotGridLinesOnFace01 << 1,
238 doNotPlotGridLinesOnFace02 = doNotPlotGridLinesOnFace11 << 1,
239 doNotPlotGridLinesOnFace12 = doNotPlotGridLinesOnFace02 << 1
259 baseMinMaxOnContourPlaneValues
302 setMinAndMaxContourLevels(
const real minValue,
const real maxValue,
const int component=0 );
306 getObjectWasPlotted()
const;
321 const int & mapNumberToPlot,
322 int & numberOfMapsPlotted,
325 const int & numberOfColourNames,
326 const bool & plotTheAxes,
333 getLabelGridsAndBoundaries(){
return labelGridsAndBoundaries; }
335 getBoundaryColourOption(){
return boundaryColourOption; }
337 getPlotShadedSurface(){
return plotShadedSurface; }
339 getPlotLinesOnMappingBoundaries(){
return plotLinesOnMappingBoundaries; }
341 getPlotNonPhysicalBoundaries(){
return plotNonPhysicalBoundaries; }
343 getPlotGridPointsOnCurves(){
return plotGridPointsOnCurves; }
345 getNumberOfGhostLinesToPlot(){
return numberOfGhostLinesToPlot; }
347 getMappingColour(){
return mappingColour; }
362 aString topLabel,topLabel1,topLabel2,topLabel3;
363 aString bottomLabel,bottomLabel1,bottomLabel2,bottomLabel3;
365 bool plotObjectAndExit;
367 bool usePlotBoundsOrLarger;
371 int objectWasPlotted;
372 int numberOfGhostLinesToPlot;
373 bool plotBoundsChanged;
375 int multigridLevelToPlot;
376 int refinementLevelToPlot;
377 bool plotRefinementGrids;
378 bool keepAspectRatio;
379 bool computeCoarseningFactor;
383 int rasterResolution;
385 bool plotTitleLabels;
392 bool plotGridPointsOnCurves;
393 bool plotEndPointsOnCurves;
394 bool plotLinesOnMappingBoundaries;
395 bool plotNonPhysicalBoundaries;
396 bool plotShadedMappingBoundaries;
398 bool plotMappingNormals;
399 bool plotNurbsCurvesAsSubCurves;
409 bool colourInterpolationPoints;
410 bool plotInterpolationPoints;
411 bool plotInterpolationCells;
412 bool plotBackupInterpolationPoints;
414 bool plotLinesOnGridBoundaries;
416 bool plotGridBlockBoundaries;
417 bool plotShadedSurfaceGrids;
418 bool plotUnsNodes, plotUnsFaces, plotUnsEdges, plotUnsBoundaryEdges;
419 bool labelBoundaries;
420 bool plotInteriorBoundaryPoints;
421 bool plotHiddenRefinementPoints;
423 int boundaryColourOption;
424 int gridLineColourOption;
425 int blockBoundaryColourOption;
427 int boundaryColourValue;
428 int gridLineColourValue;
429 int blockBoundaryColourValue;
437 bool labelGridsAndBoundaries;
442 bool plotContourLines;
443 bool plotShadedSurface;
444 int numberOfContourLevels;
446 bool colourLineContours;
448 int componentForContours;
449 int componentForSurfaceContours;
456 bool plotDashedLinesForNegativeContours;
457 bool plotGridBoundariesOnContourPlots;
464 int numberOfPointsPerLine;
465 int numberOfContourPlanes;
472 bool plot2DContoursOnCoordinatePlanes;
473 int normalAxisFor2DContoursOnCoordinatePlanes;
474 int numberOfIsoSurfaces;
475 int numberOfCoordinatePlanes;
476 int numberOfGridCoordinatePlanes;
477 int contour3dMinMaxOption;
481 int uComponentForStreamLines;
482 int vComponentForStreamLines;
483 int wComponentForStreamLines;
486 bool minAndMaxStreamLinesSpecified;
490 int numberOfStreamLineStartingPoints;
503 bool useUnsCutplane, useUnsFlatShading;
508 int adjustGridForDisplacement;
510 int displacementComponent[3];
518 void *showFileReader;
519 int showFileSolutionNumber;
520 void *showFileParameters;