X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FGraphic3d%2FGraphic3d_CGraduatedTrihedron.hxx;h=cea72b447b3aaafa83a255b6f5ce850a0d6b4fbb;hp=81e5e5eddb7ef6c71ee5105ad91608e4c585330c;hb=fd03ee4b3b0f3333754bb2f45ea239eaf7bad1f9;hpb=504a8968665ca77eff2691a5e1707dec19d6699c diff --git a/src/Graphic3d/Graphic3d_CGraduatedTrihedron.hxx b/src/Graphic3d/Graphic3d_CGraduatedTrihedron.hxx index 81e5e5eddb..cea72b447b 100644 --- a/src/Graphic3d/Graphic3d_CGraduatedTrihedron.hxx +++ b/src/Graphic3d/Graphic3d_CGraduatedTrihedron.hxx @@ -24,10 +24,13 @@ #include #include -typedef void (*minMaxValuesCallback)(void*); +class Visual3d_View; + class Graphic3d_CGraduatedTrihedron { - public: +public: + typedef void (*minMaxValuesCallback)(Visual3d_View*); +public: /* Default constructor. Nullifies the view pointer */ Graphic3d_CGraduatedTrihedron () : xdrawname ( Standard_False ), ydrawname ( Standard_False ), @@ -95,7 +98,7 @@ class Graphic3d_CGraduatedTrihedron /* Callback function to define boundary box of displayed objects */ minMaxValuesCallback cbCubicAxes; - void* ptrVisual3dView; + Visual3d_View* ptrVisual3dView; }; const Handle(Standard_Type)& TYPE(Graphic3d_CGraduatedTrihedron);