376 if ( !
gc.testElementGraphicActivity(
this) ) {
380 EASValsSetColor(
gc.getElementColor() );
383 EASValsSetColor(
gc.getDeformedElementColor() );
384 p [ 0 ].x = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(1) );
385 p [ 0 ].y = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(2) );
386 p [ 0 ].z = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(3) );
388 EASValsSetMType(CIRCLE_MARKER);
389 go = CreateMarker3D(p);
390 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
391 EMAddGraphicsToModel(ESIModel(), go);
400 if ( !
gc.testElementGraphicActivity(
this) ) {
404 double defScale =
gc.getDefScale();
407 EASValsSetColor(
gc.getDeformedElementColor() );
409 p [ 0 ].x = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(1, tStep, defScale) +
410 this->
giveNode(2)->giveUpdatedCoordinate(1, tStep, defScale) );
411 p [ 0 ].y = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(2, tStep, defScale) +
412 this->
giveNode(2)->giveUpdatedCoordinate(2, tStep, defScale) );
413 p [ 0 ].z = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(3, tStep, defScale) +
414 this->
giveNode(2)->giveUpdatedCoordinate(3, tStep, defScale) );
416 EASValsSetMType(CIRCLE_MARKER);
417 go = CreateMarker3D(p);
418 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
419 EMAddGraphicsToModel(ESIModel(), go);
425 int indx, result = 0;
431 if ( !
gc.testElementGraphicActivity(
this) ) {
435 if (
gc.getInternalVarsDefGeoFlag() ) {
436 double defScale =
gc.getDefScale();
437 p [ 0 ].x = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(1, tStep, defScale) +
438 this->
giveNode(2)->giveUpdatedCoordinate(1, tStep, defScale) );
439 p [ 0 ].y = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(2, tStep, defScale) +
440 this->
giveNode(2)->giveUpdatedCoordinate(2, tStep, defScale) );
441 p [ 0 ].z = ( FPNum ) 0.5 * ( this->
giveNode(1)->giveUpdatedCoordinate(3, tStep, defScale) +
442 this->
giveNode(2)->giveUpdatedCoordinate(3, tStep, defScale) );
444 p [ 0 ].x = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(1) );
445 p [ 0 ].y = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(2) );
446 p [ 0 ].z = ( FPNum ) ( this->
giveNode(1)->giveCoordinate(3) );
460 indx =
gc.giveIntVarIndx();
462 val [ 0 ] = v1.
at(indx);
463 gc.updateFringeTableMinMax(val, 1);
466 EASValsSetMType(FILLED_CIRCLE_MARKER);
467 go = CreateMarkerWD3D(p, val [ 0 ]);
468 EGWithMaskChangeAttributes(LAYER_MASK | FILL_MASK | MTYPE_MASK, go);
469 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