12 #ifndef GLVIS_VSVECTOR_HPP
13 #define GLVIS_VSVECTOR_HPP
33 virtual void GetRefinedValues(
int i,
const IntegrationRule &ir,
34 Vector &vals, DenseMatrix &tr);
35 virtual int GetRefinedValuesAndNormals(
int i,
const IntegrationRule &ir,
36 Vector &vals, DenseMatrix &tr,
37 DenseMatrix &normals);
39 double (*Vec2Scalar)(double, double);
41 void DrawVector(
double,
double,
double,
double,
double);
46 IsoparametricTransformation
T0;
52 void NewMeshAndSolution(GridFunction &vgf);
56 virtual std::string GetHelpString()
const;
59 void PrepareDisplacedMesh();
63 virtual void ToggleDrawElems();
65 virtual void PrepareVectorField();
66 void ToggleVectorField();
70 drawdisp = (drawdisp+1)%4;
73 PrepareDisplacedMesh();
79 virtual void glTF_Export();
88 void CycleVec2Scalar(
int print = 0);
gl3::GlDrawable displine_buf
IsoparametricTransformation T0
virtual void PrepareLines()
virtual void PrepareLines()
void ToggleDisplacements()
gl3::GlDrawable vector_buf
virtual void EventUpdateColors()