MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / displayModel

Method displayModel

SRC/tcl/TclFeViewer.cpp:506–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504}
505
506int
507TclFeViewer::displayModel(int eleFlag, int nodeFlag, float displayFact, int lineWidth)
508{
509#ifdef _NOGRAPHICS
510 // if no graphics .. just return 0
511 return 0;
512#else
513 // methods invoked on the FE_Viewer
514 theEleMode = eleFlag;
515 theNodeMode = nodeFlag;
516 theDisplayFact = displayFact;
517 theRenderer->setLineWidth(lineWidth);
518 return this->record(0, 0.0);
519#endif
520}
521
522int
523TclFeViewer::clearImage(void)

Callers 2

mainFunction · 0.80
TclFeViewer_displayModelFunction · 0.80

Calls 2

recordMethod · 0.95
setLineWidthMethod · 0.80

Tested by

no test coverage detected