gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <PViewOptions.h>
Public Types | |
enum | PlotType { Plot3D = 1, Plot2DSpace = 2, Plot2DTime = 3, Plot2D = 4 } |
enum | IntervalsType { Iso = 1, Continuous = 2, Discrete = 3, Numeric = 4 } |
enum | VectorType { Segment = 1, Arrow = 2, Pyramid = 3, Arrow3D = 4, Displacement = 5 } |
enum | TensorType { VonMises = 1, MaxEigenValue = 2, MinEigenValue = 3, EigenVectors = 4, Ellipse = 5, Ellipsoid = 6, Frame = 7 } |
enum | GlyphLocation { COG = 1, Vertex = 2 } |
enum | RangeType { Default = 1, Custom = 2, PerTimeStep = 3 } |
enum | ScaleType { Linear = 1, Logarithmic = 2, DoubleLogarithmic = 3 } |
Public Member Functions | |
PViewOptions () | |
~PViewOptions () | |
double | getScaleValue (int iso, int numIso, double min, double max) |
int | getScaleIndex (double val, int numIso, double min, double max, bool forceLinear=false) |
unsigned int | getColor (double val, double min, double max, bool forceLinear=false, int numColors=-1) |
unsigned int | getColor (int i, int nb) |
void | createGeneralRaise () |
bool | skipElement (int type) |
Static Public Member Functions | |
static PViewOptions * | reference () |
Static Private Attributes | |
static PViewOptions * | _reference = nullptr |
Definition at line 16 of file PViewOptions.h.
Enumerator | |
---|---|
COG | |
Vertex |
Definition at line 36 of file PViewOptions.h.
Enumerator | |
---|---|
Iso | |
Continuous | |
Discrete | |
Numeric |
Definition at line 19 of file PViewOptions.h.
Enumerator | |
---|---|
Plot3D | |
Plot2DSpace | |
Plot2DTime | |
Plot2D |
Definition at line 18 of file PViewOptions.h.
Enumerator | |
---|---|
Default | |
Custom | |
PerTimeStep |
Definition at line 37 of file PViewOptions.h.
Enumerator | |
---|---|
Linear | |
Logarithmic | |
DoubleLogarithmic |
Definition at line 38 of file PViewOptions.h.
Enumerator | |
---|---|
VonMises | |
MaxEigenValue | |
MinEigenValue | |
EigenVectors | |
Ellipse | |
Ellipsoid | |
Frame |
Definition at line 27 of file PViewOptions.h.
Enumerator | |
---|---|
Segment | |
Arrow | |
Pyramid | |
Arrow3D | |
Displacement |
Definition at line 20 of file PViewOptions.h.
PViewOptions::PViewOptions | ( | ) |
Definition at line 13 of file PViewOptions.cpp.
Referenced by reference().
PViewOptions::~PViewOptions | ( | ) |
Definition at line 20 of file PViewOptions.cpp.
void PViewOptions::createGeneralRaise | ( | ) |
Definition at line 120 of file PViewOptions.cpp.
Referenced by initPView::operator()().
unsigned int PViewOptions::getColor | ( | double | val, |
double | min, | ||
double | max, | ||
bool | forceLinear = false , |
||
int | numColors = -1 |
||
) |
Definition at line 86 of file PViewOptions.cpp.
Referenced by addGraphPoint(), addScalarLine(), addScalarPoint(), addScalarTetrahedron(), addScalarTriangle(), addTensorElement(), addTriangle(), addVectorElement(), drawNumberGlyphs(), drawScaleBar(), and writeX3DScaleBar().
unsigned int PViewOptions::getColor | ( | int | i, |
int | nb | ||
) |
Definition at line 108 of file PViewOptions.cpp.
int PViewOptions::getScaleIndex | ( | double | val, |
int | numIso, | ||
double | min, | ||
double | max, | ||
bool | forceLinear = false |
||
) |
Definition at line 64 of file PViewOptions.cpp.
Referenced by getColor().
double PViewOptions::getScaleValue | ( | int | iso, |
int | numIso, | ||
double | min, | ||
double | max | ||
) |
Definition at line 33 of file PViewOptions.cpp.
Referenced by addScalarLine(), addScalarTetrahedron(), addScalarTriangle(), drawScaleValues(), and writeX3DScaleValues().
|
static |
Definition at line 27 of file PViewOptions.cpp.
Referenced by GetColorTable(), PrintColorTable(), PView::PView(), and PView::setOptions().
bool PViewOptions::skipElement | ( | int | type | ) |
Definition at line 139 of file PViewOptions.cpp.
Referenced by addElementsInArrays(), drawGlyphs(), and getGraphData().
|
staticprivate |
Definition at line 94 of file PViewOptions.h.
Referenced by reference().
int PViewOptions::abscissaRangeType |
Definition at line 59 of file PViewOptions.h.
Referenced by drawGraph(), and getGraphData().
int PViewOptions::adaptVisualizationGrid |
Definition at line 78 of file PViewOptions.h.
Referenced by _addModelData(), PView::combine(), and PView::PView().
double PViewOptions::angleSmoothNormals |
Definition at line 56 of file PViewOptions.h.
Referenced by initPView::operator()().
double PViewOptions::arrowSizeMax |
Definition at line 52 of file PViewOptions.h.
Referenced by drawEllipseArray(), and drawVectorArray().
double PViewOptions::arrowSizeMin |
Definition at line 52 of file PViewOptions.h.
Referenced by drawEllipseArray(), and drawVectorArray().
std::string PViewOptions::attributes |
Definition at line 83 of file PViewOptions.h.
int PViewOptions::autoPosition |
Definition at line 40 of file PViewOptions.h.
Referenced by drawContext::drawGraph2d(), drawContext::drawScales(), and PView::writeX3D().
int PViewOptions::axes |
Definition at line 43 of file PViewOptions.h.
Referenced by drawContext::drawGraph2d(), drawGraphAxes(), drawPView::operator()(), and PView::PView().
unsigned int PViewOptions::axes |
Definition at line 89 of file PViewOptions.h.
int PViewOptions::axesAutoPosition |
Definition at line 43 of file PViewOptions.h.
Referenced by drawPView::operator()().
std::string PViewOptions::axesFormat[3] |
Definition at line 45 of file PViewOptions.h.
Referenced by drawGraphAxes(), and drawPView::operator()().
std::string PViewOptions::axesLabel[3] |
Definition at line 45 of file PViewOptions.h.
Referenced by drawContext::drawGraph2d(), drawGraphAxes(), drawPView::operator()(), and PView::PView().
int PViewOptions::axesMikado |
Definition at line 43 of file PViewOptions.h.
Referenced by drawPView::operator()().
double PViewOptions::axesPosition[6] |
Definition at line 46 of file PViewOptions.h.
Referenced by drawPView::operator()().
double PViewOptions::axesTics[3] |
Definition at line 44 of file PViewOptions.h.
Referenced by drawGraphAxes(), and drawPView::operator()().
unsigned int PViewOptions::background2d |
Definition at line 89 of file PViewOptions.h.
Referenced by drawGraphAxes().
int PViewOptions::boundary |
Definition at line 68 of file PViewOptions.h.
Referenced by addScalarHexahedron(), addScalarLine(), addScalarPolygon(), addScalarPolyhedron(), addScalarPrism(), addScalarPyramid(), addScalarQuadrangle(), addScalarTetrahedron(), and addScalarTriangle().
int PViewOptions::centerGlyphs |
Definition at line 60 of file PViewOptions.h.
Referenced by drawNumberGlyphs(), and drawVectorArray().
int PViewOptions::clip |
Definition at line 80 of file PViewOptions.h.
Referenced by initPView::_estimateIfClipped(), isElementVisible(), drawPView::operator()(), and drawPViewBoundingBox::operator()().
int PViewOptions::closed |
Definition at line 84 of file PViewOptions.h.
struct { ... } PViewOptions::color |
GmshColorTable PViewOptions::colorTable |
Definition at line 70 of file PViewOptions.h.
Referenced by getColor(), GetColorTable(), drawPView::operator()(), PrintColorTable(), and PViewOptions().
int PViewOptions::componentMap[9] |
Definition at line 81 of file PViewOptions.h.
Referenced by addElementsInArrays(), addVectorElement(), and drawGlyphs().
double PViewOptions::currentTime |
Definition at line 62 of file PViewOptions.h.
Referenced by applyGeneralRaise(), and PViewOptions().
double PViewOptions::customAbscissaMax |
Definition at line 48 of file PViewOptions.h.
Referenced by getGraphData().
double PViewOptions::customAbscissaMin |
Definition at line 48 of file PViewOptions.h.
Referenced by getGraphData().
double PViewOptions::customMax |
Definition at line 47 of file PViewOptions.h.
Referenced by drawGraph(), drawScale(), getExternalValues(), drawPView::operator()(), initPView::operator()(), and writeX3DScale().
double PViewOptions::customMin |
Definition at line 47 of file PViewOptions.h.
Referenced by drawGraph(), drawScale(), getExternalValues(), drawPView::operator()(), initPView::operator()(), and writeX3DScale().
double PViewOptions::displacementFactor |
Definition at line 50 of file PViewOptions.h.
Referenced by addTensorElement(), addVectorElement(), and changeCoordinates().
std::string PViewOptions::doubleClickedCommand |
Definition at line 83 of file PViewOptions.h.
int PViewOptions::drawHexahedra |
Definition at line 65 of file PViewOptions.h.
Referenced by skipElement().
int PViewOptions::drawLines |
Definition at line 64 of file PViewOptions.h.
Referenced by skipElement().
int PViewOptions::drawPoints |
Definition at line 64 of file PViewOptions.h.
Referenced by skipElement().
int PViewOptions::drawPolygons |
Definition at line 64 of file PViewOptions.h.
int PViewOptions::drawPolyhedra |
Definition at line 66 of file PViewOptions.h.
int PViewOptions::drawPrisms |
Definition at line 65 of file PViewOptions.h.
Referenced by skipElement().
int PViewOptions::drawPyramids |
Definition at line 65 of file PViewOptions.h.
Referenced by skipElement().
int PViewOptions::drawQuadrangles |
Definition at line 64 of file PViewOptions.h.
Referenced by skipElement().
int PViewOptions::drawScalars |
Definition at line 67 of file PViewOptions.h.
Referenced by addElementsInArrays().
int PViewOptions::drawSkinOnly |
Definition at line 68 of file PViewOptions.h.
Referenced by addScalarTetrahedron().
int PViewOptions::drawStrings |
Definition at line 63 of file PViewOptions.h.
Referenced by drawContext::drawText2d(), and drawPView::operator()().
int PViewOptions::drawTensors |
Definition at line 67 of file PViewOptions.h.
Referenced by addElementsInArrays().
int PViewOptions::drawTetrahedra |
Definition at line 65 of file PViewOptions.h.
Referenced by skipElement().
int PViewOptions::drawTriangles |
Definition at line 64 of file PViewOptions.h.
Referenced by skipElement().
int PViewOptions::drawTrihedra |
Definition at line 65 of file PViewOptions.h.
Referenced by skipElement().
int PViewOptions::drawVectors |
Definition at line 67 of file PViewOptions.h.
Referenced by addElementsInArrays().
double PViewOptions::explode |
Definition at line 51 of file PViewOptions.h.
Referenced by changeCoordinates().
double PViewOptions::externalMax |
Definition at line 47 of file PViewOptions.h.
Referenced by addVectorElement(), drawScale(), getExternalValues(), and writeX3DScale().
double PViewOptions::externalMin |
Definition at line 47 of file PViewOptions.h.
Referenced by addVectorElement(), drawScale(), getExternalValues(), and writeX3DScale().
int PViewOptions::externalViewIndex |
Definition at line 73 of file PViewOptions.h.
Referenced by addVectorElement(), drawScale(), drawScaleLabel(), writeX3DScale(), and writeX3DScaleLabel().
int PViewOptions::fakeTransparency |
Definition at line 57 of file PViewOptions.h.
Referenced by drawPView::operator()().
int PViewOptions::forceNumComponents |
Definition at line 81 of file PViewOptions.h.
Referenced by addElementsInArrays(), addVectorElement(), and drawGlyphs().
std::string PViewOptions::format |
Definition at line 42 of file PViewOptions.h.
Referenced by addGraphPoint(), drawContext::drawGraph2d(), drawGraphAxes(), drawNumberGlyphs(), drawScaleLabel(), drawContext::drawScales(), drawScaleValues(), PView::writeX3D(), writeX3DScaleLabel(), and writeX3DScaleValues().
mathEvaluator* PViewOptions::genRaiseEvaluator |
Definition at line 77 of file PViewOptions.h.
Referenced by applyGeneralRaise(), createGeneralRaise(), and ~PViewOptions().
double PViewOptions::genRaiseFactor |
Definition at line 75 of file PViewOptions.h.
Referenced by applyGeneralRaise().
std::string PViewOptions::genRaiseX |
Definition at line 76 of file PViewOptions.h.
Referenced by createGeneralRaise().
std::string PViewOptions::genRaiseY |
Definition at line 76 of file PViewOptions.h.
Referenced by createGeneralRaise().
std::string PViewOptions::genRaiseZ |
Definition at line 76 of file PViewOptions.h.
Referenced by createGeneralRaise().
int PViewOptions::glyphLocation |
Definition at line 60 of file PViewOptions.h.
Referenced by addTensorElement(), addVectorElement(), and drawNumberGlyphs().
std::string PViewOptions::group |
Definition at line 83 of file PViewOptions.h.
unsigned int PViewOptions::hexahedron |
Definition at line 87 of file PViewOptions.h.
Referenced by addOutlineElement().
int PViewOptions::intervalsType |
Definition at line 54 of file PViewOptions.h.
Referenced by initPView::_estimateNumTriangles(), addElementsInArrays(), addScalarLine(), addScalarPoint(), addScalarTetrahedron(), addScalarTriangle(), addTensorElement(), addTriangle(), addVectorElement(), drawGlyphs(), drawGraphCurves(), drawScaleBar(), drawScaleValues(), drawVectorArray(), GMSH_MinMaxPlugin::execute(), GMSH_IntegratePlugin::execute(), GMSH_MeshVolumePlugin::execute(), writeX3DScaleBar(), and writeX3DScaleValues().
int PViewOptions::light |
Definition at line 55 of file PViewOptions.h.
Referenced by addGraphPoint(), drawArrays(), drawEllipseArray(), drawNormalVectorGlyphs(), drawTangentVectorGlyphs(), drawVectorArray(), and drawPView::operator()().
int PViewOptions::lightLines |
Definition at line 55 of file PViewOptions.h.
Referenced by drawPView::operator()().
int PViewOptions::lightTwoSide |
Definition at line 55 of file PViewOptions.h.
Referenced by drawPView::operator()().
unsigned int PViewOptions::line |
Definition at line 86 of file PViewOptions.h.
Referenced by addOutlineElement().
int PViewOptions::lineType |
Definition at line 68 of file PViewOptions.h.
Referenced by drawArrays(), getLineNormal(), and PView::writeX3D().
double PViewOptions::lineWidth |
Definition at line 69 of file PViewOptions.h.
Referenced by addVectorElement(), drawArrays(), drawGraphCurves(), drawPView::operator()(), and PView::PView().
int PViewOptions::maxRecursionLevel |
Definition at line 78 of file PViewOptions.h.
Referenced by _addModelData(), PView::combine(), and PView::PView().
int PViewOptions::nbIso |
Definition at line 54 of file PViewOptions.h.
Referenced by addScalarLine(), addScalarPoint(), addScalarTetrahedron(), addScalarTriangle(), addTensorElement(), addTriangle(), addVectorElement(), drawGraphAxes(), drawNumberGlyphs(), drawScaleBar(), drawScaleValues(), writeX3DScaleBar(), and writeX3DScaleValues().
double PViewOptions::normalRaise |
Definition at line 50 of file PViewOptions.h.
Referenced by changeCoordinates().
double PViewOptions::normals |
Definition at line 53 of file PViewOptions.h.
Referenced by drawGlyphs(), and drawNormalVectorGlyphs().
unsigned int PViewOptions::normals |
Definition at line 88 of file PViewOptions.h.
double PViewOptions::offset[3] |
Definition at line 50 of file PViewOptions.h.
Referenced by changeCoordinates().
unsigned int PViewOptions::point |
Definition at line 86 of file PViewOptions.h.
Referenced by addOutlineElement().
double PViewOptions::pointSize |
Definition at line 69 of file PViewOptions.h.
Referenced by drawArrays(), drawGraphCurves(), drawPView::operator()(), and PView::PView().
int PViewOptions::pointType |
Definition at line 68 of file PViewOptions.h.
Referenced by addGraphPoint(), drawArrays(), getPointNormal(), and PView::PView().
double PViewOptions::position[2] |
Definition at line 41 of file PViewOptions.h.
Referenced by drawContext::drawGraph2d(), and drawContext::drawScales().
unsigned int PViewOptions::prism |
Definition at line 87 of file PViewOptions.h.
Referenced by addOutlineElement().
unsigned int PViewOptions::pyramid |
Definition at line 87 of file PViewOptions.h.
Referenced by addOutlineElement().
unsigned int PViewOptions::quadrangle |
Definition at line 86 of file PViewOptions.h.
Referenced by addOutlineElement().
double PViewOptions::raise[3] |
Definition at line 50 of file PViewOptions.h.
Referenced by changeCoordinates().
int PViewOptions::rangeType |
Definition at line 59 of file PViewOptions.h.
Referenced by drawGraph(), drawScale(), getExternalValues(), drawPView::operator()(), initPView::operator()(), and writeX3DScale().
int PViewOptions::sampling |
Definition at line 82 of file PViewOptions.h.
Referenced by addElementsInArrays(), and drawGlyphs().
int PViewOptions::saturateValues |
Definition at line 57 of file PViewOptions.h.
Referenced by addGraphPoint(), addScalarLine(), addScalarPoint(), addScalarTetrahedron(), addScalarTriangle(), addTensorElement(), and addVectorElement().
int PViewOptions::scaleType |
Definition at line 59 of file PViewOptions.h.
Referenced by drawGraph(), drawGraphAxes(), drawVectorArray(), getGraphData(), getScaleIndex(), and getScaleValue().
int PViewOptions::showElement |
Definition at line 58 of file PViewOptions.h.
Referenced by addElementsInArrays(), drawArrays(), and needPolygonOffset().
int PViewOptions::showScale |
Definition at line 58 of file PViewOptions.h.
Referenced by drawGraphAxes(), drawContext::drawScales(), and PView::writeX3D().
int PViewOptions::showTime |
Definition at line 58 of file PViewOptions.h.
Referenced by drawGraphAxes(), drawScaleLabel(), drawContext::drawScales(), PView::writeX3D(), and writeX3DScaleLabel().
double PViewOptions::size[2] |
Definition at line 41 of file PViewOptions.h.
Referenced by drawContext::drawGraph2d(), and drawContext::drawScales().
int PViewOptions::smoothNormals |
Definition at line 55 of file PViewOptions.h.
Referenced by addOutlineQuadrangle(), addOutlineTriangle(), addScalarTetrahedron(), addScalarTriangle(), and initPView::operator()().
int PViewOptions::stipple[10][2] |
Definition at line 71 of file PViewOptions.h.
Referenced by drawArrays(), and drawGraphCurves().
std::string PViewOptions::stippleString[10] |
Definition at line 72 of file PViewOptions.h.
double PViewOptions::tangents |
Definition at line 53 of file PViewOptions.h.
Referenced by drawGlyphs(), and drawTangentVectorGlyphs().
unsigned int PViewOptions::tangents |
Definition at line 88 of file PViewOptions.h.
double PViewOptions::targetError |
Definition at line 79 of file PViewOptions.h.
Referenced by _addModelData(), PView::combine(), and PView::PView().
int PViewOptions::tensorType |
Definition at line 60 of file PViewOptions.h.
Referenced by addTensorElement(), and drawEllipseArray().
unsigned int PViewOptions::tetrahedron |
Definition at line 87 of file PViewOptions.h.
Referenced by addOutlineElement().
unsigned int PViewOptions::text2d |
Definition at line 89 of file PViewOptions.h.
Referenced by drawContext::drawText2d().
unsigned int PViewOptions::text3d |
Definition at line 89 of file PViewOptions.h.
Referenced by drawPView::operator()().
int PViewOptions::timeStep |
Definition at line 61 of file PViewOptions.h.
Referenced by _addModelData(), initPView::_estimateNumEllipses(), initPView::_estimateNumLines(), initPView::_estimateNumPoints(), initPView::_estimateNumTriangles(), initPView::_estimateNumVectors(), addElementsInArrays(), addVectorElement(), applyGeneralRaise(), PView::combine(), drawGlyphs(), drawGraph(), drawGraphAxes(), drawScale(), drawScaleLabel(), drawContext::drawScales(), drawContext::drawText2d(), GMSH_LevelsetPlugin::execute(), getExternalValues(), getGraphData(), GMSH_PostPlugin::getPossiblyAdaptiveData(), drawPView::operator()(), drawPViewBoundingBox::operator()(), initPView::operator()(), PView::PView(), PView::writeAdapt(), PView::writeX3D(), writeX3DScale(), and writeX3DScaleLabel().
SBoundingBox3d PViewOptions::tmpBBox |
Definition at line 49 of file PViewOptions.h.
Referenced by addElementsInArrays(), PView::fillVertexArray(), and drawPView::operator()().
double PViewOptions::tmpMax |
Definition at line 47 of file PViewOptions.h.
Referenced by addScalarLine(), addScalarPoint(), addScalarTetrahedron(), addScalarTriangle(), addTensorElement(), addTriangle(), addVectorElement(), drawEllipseArray(), drawGraph(), drawGraphAxes(), drawGraphCurves(), drawNumberGlyphs(), drawScale(), drawScaleBar(), drawScaleValues(), drawVectorArray(), getExternalValues(), getLineNormal(), getPointNormal(), drawPView::operator()(), initPView::operator()(), PView::writeX3D(), writeX3DScale(), writeX3DScaleBar(), and writeX3DScaleValues().
double PViewOptions::tmpMin |
Definition at line 47 of file PViewOptions.h.
Referenced by addScalarLine(), addScalarPoint(), addScalarTetrahedron(), addScalarTriangle(), addTensorElement(), addTriangle(), addVectorElement(), drawGraph(), drawGraphAxes(), drawGraphCurves(), drawNumberGlyphs(), drawScale(), drawScaleBar(), drawScaleValues(), drawVectorArray(), getExternalValues(), getLineNormal(), getPointNormal(), drawPView::operator()(), initPView::operator()(), writeX3DScale(), writeX3DScaleBar(), and writeX3DScaleValues().
double PViewOptions::transform[3][3] |
Definition at line 50 of file PViewOptions.h.
Referenced by changeCoordinates().
unsigned int PViewOptions::triangle |
Definition at line 86 of file PViewOptions.h.
Referenced by addOutlineElement().
unsigned int PViewOptions::trihedron |
Definition at line 87 of file PViewOptions.h.
int PViewOptions::type |
Definition at line 40 of file PViewOptions.h.
Referenced by drawContext::drawGraph2d(), drawGraphAxes(), drawContext::drawScales(), getGraphData(), drawPView::operator()(), drawPViewBoundingBox::operator()(), initPView::operator()(), PView::PView(), skipElement(), and PView::writeX3D().
int PViewOptions::useGenRaise |
Definition at line 74 of file PViewOptions.h.
Referenced by changeCoordinates(), and initPView::operator()().
int PViewOptions::useStipple |
Definition at line 71 of file PViewOptions.h.
Referenced by drawArrays(), and drawGraphCurves().
int PViewOptions::vectorType |
Definition at line 60 of file PViewOptions.h.
Referenced by addVectorElement(), changeCoordinates(), drawVectorArray(), GMSH_ParticlesPlugin::execute(), GMSH_StreamLinesPlugin::execute(), and PView::writeX3D().
int PViewOptions::viewIndexForGenRaise |
Definition at line 73 of file PViewOptions.h.
Referenced by changeCoordinates().
int PViewOptions::visible |
Definition at line 54 of file PViewOptions.h.
Referenced by PView::combine(), drawContext::drawGraph2d(), drawContext::drawScales(), drawContext::drawText2d(), GMSH_BoundaryAnglesPlugin::execute(), needPolygonOffset(), drawPView::operator()(), drawPViewBoundingBox::operator()(), initPView::operator()(), and PView::writeX3D().