Overture  Version 25
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
GraphicsParameters Class Reference

#include <GraphicsParameters.h>

Collaboration diagram for GraphicsParameters:
Collaboration graph
[legend]

Public Types

enum  ColourTables {
  rainbow, gray, red, green,
  blue, userDefined, numberOfColourTables
}
 
enum  HardCopyType { postScript, encapsulatedPostScript, postScriptRaster, ppm }
 
enum  OutputFormat { colour8Bit, colour24Bit, blackAndWhite, grayScale }
 
enum  Sizes {
  lineWidth, axisNumberSize, axisLabelSize, axisMinorTickSize,
  axisMajorTickSize, topLabelSize, topSubLabelSize, bottomLabelSize,
  bottomSubLabelSize, minorContourWidth, majorContourWidth, streamLineWidth,
  labelLineWidth, curveLineWidth, extraSize2, extraSize3,
  extraSize4, numberOfSizes
}
 
enum  GridOptions {
  plotGrid =1, plotInterpolation = plotGrid << 1, plotShadedSurfaces = plotInterpolation << 1, plotInteriorGridLines = plotShadedSurfaces << 1,
  plotBoundaryGridLines = plotInteriorGridLines << 1, plotBlockBoundaries = plotBoundaryGridLines << 1, plotBackupInterpolation = plotBlockBoundaries << 1, plotInteriorBoundary = plotBackupInterpolation << 1,
  doNotPlotFace00 = plotInteriorBoundary << 1, doNotPlotFace10 = doNotPlotFace00 << 1, doNotPlotFace01 = doNotPlotFace10 << 1, doNotPlotFace11 = doNotPlotFace01 << 1,
  doNotPlotFace02 = doNotPlotFace11 << 1, doNotPlotFace12 = doNotPlotFace02 << 1, doNotPlotGridLinesOnFace00 = doNotPlotFace12 << 1, doNotPlotGridLinesOnFace10 = doNotPlotGridLinesOnFace00 << 1,
  doNotPlotGridLinesOnFace01 = doNotPlotGridLinesOnFace10 << 1, doNotPlotGridLinesOnFace11 = doNotPlotGridLinesOnFace01 << 1, doNotPlotGridLinesOnFace02 = doNotPlotGridLinesOnFace11 << 1, doNotPlotGridLinesOnFace12 = doNotPlotGridLinesOnFace02 << 1
}
 
enum  ColourOptions {
  defaultColour, colourByGrid, colourByRefinementLevel, colourByBoundaryCondition,
  colourByShare, colourByValue, colourBlack, colourByIndex,
  colourByDomain
}
 
enum  Contour3dMinMaxEnum { baseMinMaxOnGlobalValues, baseMinMaxOnContourPlaneValues }
 
enum  ToggledItems { toggleGrids =1, toggleContours =2, toggleStreamLines =4, toggleSum =1+2+4 }
 

Public Member Functions

 GraphicsParameters (bool default0=FALSE)
 
 ~GraphicsParameters ()
 
bool isDefault ()
 
aStringget (const GraphicsOptions &option, aString &label) const
 
int & get (const GraphicsOptions &option, int &value) const
 
GUITypes::realget (const GraphicsOptions &option, GUITypes::real &value) const
 
IntegerArrayget (const GraphicsOptions &option, IntegerArray &values) const
 
RealArrayget (const GraphicsOptions &option, RealArray &values) const
 
GUITypes::realget (const Sizes &option, GUITypes::real &value) const
 
int set (const GraphicsOptions &option, const aString &label)
 
int set (const GraphicsOptions &option, GUITypes::real value)
 
int set (const GraphicsOptions &option, const IntegerArray &values)
 
int set (const GraphicsOptions &option, const RealArray &values)
 
int set (const Sizes &option, GUITypes::real value)
 
int setColourTable (ColourTableFunctionPointer ctf)
 
int setMinAndMaxContourLevels (const real minValue, const real maxValue, const int component=0)
 Set the min and max contour levels for a given component.
 
int getObjectWasPlotted () const
 
bool & getLabelGridsAndBoundaries ()
 
int & getBoundaryColourOption ()
 
bool & getPlotShadedSurface ()
 
bool & getPlotLinesOnMappingBoundaries ()
 
bool & getPlotNonPhysicalBoundaries ()
 
bool & getPlotGridPointsOnCurves ()
 
int & getNumberOfGhostLinesToPlot ()
 
aStringgetMappingColour ()
 

Public Attributes

enum
GraphicsParameters::ColourTables 
colourTable
 
aString topLabel
 
aString topLabel1
 
aString topLabel2
 
aString topLabel3
 
aString bottomLabel
 
aString bottomLabel1
 
aString bottomLabel2
 
aString bottomLabel3
 
bool plotObject
 
bool plotObjectAndExit
 
bool usePlotBounds
 
bool usePlotBoundsOrLarger
 
bool plotTheAxes
 
RealArray plotBound
 
RealArray size
 
int objectWasPlotted
 
int numberOfGhostLinesToPlot
 
bool plotBoundsChanged
 
GUITypes::real relativeChangeForPlotBounds
 
int multigridLevelToPlot
 
int refinementLevelToPlot
 
bool plotRefinementGrids
 
bool keepAspectRatio
 
bool computeCoarseningFactor
 
HardCopyType hardCopyType
 
OutputFormat outputFormat
 
int rasterResolution
 
bool plotTitleLabels
 
bool labelColourBar
 
int labelMinMax
 
bool labelComponent
 
aString mappingColour
 
bool plotGridPointsOnCurves
 
bool plotEndPointsOnCurves
 
bool plotLinesOnMappingBoundaries
 
bool plotNonPhysicalBoundaries
 
bool plotShadedMappingBoundaries
 
bool plotMappingEdges
 
bool plotMappingNormals
 
bool plotNurbsCurvesAsSubCurves
 
GUITypes::real lineOffset
 
GUITypes::real pointOffset
 
GUITypes::real surfaceOffset
 
IntegerArray gridsToPlot
 
IntegerArray gridOptions
 
IntegerArray gridBoundaryConditionOptions
 
IntegerArray gridColours
 
bool colourInterpolationPoints
 
bool plotInterpolationPoints
 
bool plotInterpolationCells
 
bool plotBackupInterpolationPoints
 
bool plotBranchCuts
 
bool plotLinesOnGridBoundaries
 
int plotGridLines
 
bool plotGridBlockBoundaries
 
bool plotShadedSurfaceGrids
 
bool plotUnsNodes
 
bool plotUnsFaces
 
bool plotUnsEdges
 
bool plotUnsBoundaryEdges
 
bool labelBoundaries
 
bool plotInteriorBoundaryPoints
 
bool plotHiddenRefinementPoints
 
int boundaryColourOption
 
int gridLineColourOption
 
int blockBoundaryColourOption
 
int boundaryColourValue
 
int gridLineColourValue
 
int blockBoundaryColourValue
 
GUITypes::real yLevelFor1DGrids
 
GUITypes::real zLevelFor2DGrids
 
bool labelGridsAndBoundaries
 
bool plotContourLines
 
bool plotShadedSurface
 
int numberOfContourLevels
 
bool plotWireFrame
 
bool colourLineContours
 
bool plotColourBar
 
int componentForContours
 
int componentForSurfaceContours
 
IntegerArray componentsToPlot
 
IntegerArray minAndMaxContourLevelsSpecified
 
RealArray minAndMaxContourLevels
 
RealArray contourLevels
 
RealArray axesOrigin
 
GUITypes::real minimumContourSpacing
 
bool plotDashedLinesForNegativeContours
 
bool plotGridBoundariesOnContourPlots
 
GUITypes::real contourSurfaceVerticalScaleFactor
 
GUITypes::real contourSurfaceSpatialBound
 
bool flatShading
 
bool linePlots
 
int numberOfLines
 
int numberOfPointsPerLine
 
int numberOfContourPlanes
 
RealArray linePlotEndPoints
 
RealArray contourPlane
 
IntegerArray plotContourOnGridFace
 
RealArray isoSurfaceValue
 
IntegerArray coordinatePlane
 
IntegerArray gridCoordinatePlane
 
bool plot2DContoursOnCoordinatePlanes
 
int normalAxisFor2DContoursOnCoordinatePlanes
 
int numberOfIsoSurfaces
 
int numberOfCoordinatePlanes
 
int numberOfGridCoordinatePlanes
 
int contour3dMinMaxOption
 
IntegerArray backGroundGridDimension
 
int uComponentForStreamLines
 
int vComponentForStreamLines
 
int wComponentForStreamLines
 
GUITypes::real minStreamLine
 
GUITypes::real maxStreamLine
 
GUITypes::real streamLineStoppingTolerance
 
bool minAndMaxStreamLinesSpecified
 
GUITypes::real streamLineArrowSize
 
int numberOfStreamLineStartingPoints
 
realArray streamLineStartingPoint
 
IntegerArray numberOfRakePoints
 
realArray rakeEndPoint
 
IntegerArray numberOfRectanglePoints
 
realArray rectanglePoint
 
GUITypes::real pointSize
 
int pointSymbol
 
aString pointColour
 
aString lineColour
 
bool useUnsCutplane
 
bool useUnsFlatShading
 
RealArray unsCutplaneVertex
 
RealArray unsCutplaneNormal
 
int adjustGridForDisplacement
 
GUITypes::real displacementScaleFactor
 
int displacementComponent [3]
 
bool defaultObject
 
ColourTableFunctionPointer colourTableFunction
 
void * showFileReader
 
int showFileSolutionNumber
 
void * showFileParameters
 
DataBase dbase
 

Static Public Attributes

static GUITypes::real xScaleFactor =1.
 
static GUITypes::real yScaleFactor =1.
 
static GUITypes::real zScaleFactor =1.
 

Friends

class GenericGraphicsInterface
 
class GL_GraphicsInterface
 
class PlotIt
 
int viewMappings (MappingInformation &mapInfo)
 
int plotAListOfMappings (MappingInformation &mapInfo, const int &mapNumberToPlot, int &numberOfMapsPlotted, IntegerArray &listOfMapsToPlot, aString *localColourNames, const int &numberOfColourNames, const bool &plotTheAxes, GraphicsParameters &params)
 
int readMappings (MappingInformation &mapInfo)
 

Member Enumeration Documentation

Enumerator
defaultColour 
colourByGrid 
colourByRefinementLevel 
colourByBoundaryCondition 
colourByShare 
colourByValue 
colourBlack 
colourByIndex 
colourByDomain 
Enumerator
rainbow 
gray 
red 
green 
blue 
userDefined 
numberOfColourTables 
Enumerator
baseMinMaxOnGlobalValues 
baseMinMaxOnContourPlaneValues 
Enumerator
plotGrid 
plotInterpolation 
plotShadedSurfaces 
plotInteriorGridLines 
plotBoundaryGridLines 
plotBlockBoundaries 
plotBackupInterpolation 
plotInteriorBoundary 
doNotPlotFace00 
doNotPlotFace10 
doNotPlotFace01 
doNotPlotFace11 
doNotPlotFace02 
doNotPlotFace12 
doNotPlotGridLinesOnFace00 
doNotPlotGridLinesOnFace10 
doNotPlotGridLinesOnFace01 
doNotPlotGridLinesOnFace11 
doNotPlotGridLinesOnFace02 
doNotPlotGridLinesOnFace12 
Enumerator
postScript 
encapsulatedPostScript 
postScriptRaster 
ppm 
Enumerator
colour8Bit 
colour24Bit 
blackAndWhite 
grayScale 
Enumerator
lineWidth 
axisNumberSize 
axisLabelSize 
axisMinorTickSize 
axisMajorTickSize 
topLabelSize 
topSubLabelSize 
bottomLabelSize 
bottomSubLabelSize 
minorContourWidth 
majorContourWidth 
streamLineWidth 
labelLineWidth 
curveLineWidth 
extraSize2 
extraSize3 
extraSize4 
numberOfSizes 
Enumerator
toggleGrids 
toggleContours 
toggleStreamLines 
toggleSum 

Constructor & Destructor Documentation

GraphicsParameters::GraphicsParameters ( bool  default0 = FALSE)

References adjustGridForDisplacement, axesOrigin, axisLabelSize, axisMajorTickSize, axisMinorTickSize, axisNumberSize, backGroundGridDimension, baseMinMaxOnGlobalValues, blockBoundaryColourOption, blockBoundaryColourValue, bottomLabel, bottomLabel1, bottomLabel2, bottomLabel3, bottomLabelSize, bottomSubLabelSize, boundaryColourOption, boundaryColourValue, colour8Bit, colourByGrid, colourInterpolationPoints, colourLineContours, colourTable, colourTableFunction, componentForContours, componentForSurfaceContours, computeCoarseningFactor, contour3dMinMaxOption, contourSurfaceSpatialBound, contourSurfaceVerticalScaleFactor, curveLineWidth, defaultColour, defaultColourTableFunction(), defaultObject, GenericGraphicsInterface::defaultOrigin, displacementComponent, displacementScaleFactor, End, flatShading, gridLineColourOption, gridLineColourValue, hardCopyType, keepAspectRatio, labelBoundaries, labelColourBar, labelComponent, labelGridsAndBoundaries, labelLineWidth, labelMinMax, lineColour, lineOffset, linePlots, lineWidth, majorContourWidth, mappingColour, maxStreamLine, minAndMaxContourLevels, minAndMaxContourLevelsSpecified, minAndMaxStreamLinesSpecified, minimumContourSpacing, minorContourWidth, minStreamLine, multigridLevelToPlot, normalAxisFor2DContoursOnCoordinatePlanes, NULL, numberOfContourLevels, numberOfContourPlanes, numberOfCoordinatePlanes, numberOfGhostLinesToPlot, numberOfGridCoordinatePlanes, numberOfIsoSurfaces, numberOfLines, numberOfPointsPerLine, numberOfSizes, numberOfStreamLineStartingPoints, objectWasPlotted, outputFormat, plot2DContoursOnCoordinatePlanes, plotBackupInterpolationPoints, plotBound, plotBoundsChanged, plotBranchCuts, plotColourBar, plotContourLines, plotDashedLinesForNegativeContours, plotEndPointsOnCurves, plotGridBlockBoundaries, plotGridBoundariesOnContourPlots, plotGridLines, plotGridPointsOnCurves, plotHiddenRefinementPoints, plotInteriorBoundaryPoints, plotInterpolationCells, plotInterpolationPoints, plotLinesOnGridBoundaries, plotLinesOnMappingBoundaries, plotMappingEdges, plotMappingNormals, plotNonPhysicalBoundaries, plotNurbsCurvesAsSubCurves, plotObject, plotObjectAndExit, plotRefinementGrids, plotShadedMappingBoundaries, plotShadedSurface, plotShadedSurfaceGrids, plotTheAxes, plotTitleLabels, plotUnsBoundaryEdges, plotUnsEdges, plotUnsFaces, plotUnsNodes, plotWireFrame, pointColour, pointOffset, pointSize, pointSymbol, postScript, rainbow, rasterResolution, refinementLevelToPlot, relativeChangeForPlotBounds, showFileParameters, showFileReader, showFileSolutionNumber, size, Start, streamLineArrowSize, streamLineStoppingTolerance, streamLineWidth, surfaceOffset, topLabel, topLabel1, topLabel2, topLabel3, topLabelSize, topSubLabelSize, uComponentForStreamLines, unsCutplaneNormal, unsCutplaneVertex, usePlotBounds, usePlotBoundsOrLarger, useUnsCutplane, useUnsFlatShading, vComponentForStreamLines, wComponentForStreamLines, yLevelFor1DGrids, and zLevelFor2DGrids.

GraphicsParameters::~GraphicsParameters ( )

Member Function Documentation

aString & GraphicsParameters::get ( const GraphicsOptions option,
aString label 
) const
int & GraphicsParameters::get ( const GraphicsOptions option,
int &  value 
) const

References colourTable, GI_ADJUST_GRID_FOR_DISPLACEMENT, GI_BLOCK_BOUNDARY_COLOUR_OPTION, GI_BOUNDARY_COLOUR_OPTION, GI_COLOUR_INTERPOLATION_POINTS, GI_COLOUR_LINE_CONTOURS, GI_COLOUR_TABLE, GI_COMPONENT_FOR_CONTOURS, GI_COMPONENT_FOR_SURFACE_CONTOURS, GI_COMPUTE_COARSENING_FACTOR, GI_CONTOUR3D_MIN_MAX_OPTION, GI_DISPLACEMENT_U_COMPONENT, GI_DISPLACEMENT_V_COMPONENT, GI_DISPLACEMENT_W_COMPONENT, GI_FLAT_SHADING, GI_GRID_LINE_COLOUR_OPTION, GI_HARD_COPY_TYPE, GI_KEEP_ASPECT_RATIO, GI_LABEL_COLOUR_BAR, GI_LABEL_COMPONENT, GI_LABEL_GRIDS_AND_BOUNDARIES, GI_LABEL_MIN_MAX, GI_MULTIGRID_LEVEL_TO_PLOT, GI_NORMAL_AXIS_FOR_2D_CONTOURS_ON_COORDINATE_PLANES, GI_NUMBER_OF_CONTOUR_LEVELS, GI_NUMBER_OF_GHOST_LINES_TO_PLOT, GI_OUTPUT_FORMAT, GI_PLOT_2D_CONTOURS_ON_COORDINATE_PLANES, GI_PLOT_BACKUP_INTERPOLATION_POINTS, GI_PLOT_BLOCK_BOUNDARIES, GI_PLOT_COLOUR_BAR, GI_PLOT_CONTOUR_LINES, GI_PLOT_END_POINTS_ON_CURVES, GI_PLOT_GRID_BOUNDARIES_ON_CONTOUR_PLOTS, GI_PLOT_GRID_LINES, GI_PLOT_GRID_POINTS_ON_CURVES, GI_PLOT_HIDDEN_REFINEMENT_POINTS, GI_PLOT_INTERIOR_BOUNDARY_POINTS, GI_PLOT_INTERPOLATION_CELLS, GI_PLOT_INTERPOLATION_POINTS, GI_PLOT_LABELS, GI_PLOT_LINES_ON_GRID_BOUNDARIES, GI_PLOT_LINES_ON_MAPPING_BOUNDARIES, GI_PLOT_MAPPING_EDGES, GI_PLOT_MAPPING_NORMALS, GI_PLOT_NON_PHYSICAL_BOUNDARIES, GI_PLOT_NURBS_CURVES_AS_SUBCURVES, GI_PLOT_REFINEMENT_GRIDS, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_SHADED_SURFACE, GI_PLOT_SHADED_SURFACE_GRIDS, GI_PLOT_THE_OBJECT, GI_PLOT_THE_OBJECT_AND_EXIT, GI_PLOT_UNS_BOUNDARY_EDGES, GI_PLOT_UNS_EDGES, GI_PLOT_UNS_FACES, GI_PLOT_UNS_NODES, GI_PLOT_WIRE_FRAME, GI_POINT_SYMBOL, GI_RASTER_RESOLUTION, GI_REFINEMENT_LEVEL_TO_PLOT, GI_U_COMPONENT_FOR_STREAM_LINES, GI_UNS_FLAT_SHADING, GI_UNS_USE_CUT_PLANE, GI_USE_PLOT_BOUNDS, GI_USE_PLOT_BOUNDS_OR_LARGER, GI_V_COMPONENT_FOR_STREAM_LINES, and GI_W_COMPONENT_FOR_STREAM_LINES.

real & GraphicsParameters::get ( const GraphicsOptions option,
GUITypes::real value 
) const
IntegerArray & GraphicsParameters::get ( const GraphicsOptions option,
IntegerArray values 
) const
RealArray & GraphicsParameters::get ( const GraphicsOptions option,
RealArray values 
) const
real & GraphicsParameters::get ( const Sizes option,
GUITypes::real value 
) const
int& GraphicsParameters::getBoundaryColourOption ( )
inline
bool& GraphicsParameters::getLabelGridsAndBoundaries ( )
inline

Referenced by viewMappings().

aString& GraphicsParameters::getMappingColour ( )
inline
int& GraphicsParameters::getNumberOfGhostLinesToPlot ( )
inline
int GraphicsParameters::getObjectWasPlotted ( ) const

References objectWasPlotted.

bool& GraphicsParameters::getPlotGridPointsOnCurves ( )
inline

Referenced by viewMappings().

bool& GraphicsParameters::getPlotLinesOnMappingBoundaries ( )
inline

Referenced by viewMappings().

bool& GraphicsParameters::getPlotNonPhysicalBoundaries ( )
inline

Referenced by viewMappings().

bool& GraphicsParameters::getPlotShadedSurface ( )
inline

Referenced by viewMappings().

bool GraphicsParameters::isDefault ( )
int GraphicsParameters::set ( const GraphicsOptions option,
const aString label 
)

References bottomLabel, bottomLabel1, bottomLabel2, bottomLabel3, GI_BOTTOM_LABEL, GI_BOTTOM_LABEL_SUP_1, GI_BOTTOM_LABEL_SUP_2, GI_BOTTOM_LABEL_SUP_3, GI_LINE_COLOUR, GI_MAPPING_COLOUR, GI_POINT_COLOUR, GI_TOP_LABEL, GI_TOP_LABEL_SUB_1, GI_TOP_LABEL_SUB_2, GI_TOP_LABEL_SUB_3, lineColour, mappingColour, pointColour, topLabel, topLabel1, topLabel2, and topLabel3.

Referenced by MappingBuilder::assignBoundaryConditions(), MappingBuilder::build(), HyperbolicMapping::buildCurve(), CompositeTopology::buildEdgeSegment(), CompositeTopology::buildSubSurfaceTriangulation(), MappingBuilder::buildSurfacePatch(), TrimmedMappingBuilder::buildTrimmedMapping(), checkGrid(), Ogmg::coarseGridSolverTest(), Ogmg::coarseToFine(), Ogen::computeOverlap(), PlotIt::contour2d(), PlotIt::contour3d(), PlotIt::contourCuts(), MappingsFromCAD::createCompositeCurve(), MappingsFromCAD::createCurveOnAParametricSurface(), MappingsFromCAD::createManifoldSolidBRepObject(), OffsetShell::createOffsetMappings(), MappingsFromCAD::createSurface(), MappingsFromCAD::createTrimmedSurface(), Ogmg::cycle(), Integrate::defineSurfacesAndComputeWeights(), IntersectionMapping::determineIntersection(), HyperbolicMapping::drawBoundariesAndCurves(), HyperbolicMapping::drawHyperbolicGrid(), HyperbolicMapping::drawReferenceSurface(), HyperbolicMapping::drawReferenceSurfaceEdges(), TrimmedMapping::editNurbsTrimCurve(), equiGridSmoother(), Ogmg::fineToCoarse(), Ogmg::fullMultigrid(), HyperbolicMapping::hypgen(), JoinMapping::initialize(), FilletMapping::initialize(), main(), Ogen::movingUpdate(), Ogen::movingUpdateNew(), ShowFilePlotter::plot(), MappingBuilder::plot(), Ugen::plot(), MeshQualityMetrics::plot(), PlotIt::plot(), EllipticGridGenerator::plot(), Ogen::plot(), NurbsMapping::plot(), ShowFilePlotter::plotAll(), HyperbolicMapping::plotCellQuality(), PlotIt::plotCompositeSurface(), TrimmedMappingBuilder::plotCurvesAndSurfaces(), HyperbolicMapping::plotDirectionArrows(), ErrorEstimator::plotErrorPoints(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), PlotIt::plotGrid2d(), PlotIt::plotGridQuality(), PlotIt::plotNurbsMapping(), PlotIt::plotStructured(), plotSurfaceAndEdges(), PlotIt::plotUM(), Ogen::queryAPoint(), MappingsFromCAD::readMappings(), Ugen::sealHoles(), ShowFilePlotter::setFrameSeriesTitles(), ShowFilePlotter::setPlotTitles(), Ogmg::smoothTest(), DataPointMapping::specifyTopology(), PlotIt::surfaceGrid3d(), TrimmedMapping::triangulate(), SmoothedPolygon::update(), RocketMapping::update(), PolynomialMapping::update(), ChannelMapping::update(), LoftedSurfaceMapping::update(), CompositeTopology::update(), NormalMapping::update(), StretchedSquare::update(), JoinMapping::update(), StretchTransform::update(), DepthMapping::update(), DataPointMapping::update(), QuadraticMapping::update(), PlaneMapping::update(), CircleMapping::update(), SquareMapping::update(), ColourBar::update(), EllipticTransform::update(), FilletMapping::update(), ReorientMapping::update(), OrthographicTransform::update(), MatrixTransform::update(), UserDefinedMapping1::update(), RestrictionMapping::update(), RevolutionMapping::update(), BoxMapping::update(), CylinderMapping::update(), TFIMapping::update(), AirfoilMapping::update(), AnnulusMapping::update(), LineMapping::update(), ReductionMapping::update(), IntersectionMapping::update(), SphereMapping::update(), SweepMapping::update(), CrossSectionMapping::update(), EllipticGridGenerator::update(), ComposeMapping::update(), ReparameterizationTransform::update(), DerivedFunctions::update(), StretchMapping::update(), SplineMapping::update(), CompositeSurface::update(), FilamentMapping::update(), TrimmedMapping::update(), HyperbolicMapping::update(), Mapping::update(), UnstructuredMapping::update(), NurbsMapping::update(), Ugen::updateHybrid(), HyperbolicMapping::updateOld(), Ogen::updateOverlap(), HyperbolicMapping::updatePlotOptions(), and viewMappings().

int GraphicsParameters::set ( const GraphicsOptions option,
GUITypes::real  value 
)

References adjustGridForDisplacement, blockBoundaryColourOption, boundaryColourOption, colourInterpolationPoints, colourLineContours, colourTable, componentForContours, componentForSurfaceContours, componentsToPlot, computeCoarseningFactor, contour3dMinMaxOption, contourSurfaceSpatialBound, contourSurfaceVerticalScaleFactor, displacementComponent, displacementScaleFactor, flatShading, GI_ADJUST_GRID_FOR_DISPLACEMENT, GI_BLOCK_BOUNDARY_COLOUR_OPTION, GI_BOUNDARY_COLOUR_OPTION, GI_COLOUR_INTERPOLATION_POINTS, GI_COLOUR_LINE_CONTOURS, GI_COLOUR_TABLE, GI_COMPONENT_FOR_CONTOURS, GI_COMPONENT_FOR_SURFACE_CONTOURS, GI_COMPUTE_COARSENING_FACTOR, GI_CONTOUR3D_MIN_MAX_OPTION, GI_CONTOUR_SURFACE_SPATIAL_BOUND, GI_CONTOUR_SURFACE_VERTICAL_SCALE_FACTOR, GI_DISPLACEMENT_SCALE_FACTOR, GI_DISPLACEMENT_U_COMPONENT, GI_DISPLACEMENT_V_COMPONENT, GI_DISPLACEMENT_W_COMPONENT, GI_FLAT_SHADING, GI_GRID_LINE_COLOUR_OPTION, GI_HARD_COPY_TYPE, GI_KEEP_ASPECT_RATIO, GI_LABEL_COLOUR_BAR, GI_LABEL_COMPONENT, GI_LABEL_GRIDS_AND_BOUNDARIES, GI_LABEL_MIN_MAX, GI_LINE_OFFSET, GI_MINIMUM_CONTOUR_SPACING, GI_MULTIGRID_LEVEL_TO_PLOT, GI_NORMAL_AXIS_FOR_2D_CONTOURS_ON_COORDINATE_PLANES, GI_NUMBER_OF_CONTOUR_LEVELS, GI_NUMBER_OF_GHOST_LINES_TO_PLOT, GI_OUTPUT_FORMAT, GI_PLOT_2D_CONTOURS_ON_COORDINATE_PLANES, GI_PLOT_BACKUP_INTERPOLATION_POINTS, GI_PLOT_BLOCK_BOUNDARIES, GI_PLOT_COLOUR_BAR, GI_PLOT_CONTOUR_LINES, GI_PLOT_END_POINTS_ON_CURVES, GI_PLOT_GRID_BOUNDARIES_ON_CONTOUR_PLOTS, GI_PLOT_GRID_LINES, GI_PLOT_GRID_POINTS_ON_CURVES, GI_PLOT_HIDDEN_REFINEMENT_POINTS, GI_PLOT_INTERIOR_BOUNDARY_POINTS, GI_PLOT_INTERPOLATION_CELLS, GI_PLOT_INTERPOLATION_POINTS, GI_PLOT_LABELS, GI_PLOT_LINES_ON_GRID_BOUNDARIES, GI_PLOT_LINES_ON_MAPPING_BOUNDARIES, GI_PLOT_MAPPING_EDGES, GI_PLOT_MAPPING_NORMALS, GI_PLOT_NON_PHYSICAL_BOUNDARIES, GI_PLOT_NURBS_CURVES_AS_SUBCURVES, GI_PLOT_REFINEMENT_GRIDS, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_SHADED_SURFACE, GI_PLOT_SHADED_SURFACE_GRIDS, GI_PLOT_THE_OBJECT, GI_PLOT_THE_OBJECT_AND_EXIT, GI_PLOT_UNS_BOUNDARY_EDGES, GI_PLOT_UNS_EDGES, GI_PLOT_UNS_FACES, GI_PLOT_UNS_NODES, GI_PLOT_WIRE_FRAME, GI_POINT_OFFSET, GI_POINT_SIZE, GI_POINT_SYMBOL, GI_RASTER_RESOLUTION, GI_REFINEMENT_LEVEL_TO_PLOT, GI_STREAM_LINE_ARROW_SIZE, GI_STREAM_LINE_TOLERANCE, GI_SURFACE_OFFSET, GI_U_COMPONENT_FOR_STREAM_LINES, GI_UNS_FLAT_SHADING, GI_UNS_USE_CUT_PLANE, GI_USE_PLOT_BOUNDS, GI_USE_PLOT_BOUNDS_OR_LARGER, GI_V_COMPONENT_FOR_STREAM_LINES, GI_W_COMPONENT_FOR_STREAM_LINES, GI_X_SCALE_FACTOR, GI_Y_LEVEL_FOR_1D_GRIDS, GI_Y_SCALE_FACTOR, GI_Z_LEVEL_FOR_2D_GRIDS, GI_Z_SCALE_FACTOR, gridLineColourOption, gridOptions, hardCopyType, keepAspectRatio, labelColourBar, labelComponent, labelGridsAndBoundaries, labelMinMax, lineOffset, max(), min(), minimumContourSpacing, multigridLevelToPlot, normalAxisFor2DContoursOnCoordinatePlanes, numberOfColourTables, numberOfContourLevels, numberOfGhostLinesToPlot, outputFormat, plot2DContoursOnCoordinatePlanes, plotBackupInterpolation, plotBackupInterpolationPoints, plotBlockBoundaries, plotBoundaryGridLines, plotColourBar, plotContourLines, plotEndPointsOnCurves, plotGridBlockBoundaries, plotGridBoundariesOnContourPlots, plotGridLines, plotGridPointsOnCurves, plotHiddenRefinementPoints, plotInteriorBoundary, plotInterpolationCells, plotInterpolationPoints, plotLinesOnGridBoundaries, plotLinesOnMappingBoundaries, plotMappingEdges, plotMappingNormals, plotNonPhysicalBoundaries, plotNurbsCurvesAsSubCurves, plotObject, plotObjectAndExit, plotRefinementGrids, plotShadedMappingBoundaries, plotShadedSurface, plotShadedSurfaceGrids, plotShadedSurfaces, plotTitleLabels, plotUnsBoundaryEdges, plotUnsEdges, plotUnsFaces, plotUnsNodes, plotWireFrame, pointOffset, pointSize, pointSymbol, rasterResolution, refinementLevelToPlot, streamLineArrowSize, streamLineStoppingTolerance, surfaceOffset, uComponentForStreamLines, usePlotBounds, usePlotBoundsOrLarger, useUnsCutplane, useUnsFlatShading, vComponentForStreamLines, wComponentForStreamLines, xScaleFactor, yLevelFor1DGrids, yScaleFactor, zLevelFor2DGrids, and zScaleFactor.

int GraphicsParameters::set ( const GraphicsOptions option,
const IntegerArray values 
)
int GraphicsParameters::set ( const GraphicsOptions option,
const RealArray values 
)
int GraphicsParameters::set ( const Sizes option,
GUITypes::real  value 
)

References size.

int GraphicsParameters::setColourTable ( ColourTableFunctionPointer  ctf)
int GraphicsParameters::setMinAndMaxContourLevels ( const real  minValue,
const real  maxValue,
const int  component = 0 
)

Set the min and max contour levels for a given component.

Parameters
minValue(input) : minimum value for the contour level.
maxValue(input) : maximum value for the contour level.
component(input) : apply these values to this component.
Note
To reset the min and max values to be chosen in the default way set minValue > maxValue.

References minAndMaxContourLevels, minAndMaxContourLevelsSpecified, and R.

Friends And Related Function Documentation

friend class GenericGraphicsInterface
friend
friend class GL_GraphicsInterface
friend
int plotAListOfMappings ( MappingInformation mapInfo,
const int &  mapNumberToPlot,
int &  numberOfMapsPlotted,
IntegerArray listOfMapsToPlot,
aString localColourNames,
const int &  numberOfColourNames,
const bool &  plotTheAxes,
GraphicsParameters params 
)
friend
friend class PlotIt
friend
int readMappings ( MappingInformation mapInfo)
friend
int viewMappings ( MappingInformation mapInfo)
friend

Member Data Documentation

int GraphicsParameters::adjustGridForDisplacement
RealArray GraphicsParameters::axesOrigin
IntegerArray GraphicsParameters::backGroundGridDimension
int GraphicsParameters::blockBoundaryColourOption
int GraphicsParameters::blockBoundaryColourValue
aString GraphicsParameters::bottomLabel
aString GraphicsParameters::bottomLabel1
aString GraphicsParameters::bottomLabel2
aString GraphicsParameters::bottomLabel3
int GraphicsParameters::boundaryColourOption
int GraphicsParameters::boundaryColourValue
bool GraphicsParameters::colourInterpolationPoints
bool GraphicsParameters::colourLineContours
enum GraphicsParameters::ColourTables GraphicsParameters::colourTable
ColourTableFunctionPointer GraphicsParameters::colourTableFunction
int GraphicsParameters::componentForContours
int GraphicsParameters::componentForSurfaceContours

Referenced by GraphicsParameters(), and set().

IntegerArray GraphicsParameters::componentsToPlot

Referenced by PlotIt::contour1d(), and set().

bool GraphicsParameters::computeCoarseningFactor
int GraphicsParameters::contour3dMinMaxOption
RealArray GraphicsParameters::contourLevels
RealArray GraphicsParameters::contourPlane
GUITypes::real GraphicsParameters::contourSurfaceSpatialBound
GUITypes::real GraphicsParameters::contourSurfaceVerticalScaleFactor
IntegerArray GraphicsParameters::coordinatePlane
DataBase GraphicsParameters::dbase
bool GraphicsParameters::defaultObject

Referenced by GraphicsParameters(), and isDefault().

int GraphicsParameters::displacementComponent[3]
GUITypes::real GraphicsParameters::displacementScaleFactor
bool GraphicsParameters::flatShading
IntegerArray GraphicsParameters::gridBoundaryConditionOptions
IntegerArray GraphicsParameters::gridColours
IntegerArray GraphicsParameters::gridCoordinatePlane
int GraphicsParameters::gridLineColourOption
int GraphicsParameters::gridLineColourValue
IntegerArray GraphicsParameters::gridOptions
IntegerArray GraphicsParameters::gridsToPlot
HardCopyType GraphicsParameters::hardCopyType
RealArray GraphicsParameters::isoSurfaceValue
bool GraphicsParameters::keepAspectRatio
bool GraphicsParameters::labelBoundaries
bool GraphicsParameters::labelColourBar
bool GraphicsParameters::labelComponent
bool GraphicsParameters::labelGridsAndBoundaries
int GraphicsParameters::labelMinMax
aString GraphicsParameters::lineColour
GUITypes::real GraphicsParameters::lineOffset

Referenced by GraphicsParameters(), and set().

RealArray GraphicsParameters::linePlotEndPoints

Referenced by PlotIt::contourCuts().

bool GraphicsParameters::linePlots

Referenced by GraphicsParameters().

aString GraphicsParameters::mappingColour
GUITypes::real GraphicsParameters::maxStreamLine
RealArray GraphicsParameters::minAndMaxContourLevels
IntegerArray GraphicsParameters::minAndMaxContourLevelsSpecified
bool GraphicsParameters::minAndMaxStreamLinesSpecified
GUITypes::real GraphicsParameters::minimumContourSpacing
GUITypes::real GraphicsParameters::minStreamLine
int GraphicsParameters::multigridLevelToPlot

Referenced by GraphicsParameters(), and set().

int GraphicsParameters::normalAxisFor2DContoursOnCoordinatePlanes

Referenced by GraphicsParameters(), and set().

int GraphicsParameters::numberOfContourLevels
int GraphicsParameters::numberOfContourPlanes
int GraphicsParameters::numberOfCoordinatePlanes
int GraphicsParameters::numberOfGhostLinesToPlot
int GraphicsParameters::numberOfGridCoordinatePlanes
int GraphicsParameters::numberOfIsoSurfaces
int GraphicsParameters::numberOfLines
int GraphicsParameters::numberOfPointsPerLine
IntegerArray GraphicsParameters::numberOfRakePoints

Referenced by PlotIt::streamLines3d().

IntegerArray GraphicsParameters::numberOfRectanglePoints

Referenced by PlotIt::streamLines3d().

int GraphicsParameters::numberOfStreamLineStartingPoints
int GraphicsParameters::objectWasPlotted
OutputFormat GraphicsParameters::outputFormat
bool GraphicsParameters::plot2DContoursOnCoordinatePlanes

Referenced by GraphicsParameters(), and set().

bool GraphicsParameters::plotBackupInterpolationPoints
RealArray GraphicsParameters::plotBound
bool GraphicsParameters::plotBoundsChanged
bool GraphicsParameters::plotBranchCuts
bool GraphicsParameters::plotColourBar
bool GraphicsParameters::plotContourLines
IntegerArray GraphicsParameters::plotContourOnGridFace
bool GraphicsParameters::plotDashedLinesForNegativeContours
bool GraphicsParameters::plotEndPointsOnCurves
bool GraphicsParameters::plotGridBlockBoundaries
bool GraphicsParameters::plotGridBoundariesOnContourPlots
int GraphicsParameters::plotGridLines
bool GraphicsParameters::plotGridPointsOnCurves
bool GraphicsParameters::plotHiddenRefinementPoints
bool GraphicsParameters::plotInteriorBoundaryPoints
bool GraphicsParameters::plotInterpolationCells
bool GraphicsParameters::plotInterpolationPoints
bool GraphicsParameters::plotLinesOnGridBoundaries
bool GraphicsParameters::plotLinesOnMappingBoundaries
bool GraphicsParameters::plotMappingEdges
bool GraphicsParameters::plotMappingNormals
bool GraphicsParameters::plotNonPhysicalBoundaries
bool GraphicsParameters::plotNurbsCurvesAsSubCurves
bool GraphicsParameters::plotObject
bool GraphicsParameters::plotObjectAndExit
bool GraphicsParameters::plotRefinementGrids
bool GraphicsParameters::plotShadedMappingBoundaries
bool GraphicsParameters::plotShadedSurface
bool GraphicsParameters::plotShadedSurfaceGrids
bool GraphicsParameters::plotTheAxes
bool GraphicsParameters::plotTitleLabels
bool GraphicsParameters::plotUnsBoundaryEdges
bool GraphicsParameters::plotUnsEdges
bool GraphicsParameters::plotUnsFaces
bool GraphicsParameters::plotUnsNodes
bool GraphicsParameters::plotWireFrame
aString GraphicsParameters::pointColour
GUITypes::real GraphicsParameters::pointOffset

Referenced by GraphicsParameters(), and set().

GUITypes::real GraphicsParameters::pointSize
int GraphicsParameters::pointSymbol

Referenced by GraphicsParameters(), and set().

realArray GraphicsParameters::rakeEndPoint

Referenced by PlotIt::streamLines3d().

int GraphicsParameters::rasterResolution

Referenced by GraphicsParameters(), and set().

realArray GraphicsParameters::rectanglePoint

Referenced by PlotIt::streamLines3d().

int GraphicsParameters::refinementLevelToPlot

Referenced by GraphicsParameters(), and set().

GUITypes::real GraphicsParameters::relativeChangeForPlotBounds
void* GraphicsParameters::showFileParameters
void* GraphicsParameters::showFileReader
int GraphicsParameters::showFileSolutionNumber
RealArray GraphicsParameters::size
GUITypes::real GraphicsParameters::streamLineArrowSize
realArray GraphicsParameters::streamLineStartingPoint

Referenced by PlotIt::streamLines3d().

GUITypes::real GraphicsParameters::streamLineStoppingTolerance
GUITypes::real GraphicsParameters::surfaceOffset
aString GraphicsParameters::topLabel
aString GraphicsParameters::topLabel1
aString GraphicsParameters::topLabel2
aString GraphicsParameters::topLabel3
int GraphicsParameters::uComponentForStreamLines
RealArray GraphicsParameters::unsCutplaneNormal
RealArray GraphicsParameters::unsCutplaneVertex
bool GraphicsParameters::usePlotBounds
bool GraphicsParameters::usePlotBoundsOrLarger
bool GraphicsParameters::useUnsCutplane
bool GraphicsParameters::useUnsFlatShading
int GraphicsParameters::vComponentForStreamLines
int GraphicsParameters::wComponentForStreamLines
GUITypes::real GraphicsParameters::xScaleFactor =1.
static
GUITypes::real GraphicsParameters::yLevelFor1DGrids
GUITypes::real GraphicsParameters::yScaleFactor =1.
static
GUITypes::real GraphicsParameters::zLevelFor2DGrids
GUITypes::real GraphicsParameters::zScaleFactor =1.
static

The documentation for this class was generated from the following files: