339 if ( !
gc.testElementGraphicActivity(
this) ) {
343 EASValsSetColor(
gc.getElementColor() );
346 EASValsSetColor(
gc.getDeformedElementColor() );
347 p [ 0 ].x = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(1) );
348 p [ 0 ].y = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(2) );
349 p [ 0 ].z = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(3) );
351 EASValsSetMType(CIRCLE_MARKER);
352 go = CreateMarker3D(p);
353 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
354 EMAddGraphicsToModel(ESIModel(), go);
363 if ( !
gc.testElementGraphicActivity(
this) ) {
367 double defScale =
gc.getDefScale();
370 EASValsSetColor(
gc.getDeformedElementColor() );
372 p [ 0 ].x = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(1, tStep, defScale) +
373 this->
giveNode(2)->giveUpdatedCoordinate(1, tStep, defScale) );
374 p [ 0 ].y = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(2, tStep, defScale) +
375 this->
giveNode(2)->giveUpdatedCoordinate(2, tStep, defScale) );
376 p [ 0 ].z = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(3, tStep, defScale) +
377 this->
giveNode(2)->giveUpdatedCoordinate(3, tStep, defScale) );
379 EASValsSetMType(CIRCLE_MARKER);
380 go = CreateMarker3D(p);
381 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
382 EMAddGraphicsToModel(ESIModel(), go);
388 int indx, result = 0;
395 if ( !
gc.testElementGraphicActivity(
this) ) {
399 if (
gc.getInternalVarsDefGeoFlag() ) {
400 double defScale =
gc.getDefScale();
401 p [ 0 ].x = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(1, tStep, defScale) +
402 this->
giveNode(2)->giveUpdatedCoordinate(1, tStep, defScale) );
403 p [ 0 ].y = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(2, tStep, defScale) +
404 this->
giveNode(2)->giveUpdatedCoordinate(2, tStep, defScale) );
405 p [ 0 ].z = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(3, tStep, defScale) +
406 this->
giveNode(2)->giveUpdatedCoordinate(3, tStep, defScale) );
408 p [ 0 ].x = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(1) );
409 p [ 0 ].y = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(2) );
410 p [ 0 ].z = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(3) );
416 for (
auto &gp: *iRule ) {
423 indx =
gc.giveIntVarIndx();
425 val [ 0 ] = v1.
at(indx);
426 gc.updateFringeTableMinMax(val, 1);
429 EASValsSetMType(FILLED_CIRCLE_MARKER);
430 go = CreateMarkerWD3D(p, val [ 0 ]);
431 EGWithMaskChangeAttributes(LAYER_MASK | FILL_MASK | MTYPE_MASK, go);
432 EMAddGraphicsToModel(ESIModel(), go);
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
#define OOFEG_VARPLOT_PATTERN_LAYER
#define OOFEG_DEFORMED_GEOMETRY_LAYER
#define OOFEG_DEFORMED_GEOMETRY_WIDTH
#define OOFEG_RAW_GEOMETRY_LAYER