SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
mesh::RefineHookGuard Class Reference

Installs hook as the active refinement hook for the current thread. More...

#include <trirefinehook.h>

Collaboration diagram for mesh::RefineHookGuard:

Public Member Functions

 RefineHookGuard (const RefineHook *hook) noexcept
 
 ~RefineHookGuard ()
 
 RefineHookGuard (const RefineHookGuard &)=delete
 
RefineHookGuardoperator= (const RefineHookGuard &)=delete
 

Detailed Description

Installs hook as the active refinement hook for the current thread.

Scope the guard around the triangulate() call. Nesting is supported: the previous hook is restored on destruction. Passing nullptr disables the hook for the guarded scope.

Constructor & Destructor Documentation

◆ RefineHookGuard() [1/2]

mesh::RefineHookGuard::RefineHookGuard ( const RefineHook hook)
explicitnoexcept

◆ ~RefineHookGuard()

mesh::RefineHookGuard::~RefineHookGuard ( )

◆ RefineHookGuard() [2/2]

mesh::RefineHookGuard::RefineHookGuard ( const RefineHookGuard )
delete

Member Function Documentation

◆ operator=()

RefineHookGuard & mesh::RefineHookGuard::operator= ( const RefineHookGuard )
delete

The documentation for this class was generated from the following files: