OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::oofegGraphicContext Class Reference

#include <oofeggraphiccontext.h>

+ Collaboration diagram for oofem::oofegGraphicContext:

Public Member Functions

 oofegGraphicContext ()
 
 ~oofegGraphicContext ()
 
void init (EngngModel *)
 
EPixel getElementColor ()
 
EPixel getElementEdgeColor ()
 
EPixel getRemoteElementColor ()
 
EPixel getRemoteElementEdgeColor ()
 
EPixel getNodeColor ()
 
EPixel getBcIcColor ()
 
EPixel getBcForceColor ()
 
EPixel getDeformedElementColor ()
 
EPixel getCrackPatternColor ()
 
EPixel getActiveCrackColor ()
 
EPixel getYieldPlotColor (double ratio)
 
EPixel getCrossSectionColor ()
 
EPixel getStandardSparseProfileColor ()
 
EPixel getExtendedSparseProfileColor ()
 
EPixel getGeometryColor ()
 
int getSparseProfileMode ()
 
int getActiveStep ()
 
int getActiveStepVersion ()
 
double getDefScale ()
 
double getLandScale ()
 
int getActiveEigVal ()
 
int getActiveYieldStep ()
 
int getInternalVarsDefGeoFlag ()
 
int getActiveDomain ()
 
int getActiveProblemIndx ()
 
EngngModelgetActiveProblem ()
 
EFringeTable getFringeTable ()
 
void setElementColor (EPixel color)
 
void setElementEdgeColor (EPixel color)
 
void setNodeColor (EPixel color)
 
void setDeformedElementColor (EPixel color)
 
void setCrackPatternColor (EPixel color)
 
void setActiveCrackColor (EPixel color)
 
void setGeometryColor (EPixel color)
 
void setCrossSectionColor (EPixel color)
 
void setActiveStep (int n)
 
void setActiveStepVersion (int n)
 
void setDefScale (double n)
 
void setLandScale (double n)
 
void setActiveEigVal (int n)
 
void setActiveYieldStep (int n)
 
void setInternalVarsDefGeoFlag (int n)
 
void setSparseProfileMode (int n)
 
int setActiveDomain (int a)
 
int setActiveProblem (int a)
 
void setPlotMode (OGC_PlotModeType mode)
 
void setInternalStateMode (InternalStateMode mode)
 
void setInternalStateType (InternalStateType type)
 
void setIntVarIndx (int indx)
 
InternalStateType giveIntVarType ()
 
InternalStateMode giveIntVarMode ()
 
OGC_PlotModeType giveIntVarPlotMode ()
 
int giveIntVarIndx ()
 
ScalarAlgorithmType getScalarAlgo ()
 
void setScalarAlgo (ScalarAlgorithmType a)
 
SmootherType giveSmootherType ()
 
void setSmootherType (SmootherType type)
 
ScaleMode getScaleMode ()
 
void setScaleMode (ScaleMode s)
 
double getScaleMin ()
 
double getScaleMax ()
 
void setScaleVals (double smin, double smax)
 
void resetScaleVals ()
 
void updateFringeTableMinMax (double *s, int size)
 
int testElementGraphicActivity (Element *)
 Test if particular element passed fulfills various filtering criteria for its graphics output. More...
 
int getMaterialModelFilterState (int i)
 Returns the state of material model (region) filter for particular mod.el. More...
 
void setMaterialModelFilterState (int i, int state)
 Sets the state of material model (region) filter for particular model. More...
 
void setElementFilterState (char *initString)
 Sets the state of element filter for particular model. More...
 
bool isActive ()
 tests if context is active More...
 
void setActivityFlag (bool flag)
 sets activity flag More...
 

Protected Member Functions

EPixel GR_giveColorFromUserColorTable (EPixel *table, int tableSize, double relVal)
 

Protected Attributes

InternalStateType varType
 
int component
 
OGC_PlotModeType plotMode
 
bool isActiveFlag
 

Static Protected Attributes

static EngngModelemodel = NULL
 
static EFringeTable ft
 
static EPixel meshFillColor
 
static EPixel remoteMeshFillColor
 
static EPixel edgeColor
 
static EPixel remoteEdgeColor
 
static EPixel nodeColor
 
static EPixel bcicColor
 
static EPixel bcForceColor
 
static EPixel deformedElementColor
 
static EPixel crackPatternColor
 
static EPixel activeCrackColor
 
static EPixel yieldPlotColors [OOFEG_YIELD_STEPS]
 
static EPixel standardSparseProfileColor
 
static EPixel extendedSparseProfileColor
 
static EPixel geometryColor
 
static EPixel crossSectionColor
 
static int activeStep = -1
 
static int activeStepVersion = 0
 
static double defScale = 1.0
 
static double zprofilescale = 0.0
 
static int activeEigVal = 1
 
static int activeYieldStep
 
static IntArray matRegFilter
 
static std::list< Rangeelement_filter
 
static ScalarAlgorithmType scalarAlgo = SA_ISO_SURF
 
static SmootherType smootherType
 
static int intVarDefGeoFlag = 0
 
static int sparseProfileMode
 
static int activeProblem = 0
 
static int activeDomain = 0
 
static ScaleMode smode
 
static double emin
 
static double emax
 
static int scaleInitFlag
 
static bool staticVarsInitFlag = 0
 
static InternalStateMode varMode = ISM_recovered
 

Detailed Description

Definition at line 126 of file oofeggraphiccontext.h.

Constructor & Destructor Documentation

oofem::oofegGraphicContext::oofegGraphicContext ( )

Definition at line 84 of file oofeggraphiccontext.C.

References isActiveFlag, oofem::OGC_unknown, and plotMode.

oofem::oofegGraphicContext::~oofegGraphicContext ( )

Definition at line 138 of file oofeggraphiccontext.C.

Member Function Documentation

int oofem::oofegGraphicContext::getActiveDomain ( )
inline
int oofem::oofegGraphicContext::getActiveEigVal ( )
inline

Definition at line 233 of file oofeggraphiccontext.h.

EngngModel * oofem::oofegGraphicContext::getActiveProblem ( )
int oofem::oofegGraphicContext::getActiveProblemIndx ( )
inline
int oofem::oofegGraphicContext::getActiveStep ( )
inline

Definition at line 229 of file oofeggraphiccontext.h.

int oofem::oofegGraphicContext::getActiveStepVersion ( )
inline

Definition at line 230 of file oofeggraphiccontext.h.

int oofem::oofegGraphicContext::getActiveYieldStep ( )
inline

Definition at line 234 of file oofeggraphiccontext.h.

EPixel oofem::oofegGraphicContext::getBcForceColor ( )
inline

Definition at line 214 of file oofeggraphiccontext.h.

Referenced by oofem::Node::drawYourself().

EPixel oofem::oofegGraphicContext::getBcIcColor ( )
inline

Definition at line 213 of file oofeggraphiccontext.h.

Referenced by oofem::Node::drawYourself().

EPixel oofem::oofegGraphicContext::getCrossSectionColor ( )
inline
EPixel oofem::oofegGraphicContext::getDeformedElementColor ( )
inline

Definition at line 215 of file oofeggraphiccontext.h.

Referenced by oofem::QTrPlaneStress2d::drawDeformedGeometry(), oofem::IntElLine2::drawDeformedGeometry(), oofem::QPlaneStrain::drawDeformedGeometry(), oofem::QTrPlaneStrain::drawDeformedGeometry(), oofem::QPlaneStress2d::drawDeformedGeometry(), oofem::InterfaceElem2dLin::drawDeformedGeometry(), oofem::InterfaceElem2dQuad::drawDeformedGeometry(), oofem::Axisymm3d::drawDeformedGeometry(), oofem::Q4Axisymm::drawDeformedGeometry(), oofem::L4Axisymm::drawDeformedGeometry(), oofem::TrPlaneStress2d::drawDeformedGeometry(), oofem::InterfaceElem1d::drawDeformedGeometry(), oofem::LTRSpace::drawDeformedGeometry(), oofem::LumpedMassElement::drawDeformedGeometry(), oofem::LIBeam2dNL::drawDeformedGeometry(), oofem::Quad1PlaneStrain::drawDeformedGeometry(), oofem::PlaneStress2d::drawDeformedGeometry(), oofem::CohesiveSurface3d::drawDeformedGeometry(), oofem::Truss3d::drawDeformedGeometry(), oofem::LIBeam3d::drawDeformedGeometry(), oofem::Truss1d::drawDeformedGeometry(), oofem::TrPlaneStrain::drawDeformedGeometry(), oofem::LIBeam3dNL2::drawDeformedGeometry(), oofem::IntElLine1::drawDeformedGeometry(), oofem::Truss2d::drawDeformedGeometry(), oofem::LIBeam3dNL::drawDeformedGeometry(), oofem::LSpace::drawDeformedGeometry(), oofem::TR_SHELL02::drawDeformedGeometry(), oofem::TR_SHELL01::drawDeformedGeometry(), oofem::Lattice2d::drawDeformedGeometry(), oofem::IntElPoint::drawDeformedGeometry(), oofem::LIBeam3d2::drawDeformedGeometry(), oofem::CCTPlate::drawDeformedGeometry(), oofem::Beam2d::drawDeformedGeometry(), oofem::QDKTPlate::drawDeformedGeometry(), oofem::DKTPlate::drawDeformedGeometry(), oofem::Beam3d::drawDeformedGeometry(), oofem::drawIGAPatchDeformedGeometry(), oofem::InterfaceElem1d::drawRawGeometry(), oofem::IntElPoint::drawRawGeometry(), oofem::QPlaneStress2d::drawScalar(), oofem::Axisymm3d::drawScalar(), oofem::TrPlaneStress2d::drawScalar(), oofem::PlaneStress2d::drawScalar(), oofem::Quad1PlaneStrain::drawScalar(), oofem::Truss1d::drawScalar(), oofem::TrPlaneStrain::drawScalar(), oofem::TR1_2D_SUPG2_AXI::drawScalar(), oofem::TR21_2D_SUPG::drawScalar(), oofem::Quad10_2D_SUPG::drawScalar(), oofem::TR1_2D_PFEM::drawScalar(), oofem::QDKTPlate::drawScalar(), oofem::TR1_2D_CBS::drawScalar(), oofem::TR1_2D_SUPG2::drawScalar(), oofem::TR1_2D_SUPG::drawScalar(), and oofem::Node::drawYourself().

double oofem::oofegGraphicContext::getDefScale ( )
inline

Definition at line 231 of file oofeggraphiccontext.h.

Referenced by oofem::QTrPlaneStress2d::drawDeformedGeometry(), oofem::IntElLine2::drawDeformedGeometry(), oofem::QPlaneStrain::drawDeformedGeometry(), oofem::QTrPlaneStrain::drawDeformedGeometry(), oofem::QPlaneStress2d::drawDeformedGeometry(), oofem::InterfaceElem2dLin::drawDeformedGeometry(), oofem::InterfaceElem2dQuad::drawDeformedGeometry(), oofem::Axisymm3d::drawDeformedGeometry(), oofem::Q4Axisymm::drawDeformedGeometry(), oofem::L4Axisymm::drawDeformedGeometry(), oofem::TrPlaneStress2d::drawDeformedGeometry(), oofem::InterfaceElem1d::drawDeformedGeometry(), oofem::LTRSpace::drawDeformedGeometry(), oofem::LumpedMassElement::drawDeformedGeometry(), oofem::PlaneStress2d::drawDeformedGeometry(), oofem::LIBeam2dNL::drawDeformedGeometry(), oofem::Quad1PlaneStrain::drawDeformedGeometry(), oofem::Truss3d::drawDeformedGeometry(), oofem::CohesiveSurface3d::drawDeformedGeometry(), oofem::LIBeam3d::drawDeformedGeometry(), oofem::Truss1d::drawDeformedGeometry(), oofem::TrPlaneStrain::drawDeformedGeometry(), oofem::LIBeam3dNL2::drawDeformedGeometry(), oofem::IntElLine1::drawDeformedGeometry(), oofem::Truss2d::drawDeformedGeometry(), oofem::LIBeam3dNL::drawDeformedGeometry(), oofem::LSpace::drawDeformedGeometry(), oofem::TR_SHELL02::drawDeformedGeometry(), oofem::TR_SHELL01::drawDeformedGeometry(), oofem::Lattice2d::drawDeformedGeometry(), oofem::IntElPoint::drawDeformedGeometry(), oofem::LIBeam3d2::drawDeformedGeometry(), oofem::CCTPlate::drawDeformedGeometry(), oofem::Beam2d::drawDeformedGeometry(), oofem::QDKTPlate::drawDeformedGeometry(), oofem::DKTPlate::drawDeformedGeometry(), oofem::Beam3d::drawDeformedGeometry(), oofem::drawIGAPatchDeformedGeometry(), oofem::QTrPlaneStress2d::drawScalar(), oofem::QPlaneStrain::drawScalar(), oofem::QTrPlaneStrain::drawScalar(), oofem::QPlaneStress2d::drawScalar(), oofem::Axisymm3d::drawScalar(), oofem::TrPlaneStress2d::drawScalar(), oofem::L4Axisymm::drawScalar(), oofem::InterfaceElem1d::drawScalar(), oofem::Quad1PlaneStrain::drawScalar(), oofem::PlaneStress2d::drawScalar(), oofem::CohesiveSurface3d::drawScalar(), oofem::Truss1d::drawScalar(), oofem::TrPlaneStrain::drawScalar(), oofem::LSpace::drawScalar(), oofem::TR_SHELL02::drawScalar(), oofem::TR_SHELL01::drawScalar(), oofem::IntElPoint::drawScalar(), oofem::LIBeam3d2::drawScalar(), oofem::CCTPlate::drawScalar(), oofem::QDKTPlate::drawScalar(), oofem::DKTPlate::drawScalar(), oofem::TrPlaneStress2d::drawSpecial(), oofem::LTRSpace::drawSpecial(), oofem::PlaneStress2d::drawSpecial(), oofem::Quad1PlaneStrain::drawSpecial(), and oofem::Node::drawYourself().

EPixel oofem::oofegGraphicContext::getElementColor ( )
inline

Definition at line 208 of file oofeggraphiccontext.h.

Referenced by oofem::Element::drawAnnotation(), oofem::QTrPlaneStress2d::drawRawGeometry(), oofem::IntElLine2::drawRawGeometry(), oofem::QPlaneStrain::drawRawGeometry(), oofem::QTrPlaneStrain::drawRawGeometry(), oofem::InterfaceElement3dTrLin::drawRawGeometry(), oofem::QPlaneStress2d::drawRawGeometry(), oofem::InterfaceElem2dLin::drawRawGeometry(), oofem::InterfaceElem2dQuad::drawRawGeometry(), oofem::Quad1_ht::drawRawGeometry(), oofem::Axisymm3d::drawRawGeometry(), oofem::Tetrah1_ht::drawRawGeometry(), oofem::Q4Axisymm::drawRawGeometry(), oofem::L4Axisymm::drawRawGeometry(), oofem::Tet1_3D_SUPG::drawRawGeometry(), oofem::TrPlaneStress2d::drawRawGeometry(), oofem::InterfaceElem1d::drawRawGeometry(), oofem::LTRSpace::drawRawGeometry(), oofem::IntElSurfTr1::drawRawGeometry(), oofem::LumpedMassElement::drawRawGeometry(), oofem::Brick1_ht::drawRawGeometry(), oofem::Quad1PlaneStrain::drawRawGeometry(), oofem::LIBeam2dNL::drawRawGeometry(), oofem::PlaneStress2d::drawRawGeometry(), oofem::CohesiveSurface3d::drawRawGeometry(), oofem::Truss3d::drawRawGeometry(), oofem::LIBeam3d::drawRawGeometry(), oofem::Truss1d::drawRawGeometry(), oofem::TrPlaneStrain::drawRawGeometry(), oofem::LIBeam3dNL2::drawRawGeometry(), oofem::Truss2d::drawRawGeometry(), oofem::IntElLine1::drawRawGeometry(), oofem::LIBeam3dNL::drawRawGeometry(), oofem::LSpace::drawRawGeometry(), oofem::TR_SHELL02::drawRawGeometry(), oofem::TR_SHELL01::drawRawGeometry(), oofem::TR1_2D_SUPG2_AXI::drawRawGeometry(), oofem::Lattice2d::drawRawGeometry(), oofem::IntElPoint::drawRawGeometry(), oofem::IGAElement::drawRawGeometry(), oofem::TR21_2D_SUPG::drawRawGeometry(), oofem::LIBeam3d2::drawRawGeometry(), oofem::Lattice2d_mt::drawRawGeometry(), oofem::Quad10_2D_SUPG::drawRawGeometry(), oofem::TR1_2D_PFEM::drawRawGeometry(), oofem::CCTPlate::drawRawGeometry(), oofem::Beam2d::drawRawGeometry(), oofem::QDKTPlate::drawRawGeometry(), oofem::TR1_2D_CBS::drawRawGeometry(), oofem::TR1_2D_SUPG2::drawRawGeometry(), oofem::DKTPlate::drawRawGeometry(), oofem::TR1_2D_SUPG::drawRawGeometry(), oofem::Beam3d::drawRawGeometry(), oofem::LIBeam3d2::drawScalar(), and oofem::Subdivision::packRemoteElements().

EPixel oofem::oofegGraphicContext::getElementEdgeColor ( )
inline

Definition at line 209 of file oofeggraphiccontext.h.

Referenced by oofem::QTrPlaneStress2d::drawDeformedGeometry(), oofem::QPlaneStrain::drawDeformedGeometry(), oofem::QTrPlaneStrain::drawDeformedGeometry(), oofem::QPlaneStress2d::drawDeformedGeometry(), oofem::Axisymm3d::drawDeformedGeometry(), oofem::Q4Axisymm::drawDeformedGeometry(), oofem::L4Axisymm::drawDeformedGeometry(), oofem::TrPlaneStress2d::drawDeformedGeometry(), oofem::LTRSpace::drawDeformedGeometry(), oofem::Quad1PlaneStrain::drawDeformedGeometry(), oofem::PlaneStress2d::drawDeformedGeometry(), oofem::TrPlaneStrain::drawDeformedGeometry(), oofem::LSpace::drawDeformedGeometry(), oofem::TR_SHELL02::drawDeformedGeometry(), oofem::TR_SHELL01::drawDeformedGeometry(), oofem::CCTPlate::drawDeformedGeometry(), oofem::QDKTPlate::drawDeformedGeometry(), oofem::DKTPlate::drawDeformedGeometry(), oofem::drawIGAPatchDeformedGeometry(), oofem::QTrPlaneStress2d::drawRawGeometry(), oofem::QPlaneStrain::drawRawGeometry(), oofem::QTrPlaneStrain::drawRawGeometry(), oofem::InterfaceElement3dTrLin::drawRawGeometry(), oofem::QPlaneStress2d::drawRawGeometry(), oofem::Quad1_ht::drawRawGeometry(), oofem::Axisymm3d::drawRawGeometry(), oofem::Tetrah1_ht::drawRawGeometry(), oofem::Q4Axisymm::drawRawGeometry(), oofem::TrPlaneStress2d::drawRawGeometry(), oofem::Tet1_3D_SUPG::drawRawGeometry(), oofem::L4Axisymm::drawRawGeometry(), oofem::LTRSpace::drawRawGeometry(), oofem::IntElSurfTr1::drawRawGeometry(), oofem::Brick1_ht::drawRawGeometry(), oofem::Quad1PlaneStrain::drawRawGeometry(), oofem::PlaneStress2d::drawRawGeometry(), oofem::CohesiveSurface3d::drawRawGeometry(), oofem::TrPlaneStrain::drawRawGeometry(), oofem::LSpace::drawRawGeometry(), oofem::TR_SHELL02::drawRawGeometry(), oofem::TR_SHELL01::drawRawGeometry(), oofem::TR1_2D_SUPG2_AXI::drawRawGeometry(), oofem::IGAElement::drawRawGeometry(), oofem::TR21_2D_SUPG::drawRawGeometry(), oofem::Quad10_2D_SUPG::drawRawGeometry(), oofem::TR1_2D_PFEM::drawRawGeometry(), oofem::CCTPlate::drawRawGeometry(), oofem::QDKTPlate::drawRawGeometry(), oofem::TR1_2D_CBS::drawRawGeometry(), oofem::TR1_2D_SUPG2::drawRawGeometry(), oofem::DKTPlate::drawRawGeometry(), oofem::TR1_2D_SUPG::drawRawGeometry(), oofem::Tetrah1_ht::drawScalar(), oofem::LTRSpace::drawScalar(), oofem::Brick1_ht::drawScalar(), and oofem::LSpace::drawScalar().

EPixel oofem::oofegGraphicContext::getExtendedSparseProfileColor ( )
inline
EFringeTable oofem::oofegGraphicContext::getFringeTable ( )
inline
EPixel oofem::oofegGraphicContext::getGeometryColor ( )
inline

Definition at line 223 of file oofeggraphiccontext.h.

int oofem::oofegGraphicContext::getMaterialModelFilterState ( int  i)

Returns the state of material model (region) filter for particular mod.el.

Definition at line 180 of file oofeggraphiccontext.C.

References oofem::IntArray::at(), oofem::IntArray::giveSize(), and matRegFilter.

Referenced by testElementGraphicActivity().

EPixel oofem::oofegGraphicContext::getNodeColor ( )
inline
EPixel oofem::oofegGraphicContext::getRemoteElementColor ( )
inline

Definition at line 210 of file oofeggraphiccontext.h.

Referenced by oofem::LTRSpace::drawRawGeometry().

EPixel oofem::oofegGraphicContext::getRemoteElementEdgeColor ( )
inline

Definition at line 211 of file oofeggraphiccontext.h.

Referenced by oofem::LTRSpace::drawRawGeometry().

double oofem::oofegGraphicContext::getScaleMax ( )
inline

Definition at line 281 of file oofeggraphiccontext.h.

Referenced by updateFringeTableMinMax().

double oofem::oofegGraphicContext::getScaleMin ( )
inline

Definition at line 280 of file oofeggraphiccontext.h.

Referenced by updateFringeTableMinMax().

ScaleMode oofem::oofegGraphicContext::getScaleMode ( )
inline

Definition at line 278 of file oofeggraphiccontext.h.

Referenced by updateFringeTableMinMax().

int oofem::oofegGraphicContext::getSparseProfileMode ( )
inline
EPixel oofem::oofegGraphicContext::getYieldPlotColor ( double  ratio)
inline

Definition at line 218 of file oofeggraphiccontext.h.

References OOFEG_YIELD_STEPS.

int oofem::oofegGraphicContext::giveIntVarIndx ( )
inline

Definition at line 270 of file oofeggraphiccontext.h.

Referenced by oofem::QTrPlaneStress2d::drawScalar(), oofem::QPlaneStrain::drawScalar(), oofem::IntElLine2::drawScalar(), oofem::QTrPlaneStrain::drawScalar(), oofem::QPlaneStress2d::drawScalar(), oofem::InterfaceElem2dLin::drawScalar(), oofem::Quad1_ht::drawScalar(), oofem::InterfaceElem2dQuad::drawScalar(), oofem::Tetrah1_ht::drawScalar(), oofem::Axisymm3d::drawScalar(), oofem::L4Axisymm::drawScalar(), oofem::TrPlaneStress2d::drawScalar(), oofem::LTRSpace::drawScalar(), oofem::InterfaceElem1d::drawScalar(), oofem::BsplinePlaneStressElement::drawScalar(), oofem::Brick1_ht::drawScalar(), oofem::PlaneStress2d::drawScalar(), oofem::Quad1PlaneStrain::drawScalar(), oofem::CohesiveSurface3d::drawScalar(), oofem::PlaneStress2dXfem::drawScalar(), oofem::Truss1d::drawScalar(), oofem::TrPlaneStrain::drawScalar(), oofem::IntElLine1::drawScalar(), oofem::TrPlaneStress2dXFEM::drawScalar(), oofem::LSpace::drawScalar(), oofem::TR_SHELL02::drawScalar(), oofem::TR_SHELL01::drawScalar(), oofem::TR1_2D_SUPG2_AXI::drawScalar(), oofem::TR21_2D_SUPG::drawScalar(), oofem::IntElPoint::drawScalar(), oofem::Quad10_2D_SUPG::drawScalar(), oofem::NURBSPlaneStressElement::drawScalar(), oofem::TR1_2D_PFEM::drawScalar(), oofem::CCTPlate::drawScalar(), oofem::QDKTPlate::drawScalar(), oofem::TR1_2D_CBS::drawScalar(), oofem::TR1_2D_SUPG2::drawScalar(), oofem::DKTPlate::drawScalar(), oofem::TSplinePlaneStressElement::drawScalar(), oofem::TR1_2D_SUPG::drawScalar(), and oofem::NURBSSpace3dElement::drawScalar().

InternalStateType oofem::oofegGraphicContext::giveIntVarType ( )
inline

Definition at line 267 of file oofeggraphiccontext.h.

Referenced by oofem::QTrPlaneStress2d::drawScalar(), oofem::IntElLine2::drawScalar(), oofem::QPlaneStrain::drawScalar(), oofem::QTrPlaneStrain::drawScalar(), oofem::QPlaneStress2d::drawScalar(), oofem::InterfaceElem2dLin::drawScalar(), oofem::InterfaceElem2dQuad::drawScalar(), oofem::Quad1_ht::drawScalar(), oofem::Tetrah1_ht::drawScalar(), oofem::Axisymm3d::drawScalar(), oofem::TrPlaneStress2d::drawScalar(), oofem::L4Axisymm::drawScalar(), oofem::LTRSpace::drawScalar(), oofem::InterfaceElem1d::drawScalar(), oofem::Brick1_ht::drawScalar(), oofem::Quad1PlaneStrain::drawScalar(), oofem::PlaneStress2d::drawScalar(), oofem::CohesiveSurface3d::drawScalar(), oofem::PlaneStress2dXfem::drawScalar(), oofem::Truss1d::drawScalar(), oofem::TrPlaneStrain::drawScalar(), oofem::IntElLine1::drawScalar(), oofem::TrPlaneStress2dXFEM::drawScalar(), oofem::LSpace::drawScalar(), oofem::PFEMParticle::drawScalar(), oofem::TR_SHELL02::drawScalar(), oofem::TR_SHELL01::drawScalar(), oofem::TR1_2D_SUPG2_AXI::drawScalar(), oofem::TR21_2D_SUPG::drawScalar(), oofem::IntElPoint::drawScalar(), oofem::LIBeam3d2::drawScalar(), oofem::Quad10_2D_SUPG::drawScalar(), oofem::TR1_2D_PFEM::drawScalar(), oofem::CCTPlate::drawScalar(), oofem::QDKTPlate::drawScalar(), oofem::TR1_2D_CBS::drawScalar(), oofem::TR1_2D_SUPG2::drawScalar(), oofem::DKTPlate::drawScalar(), oofem::TR1_2D_SUPG::drawScalar(), oofem::NURBSSpace3dElement::drawScalar(), oofem::TrPlaneStress2d::drawSpecial(), oofem::LTRSpace::drawSpecial(), oofem::Quad1PlaneStrain::drawSpecial(), oofem::PlaneStress2d::drawSpecial(), oofem::LSpace::drawSpecial(), oofem::Lattice2d::drawSpecial(), and oofem::Node::drawYourself().

SmootherType oofem::oofegGraphicContext::giveSmootherType ( )
inline

Definition at line 275 of file oofeggraphiccontext.h.

EPixel oofem::oofegGraphicContext::GR_giveColorFromUserColorTable ( EPixel *  table,
int  tableSize,
double  relVal 
)
protected

Definition at line 142 of file oofeggraphiccontext.C.

bool oofem::oofegGraphicContext::isActive ( )
inline

tests if context is active

Definition at line 317 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::resetScaleVals ( )
inline

Definition at line 286 of file oofeggraphiccontext.h.

References oofem::SM_Autoscale.

void oofem::oofegGraphicContext::setActiveCrackColor ( EPixel  color)
inline

Definition at line 246 of file oofeggraphiccontext.h.

int oofem::oofegGraphicContext::setActiveDomain ( int  a)
inline

Definition at line 257 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setActiveEigVal ( int  n)
inline

Definition at line 253 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setActiveStep ( int  n)
inline

Definition at line 249 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setActiveStepVersion ( int  n)
inline

Definition at line 250 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setActiveYieldStep ( int  n)
inline

Definition at line 254 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setActivityFlag ( bool  flag)
inline

sets activity flag

Definition at line 319 of file oofeggraphiccontext.h.

References deleteLayerGraphics(), gc, myview, and OOFEG_LAST_LAYER.

void oofem::oofegGraphicContext::setCrackPatternColor ( EPixel  color)
inline

Definition at line 245 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setCrossSectionColor ( EPixel  color)
inline

Definition at line 248 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setDeformedElementColor ( EPixel  color)
inline

Definition at line 244 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setDefScale ( double  n)
inline

Definition at line 251 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setElementColor ( EPixel  color)
inline

Definition at line 241 of file oofeggraphiccontext.h.

Referenced by oofem::Subdivision::packRemoteElements().

void oofem::oofegGraphicContext::setElementEdgeColor ( EPixel  color)
inline

Definition at line 242 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setElementFilterState ( char *  initString)

Sets the state of element filter for particular model.

Parameters
initStringString containing valid range string representation, with element_filter keyword.

Definition at line 200 of file oofeggraphiccontext.C.

References element_filter, and oofem::OOFEMTXTInputRecord::giveField().

void oofem::oofegGraphicContext::setGeometryColor ( EPixel  color)
inline

Definition at line 247 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setInternalStateMode ( InternalStateMode  mode)
inline

Definition at line 264 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setInternalStateType ( InternalStateType  type)
inline

Definition at line 265 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setInternalVarsDefGeoFlag ( int  n)
inline

Definition at line 255 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setIntVarIndx ( int  indx)
inline

Definition at line 266 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setLandScale ( double  n)
inline

Definition at line 252 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setMaterialModelFilterState ( int  i,
int  state 
)

Sets the state of material model (region) filter for particular model.

Definition at line 190 of file oofeggraphiccontext.C.

References oofem::IntArray::at(), oofem::IntArray::giveSize(), and matRegFilter.

void oofem::oofegGraphicContext::setNodeColor ( EPixel  color)
inline

Definition at line 243 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setPlotMode ( OGC_PlotModeType  mode)
inline

Definition at line 263 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setScalarAlgo ( ScalarAlgorithmType  a)
inline

Definition at line 273 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setScaleMode ( ScaleMode  s)
inline

Definition at line 279 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setScaleVals ( double  smin,
double  smax 
)
inline

Definition at line 282 of file oofeggraphiccontext.h.

Referenced by updateFringeTableMinMax().

void oofem::oofegGraphicContext::setSmootherType ( SmootherType  type)
inline

Definition at line 276 of file oofeggraphiccontext.h.

void oofem::oofegGraphicContext::setSparseProfileMode ( int  n)
inline

Definition at line 256 of file oofeggraphiccontext.h.

int oofem::oofegGraphicContext::testElementGraphicActivity ( Element e)

Test if particular element passed fulfills various filtering criteria for its graphics output.

Returns
Nonzero if output requested, zero otherwise..

Definition at line 161 of file oofeggraphiccontext.C.

References element_filter, getMaterialModelFilterState(), oofem::Element::giveMaterial(), and oofem::FEMComponent::giveNumber().

Referenced by oofem::QTrPlaneStress2d::drawDeformedGeometry(), oofem::QPlaneStrain::drawDeformedGeometry(), oofem::IntElLine2::drawDeformedGeometry(), oofem::QTrPlaneStrain::drawDeformedGeometry(), oofem::QPlaneStress2d::drawDeformedGeometry(), oofem::InterfaceElem2dLin::drawDeformedGeometry(), oofem::InterfaceElem2dQuad::drawDeformedGeometry(), oofem::Axisymm3d::drawDeformedGeometry(), oofem::Q4Axisymm::drawDeformedGeometry(), oofem::TrPlaneStress2d::drawDeformedGeometry(), oofem::L4Axisymm::drawDeformedGeometry(), oofem::LTRSpace::drawDeformedGeometry(), oofem::InterfaceElem1d::drawDeformedGeometry(), oofem::LumpedMassElement::drawDeformedGeometry(), oofem::PlaneStress2d::drawDeformedGeometry(), oofem::LIBeam2dNL::drawDeformedGeometry(), oofem::Quad1PlaneStrain::drawDeformedGeometry(), oofem::Truss3d::drawDeformedGeometry(), oofem::CohesiveSurface3d::drawDeformedGeometry(), oofem::LIBeam3d::drawDeformedGeometry(), oofem::Truss1d::drawDeformedGeometry(), oofem::TrPlaneStrain::drawDeformedGeometry(), oofem::LIBeam3dNL2::drawDeformedGeometry(), oofem::Truss2d::drawDeformedGeometry(), oofem::IntElLine1::drawDeformedGeometry(), oofem::LIBeam3dNL::drawDeformedGeometry(), oofem::LSpace::drawDeformedGeometry(), oofem::TR_SHELL02::drawDeformedGeometry(), oofem::TR_SHELL01::drawDeformedGeometry(), oofem::Lattice2d::drawDeformedGeometry(), oofem::IntElPoint::drawDeformedGeometry(), oofem::LIBeam3d2::drawDeformedGeometry(), oofem::Beam2d::drawDeformedGeometry(), oofem::CCTPlate::drawDeformedGeometry(), oofem::QDKTPlate::drawDeformedGeometry(), oofem::DKTPlate::drawDeformedGeometry(), oofem::Beam3d::drawDeformedGeometry(), oofem::drawIGAPatchDeformedGeometry(), oofem::Lattice2d::drawRawCrossSections(), oofem::Lattice2d_mt::drawRawCrossSections(), oofem::QTrPlaneStress2d::drawRawGeometry(), oofem::QPlaneStrain::drawRawGeometry(), oofem::IntElLine2::drawRawGeometry(), oofem::QTrPlaneStrain::drawRawGeometry(), oofem::InterfaceElement3dTrLin::drawRawGeometry(), oofem::QPlaneStress2d::drawRawGeometry(), oofem::InterfaceElem2dLin::drawRawGeometry(), oofem::InterfaceElem2dQuad::drawRawGeometry(), oofem::Quad1_ht::drawRawGeometry(), oofem::Axisymm3d::drawRawGeometry(), oofem::Tetrah1_ht::drawRawGeometry(), oofem::Q4Axisymm::drawRawGeometry(), oofem::TrPlaneStress2d::drawRawGeometry(), oofem::L4Axisymm::drawRawGeometry(), oofem::Tet1_3D_SUPG::drawRawGeometry(), oofem::LTRSpace::drawRawGeometry(), oofem::InterfaceElem1d::drawRawGeometry(), oofem::IntElSurfTr1::drawRawGeometry(), oofem::LumpedMassElement::drawRawGeometry(), oofem::Brick1_ht::drawRawGeometry(), oofem::PlaneStress2d::drawRawGeometry(), oofem::Quad1PlaneStrain::drawRawGeometry(), oofem::LIBeam2dNL::drawRawGeometry(), oofem::PlaneStress2dXfem::drawRawGeometry(), oofem::Truss3d::drawRawGeometry(), oofem::CohesiveSurface3d::drawRawGeometry(), oofem::LIBeam3d::drawRawGeometry(), oofem::Truss1d::drawRawGeometry(), oofem::TrPlaneStrain::drawRawGeometry(), oofem::LIBeam3dNL2::drawRawGeometry(), oofem::Truss2d::drawRawGeometry(), oofem::IntElLine1::drawRawGeometry(), oofem::TrPlaneStress2dXFEM::drawRawGeometry(), oofem::LIBeam3dNL::drawRawGeometry(), oofem::LSpace::drawRawGeometry(), oofem::TR_SHELL02::drawRawGeometry(), oofem::TR_SHELL01::drawRawGeometry(), oofem::TR1_2D_SUPG2_AXI::drawRawGeometry(), oofem::Lattice2d::drawRawGeometry(), oofem::IGAElement::drawRawGeometry(), oofem::IntElPoint::drawRawGeometry(), oofem::TR21_2D_SUPG::drawRawGeometry(), oofem::LIBeam3d2::drawRawGeometry(), oofem::Lattice2d_mt::drawRawGeometry(), oofem::Quad10_2D_SUPG::drawRawGeometry(), oofem::TR1_2D_PFEM::drawRawGeometry(), oofem::CCTPlate::drawRawGeometry(), oofem::Beam2d::drawRawGeometry(), oofem::QDKTPlate::drawRawGeometry(), oofem::TR1_2D_CBS::drawRawGeometry(), oofem::TR1_2D_SUPG2::drawRawGeometry(), oofem::DKTPlate::drawRawGeometry(), oofem::TR1_2D_SUPG::drawRawGeometry(), oofem::Beam3d::drawRawGeometry(), oofem::QTrPlaneStress2d::drawScalar(), oofem::QPlaneStrain::drawScalar(), oofem::IntElLine2::drawScalar(), oofem::QTrPlaneStrain::drawScalar(), oofem::QPlaneStress2d::drawScalar(), oofem::InterfaceElem2dLin::drawScalar(), oofem::InterfaceElem2dQuad::drawScalar(), oofem::Quad1_ht::drawScalar(), oofem::Tetrah1_ht::drawScalar(), oofem::Axisymm3d::drawScalar(), oofem::TrPlaneStress2d::drawScalar(), oofem::L4Axisymm::drawScalar(), oofem::InterfaceElem1d::drawScalar(), oofem::LTRSpace::drawScalar(), oofem::BsplinePlaneStressElement::drawScalar(), oofem::Brick1_ht::drawScalar(), oofem::Quad1PlaneStrain::drawScalar(), oofem::PlaneStress2d::drawScalar(), oofem::PlaneStress2dXfem::drawScalar(), oofem::CohesiveSurface3d::drawScalar(), oofem::Truss1d::drawScalar(), oofem::TrPlaneStrain::drawScalar(), oofem::IntElLine1::drawScalar(), oofem::TrPlaneStress2dXFEM::drawScalar(), oofem::LSpace::drawScalar(), oofem::TR_SHELL02::drawScalar(), oofem::TR_SHELL01::drawScalar(), oofem::TR1_2D_SUPG2_AXI::drawScalar(), oofem::TR21_2D_SUPG::drawScalar(), oofem::IntElPoint::drawScalar(), oofem::LIBeam3d2::drawScalar(), oofem::Quad10_2D_SUPG::drawScalar(), oofem::NURBSPlaneStressElement::drawScalar(), oofem::TR1_2D_PFEM::drawScalar(), oofem::CCTPlate::drawScalar(), oofem::QDKTPlate::drawScalar(), oofem::TR1_2D_CBS::drawScalar(), oofem::TR1_2D_SUPG2::drawScalar(), oofem::DKTPlate::drawScalar(), oofem::TSplinePlaneStressElement::drawScalar(), oofem::TR1_2D_SUPG::drawScalar(), oofem::NURBSSpace3dElement::drawScalar(), oofem::TrPlaneStress2d::drawSpecial(), oofem::LTRSpace::drawSpecial(), oofem::PlaneStress2d::drawSpecial(), oofem::Quad1PlaneStrain::drawSpecial(), oofem::LSpace::drawSpecial(), and oofem::Lattice2d::drawSpecial().

void oofem::oofegGraphicContext::updateFringeTableMinMax ( double *  s,
int  size 
)

Member Data Documentation

EPixel oofem::oofegGraphicContext::activeCrackColor
staticprotected

Definition at line 146 of file oofeggraphiccontext.h.

Referenced by init().

int oofem::oofegGraphicContext::activeDomain = 0
staticprotected

Definition at line 177 of file oofeggraphiccontext.h.

Referenced by init().

int oofem::oofegGraphicContext::activeEigVal = 1
staticprotected

Definition at line 155 of file oofeggraphiccontext.h.

int oofem::oofegGraphicContext::activeProblem = 0
staticprotected

Definition at line 176 of file oofeggraphiccontext.h.

Referenced by getActiveProblem(), and setActiveProblem().

int oofem::oofegGraphicContext::activeStep = -1
staticprotected

Definition at line 152 of file oofeggraphiccontext.h.

int oofem::oofegGraphicContext::activeStepVersion = 0
staticprotected

Definition at line 152 of file oofeggraphiccontext.h.

int oofem::oofegGraphicContext::activeYieldStep
staticprotected

Definition at line 156 of file oofeggraphiccontext.h.

EPixel oofem::oofegGraphicContext::bcForceColor
staticprotected

Definition at line 143 of file oofeggraphiccontext.h.

Referenced by init().

EPixel oofem::oofegGraphicContext::bcicColor
staticprotected

Definition at line 142 of file oofeggraphiccontext.h.

Referenced by init().

int oofem::oofegGraphicContext::component
protected

Definition at line 195 of file oofeggraphiccontext.h.

EPixel oofem::oofegGraphicContext::crackPatternColor
staticprotected

Definition at line 145 of file oofeggraphiccontext.h.

Referenced by init().

EPixel oofem::oofegGraphicContext::crossSectionColor
staticprotected

Definition at line 150 of file oofeggraphiccontext.h.

Referenced by init().

EPixel oofem::oofegGraphicContext::deformedElementColor
staticprotected

Definition at line 144 of file oofeggraphiccontext.h.

Referenced by init().

double oofem::oofegGraphicContext::defScale = 1.0
staticprotected

Definition at line 153 of file oofeggraphiccontext.h.

EPixel oofem::oofegGraphicContext::edgeColor
staticprotected

Definition at line 138 of file oofeggraphiccontext.h.

Referenced by init().

std::list< Range > oofem::oofegGraphicContext::element_filter
staticprotected

Definition at line 162 of file oofeggraphiccontext.h.

Referenced by setElementFilterState(), and testElementGraphicActivity().

double oofem::oofegGraphicContext::emax
staticprotected

Definition at line 181 of file oofeggraphiccontext.h.

double oofem::oofegGraphicContext::emin
staticprotected

Definition at line 181 of file oofeggraphiccontext.h.

EngngModel * oofem::oofegGraphicContext::emodel = NULL
staticprotected

Definition at line 133 of file oofeggraphiccontext.h.

Referenced by getActiveProblem(), init(), and setActiveProblem().

EPixel oofem::oofegGraphicContext::extendedSparseProfileColor
staticprotected

Definition at line 148 of file oofeggraphiccontext.h.

Referenced by init().

EFringeTable oofem::oofegGraphicContext::ft
staticprotected

Definition at line 134 of file oofeggraphiccontext.h.

Referenced by init().

EPixel oofem::oofegGraphicContext::geometryColor
staticprotected

Definition at line 149 of file oofeggraphiccontext.h.

Referenced by init().

int oofem::oofegGraphicContext::intVarDefGeoFlag = 0
staticprotected

Definition at line 170 of file oofeggraphiccontext.h.

bool oofem::oofegGraphicContext::isActiveFlag
protected

Definition at line 199 of file oofeggraphiccontext.h.

Referenced by oofegGraphicContext().

IntArray oofem::oofegGraphicContext::matRegFilter
staticprotected
EPixel oofem::oofegGraphicContext::meshFillColor
staticprotected

Definition at line 136 of file oofeggraphiccontext.h.

Referenced by init().

EPixel oofem::oofegGraphicContext::nodeColor
staticprotected

Definition at line 141 of file oofeggraphiccontext.h.

Referenced by init().

OGC_PlotModeType oofem::oofegGraphicContext::plotMode
protected

Definition at line 197 of file oofeggraphiccontext.h.

Referenced by oofegGraphicContext().

EPixel oofem::oofegGraphicContext::remoteEdgeColor
staticprotected

Definition at line 139 of file oofeggraphiccontext.h.

EPixel oofem::oofegGraphicContext::remoteMeshFillColor
staticprotected

Definition at line 137 of file oofeggraphiccontext.h.

Referenced by init().

ScalarAlgorithmType oofem::oofegGraphicContext::scalarAlgo = SA_ISO_SURF
staticprotected

Definition at line 164 of file oofeggraphiccontext.h.

int oofem::oofegGraphicContext::scaleInitFlag
staticprotected

Definition at line 182 of file oofeggraphiccontext.h.

Referenced by updateFringeTableMinMax().

ScaleMode oofem::oofegGraphicContext::smode
staticprotected

Definition at line 180 of file oofeggraphiccontext.h.

SmootherType oofem::oofegGraphicContext::smootherType
staticprotected

Definition at line 166 of file oofeggraphiccontext.h.

int oofem::oofegGraphicContext::sparseProfileMode
staticprotected

Definition at line 173 of file oofeggraphiccontext.h.

EPixel oofem::oofegGraphicContext::standardSparseProfileColor
staticprotected

Definition at line 148 of file oofeggraphiccontext.h.

Referenced by init().

bool oofem::oofegGraphicContext::staticVarsInitFlag = 0
staticprotected

Definition at line 184 of file oofeggraphiccontext.h.

Referenced by init().

InternalStateMode oofem::oofegGraphicContext::varMode = ISM_recovered
staticprotected

Definition at line 187 of file oofeggraphiccontext.h.

InternalStateType oofem::oofegGraphicContext::varType
protected

Definition at line 193 of file oofeggraphiccontext.h.

EPixel oofem::oofegGraphicContext::yieldPlotColors
staticprotected

Definition at line 147 of file oofeggraphiccontext.h.

Referenced by init().

double oofem::oofegGraphicContext::zprofilescale = 0.0
staticprotected

Definition at line 154 of file oofeggraphiccontext.h.


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:39 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011