Overture  Version 25
Classes | Macros | Typedefs | Enumerations | Functions
GraphicsParameters.h File Reference
#include "GenericDataBase.h"
#include "GUITypes.h"
#include "DBase.hh"
#include "aString.H"
Include dependency graph for GraphicsParameters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GraphicsParameters
 

Macros

#define KK_DEBUG
 

Typedefs

typedef void(* ColourTableFunctionPointer )(const GUITypes::real &value, GUITypes::real &red, GUITypes::real &green, GUITypes::real &blue)
 

Enumerations

enum  GraphicsOptions {
  GI_ADJUST_GRID_FOR_DISPLACEMENT, GI_AXES_ORIGIN, GI_BOUNDARY_COLOUR_OPTION, GI_BACK_GROUND_GRID_FOR_STREAM_LINES,
  GI_BLOCK_BOUNDARY_COLOUR_OPTION, GI_BOTTOM_LABEL, GI_BOTTOM_LABEL_SUP_1, GI_BOTTOM_LABEL_SUP_2,
  GI_BOTTOM_LABEL_SUP_3, GI_COLOUR_INTERPOLATION_POINTS, GI_COLOUR_LINE_CONTOURS, GI_COMPUTE_COARSENING_FACTOR,
  GI_CONTOUR_ON_GRID_FACE, GI_CONTOUR_SURFACE_VERTICAL_SCALE_FACTOR, GI_CONTOUR_SURFACE_SPATIAL_BOUND, GI_CONTOUR3D_MIN_MAX_OPTION,
  GI_COLOUR_TABLE, GI_COMPONENT_FOR_CONTOURS, GI_COMPONENT_FOR_SURFACE_CONTOURS, GI_COMPONENTS_TO_PLOT,
  GI_CONTOUR_LEVELS, GI_COORDINATE_PLANES, GI_DISPLACEMENT_SCALE_FACTOR, GI_DISPLACEMENT_U_COMPONENT,
  GI_DISPLACEMENT_V_COMPONENT, GI_DISPLACEMENT_W_COMPONENT, GI_FLAT_SHADING, GI_GRID_COORDINATE_PLANES,
  GI_GRID_BOUNDARY_CONDITION_OPTIONS, GI_GRID_OPTIONS, GI_GRID_LINES, GI_GRID_LINE_COLOUR_OPTION,
  GI_GRIDS_TO_PLOT, GI_HARD_COPY_TYPE, GI_ISO_SURFACE_VALUES, GI_KEEP_ASPECT_RATIO,
  GI_LABEL_COMPONENT, GI_LABEL_COLOUR_BAR, GI_LABEL_GRIDS_AND_BOUNDARIES, GI_LABEL_MIN_MAX,
  GI_LINE_OFFSET, GI_LINE_COLOUR, GI_MAPPING_COLOUR, GI_MINIMUM_CONTOUR_SPACING,
  GI_MIN_AND_MAX_CONTOUR_LEVELS, GI_MIN_AND_MAX_STREAM_LINES, GI_MULTIGRID_LEVEL_TO_PLOT, GI_NUMBER_OF_CONTOUR_LEVELS,
  GI_NUMBER_OF_GHOST_LINES_TO_PLOT, GI_OUTPUT_FORMAT, GI_PLOT_BOUNDS, GI_PLOT_BACK_GROUND_GRID,
  GI_PLOT_BACKUP_INTERPOLATION_POINTS, GI_PLOT_BLOCK_BOUNDARIES, GI_PLOT_COLOUR_BAR, GI_PLOT_CONTOUR_LINES,
  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_GRID_BOUNDARIES_ON_CONTOUR_PLOTS, GI_PLOT_GRID_LINES, GI_PLOT_GRID_POINTS_ON_CURVES,
  GI_PLOT_END_POINTS_ON_CURVES, GI_PLOT_HIDDEN_REFINEMENT_POINTS, GI_PLOT_INTERIOR_BOUNDARY_POINTS, GI_PLOT_INTERPOLATION_POINTS,
  GI_PLOT_INTERPOLATION_CELLS, 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_WIRE_FRAME, GI_POINT_COLOUR, GI_POINT_OFFSET,
  GI_POINT_SIZE, GI_POINT_SYMBOL, GI_RASTER_RESOLUTION, GI_REFINEMENT_LEVEL_TO_PLOT,
  GI_SURFACE_OFFSET, GI_STREAM_LINE_TOLERANCE, GI_STREAM_LINE_ARROW_SIZE, GI_U_COMPONENT_FOR_STREAM_LINES,
  GI_V_COMPONENT_FOR_STREAM_LINES, GI_W_COMPONENT_FOR_STREAM_LINES, GI_TOP_LABEL, GI_TOP_LABEL_SUB_1,
  GI_TOP_LABEL_SUB_2, GI_TOP_LABEL_SUB_3, GI_USE_PLOT_BOUNDS, GI_USE_PLOT_BOUNDS_OR_LARGER,
  GI_PLOT_2D_CONTOURS_ON_COORDINATE_PLANES, GI_NORMAL_AXIS_FOR_2D_CONTOURS_ON_COORDINATE_PLANES, GI_X_SCALE_FACTOR, GI_Y_SCALE_FACTOR,
  GI_Z_SCALE_FACTOR, GI_Y_LEVEL_FOR_1D_GRIDS, GI_Z_LEVEL_FOR_2D_GRIDS, GI_PLOT_UNS_NODES,
  GI_PLOT_UNS_FACES, GI_PLOT_UNS_EDGES, GI_PLOT_UNS_BOUNDARY_EDGES, GI_UNS_USE_CUT_PLANE,
  GI_UNS_CUT_PLANE_NORMAL, GI_UNS_CUT_PLANE_VERTEX, GI_UNS_FLAT_SHADING
}
 

Functions

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)
 

Macro Definition Documentation

#define KK_DEBUG

Typedef Documentation

typedef void(* ColourTableFunctionPointer)(const GUITypes::real &value, GUITypes::real &red, GUITypes::real &green, GUITypes::real &blue)

Enumeration Type Documentation

Enumerator
GI_ADJUST_GRID_FOR_DISPLACEMENT 
GI_AXES_ORIGIN 
GI_BOUNDARY_COLOUR_OPTION 
GI_BACK_GROUND_GRID_FOR_STREAM_LINES 
GI_BLOCK_BOUNDARY_COLOUR_OPTION 
GI_BOTTOM_LABEL 
GI_BOTTOM_LABEL_SUP_1 
GI_BOTTOM_LABEL_SUP_2 
GI_BOTTOM_LABEL_SUP_3 
GI_COLOUR_INTERPOLATION_POINTS 
GI_COLOUR_LINE_CONTOURS 
GI_COMPUTE_COARSENING_FACTOR 
GI_CONTOUR_ON_GRID_FACE 
GI_CONTOUR_SURFACE_VERTICAL_SCALE_FACTOR 
GI_CONTOUR_SURFACE_SPATIAL_BOUND 
GI_CONTOUR3D_MIN_MAX_OPTION 
GI_COLOUR_TABLE 
GI_COMPONENT_FOR_CONTOURS 
GI_COMPONENT_FOR_SURFACE_CONTOURS 
GI_COMPONENTS_TO_PLOT 
GI_CONTOUR_LEVELS 
GI_COORDINATE_PLANES 
GI_DISPLACEMENT_SCALE_FACTOR 
GI_DISPLACEMENT_U_COMPONENT 
GI_DISPLACEMENT_V_COMPONENT 
GI_DISPLACEMENT_W_COMPONENT 
GI_FLAT_SHADING 
GI_GRID_COORDINATE_PLANES 
GI_GRID_BOUNDARY_CONDITION_OPTIONS 
GI_GRID_OPTIONS 
GI_GRID_LINES 
GI_GRID_LINE_COLOUR_OPTION 
GI_GRIDS_TO_PLOT 
GI_HARD_COPY_TYPE 
GI_ISO_SURFACE_VALUES 
GI_KEEP_ASPECT_RATIO 
GI_LABEL_COMPONENT 
GI_LABEL_COLOUR_BAR 
GI_LABEL_GRIDS_AND_BOUNDARIES 
GI_LABEL_MIN_MAX 
GI_LINE_OFFSET 
GI_LINE_COLOUR 
GI_MAPPING_COLOUR 
GI_MINIMUM_CONTOUR_SPACING 
GI_MIN_AND_MAX_CONTOUR_LEVELS 
GI_MIN_AND_MAX_STREAM_LINES 
GI_MULTIGRID_LEVEL_TO_PLOT 
GI_NUMBER_OF_CONTOUR_LEVELS 
GI_NUMBER_OF_GHOST_LINES_TO_PLOT 
GI_OUTPUT_FORMAT 
GI_PLOT_BOUNDS 
GI_PLOT_BACK_GROUND_GRID 
GI_PLOT_BACKUP_INTERPOLATION_POINTS 
GI_PLOT_BLOCK_BOUNDARIES 
GI_PLOT_COLOUR_BAR 
GI_PLOT_CONTOUR_LINES 
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_GRID_BOUNDARIES_ON_CONTOUR_PLOTS 
GI_PLOT_GRID_LINES 
GI_PLOT_GRID_POINTS_ON_CURVES 
GI_PLOT_END_POINTS_ON_CURVES 
GI_PLOT_HIDDEN_REFINEMENT_POINTS 
GI_PLOT_INTERIOR_BOUNDARY_POINTS 
GI_PLOT_INTERPOLATION_POINTS 
GI_PLOT_INTERPOLATION_CELLS 
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_WIRE_FRAME 
GI_POINT_COLOUR 
GI_POINT_OFFSET 
GI_POINT_SIZE 
GI_POINT_SYMBOL 
GI_RASTER_RESOLUTION 
GI_REFINEMENT_LEVEL_TO_PLOT 
GI_SURFACE_OFFSET 
GI_STREAM_LINE_TOLERANCE 
GI_STREAM_LINE_ARROW_SIZE 
GI_U_COMPONENT_FOR_STREAM_LINES 
GI_V_COMPONENT_FOR_STREAM_LINES 
GI_W_COMPONENT_FOR_STREAM_LINES 
GI_TOP_LABEL 
GI_TOP_LABEL_SUB_1 
GI_TOP_LABEL_SUB_2 
GI_TOP_LABEL_SUB_3 
GI_USE_PLOT_BOUNDS 
GI_USE_PLOT_BOUNDS_OR_LARGER 
GI_PLOT_2D_CONTOURS_ON_COORDINATE_PLANES 
GI_NORMAL_AXIS_FOR_2D_CONTOURS_ON_COORDINATE_PLANES 
GI_X_SCALE_FACTOR 
GI_Y_SCALE_FACTOR 
GI_Z_SCALE_FACTOR 
GI_Y_LEVEL_FOR_1D_GRIDS 
GI_Z_LEVEL_FOR_2D_GRIDS 
GI_PLOT_UNS_NODES 
GI_PLOT_UNS_FACES 
GI_PLOT_UNS_EDGES 
GI_PLOT_UNS_BOUNDARY_EDGES 
GI_UNS_USE_CUT_PLANE 
GI_UNS_CUT_PLANE_NORMAL 
GI_UNS_CUT_PLANE_VERTEX 
GI_UNS_FLAT_SHADING 

Function Documentation

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)
int viewMappings ( MappingInformation mapInfo)

References abs(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, GenericGraphicsInterface::buildCascadingMenu(), GenericGraphicsInterface::chooseAColour(), GraphicsParameters::colourByBoundaryCondition, GraphicsParameters::colourByGrid, GraphicsParameters::colourByShare, GenericGraphicsInterface::drawColouredSquares(), End, GenericGraphicsInterface::erase(), FALSE, GraphicsParameters::getBoundaryColourOption(), Mapping::getBoundaryCondition(), Mapping::getDomainDimension(), GraphicsParameters::getLabelGridsAndBoundaries(), ListOfMappingRC::getLength(), GraphicsParameters::getMappingColour(), GenericGraphicsInterface::getMenuItem(), Mapping::getName(), GraphicsParameters::getNumberOfGhostLinesToPlot(), GraphicsParameters::getPlotGridPointsOnCurves(), GraphicsParameters::getPlotLinesOnMappingBoundaries(), GraphicsParameters::getPlotNonPhysicalBoundaries(), GraphicsParameters::getPlotShadedSurface(), Mapping::getShare(), GI_LABEL_GRIDS_AND_BOUNDARIES, GI_MAPPING_COLOUR, GI_PLOT_MAPPING_EDGES, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, MappingInformation::graphXInterface, GenericGraphicsInterface::indexInCascadingMenu(), GenericGraphicsInterface::inputString(), GenericGraphicsInterface::isGraphicsWindowOpen(), MappingInformation::mappingList, Mapping::mappingName, NULL, GenericGraphicsInterface::outputString(), PlotIt::plot(), GenericGraphicsInterface::redraw(), GraphicsParameters::set(), sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), TRUE, and GenericGraphicsInterface::unAppendTheDefaultPrompt().

Referenced by UserDefinedMapping1::bladeSetup(), MappingsFromCAD::createCompositeCurve(), and createMappings().