mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024819: TKOpenGl - extend the ray-tracing core by visualization of lines, text and point sprites
OpenGl_GraphicDriver::Redraw() - do not recompute structures more than required OpenGl_Workspace::Raytrace() - bind proper FBO before clearing it Visual3d_View::Redraw() - perform automatic 2nd redraw on device lost
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <BVH_Triangulation.hxx>
|
||||
#include <NCollection_StdAllocator.hxx>
|
||||
|
||||
class OpenGl_Element;
|
||||
struct OpenGl_ElementNode;
|
||||
class OpenGl_Group;
|
||||
class OpenGl_Structure;
|
||||
@@ -33,6 +34,9 @@ namespace OpenGl_Raytrace
|
||||
//! Checks to see if the element contains ray-trace geometry.
|
||||
Standard_Boolean IsRaytracedElement (const OpenGl_ElementNode* theNode);
|
||||
|
||||
//! Checks to see if the element contains ray-trace geometry.
|
||||
Standard_Boolean IsRaytracedElement (const OpenGl_Element* theElement);
|
||||
|
||||
//! Checks to see if the structure contains ray-trace geometry.
|
||||
Standard_Boolean IsRaytracedStructure (const OpenGl_Structure* theStructure);
|
||||
}
|
||||
|
Reference in New Issue
Block a user