Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
plots_cbk Class Reference
Inheritance diagram for plots_cbk:

Public Member Functions

virtual tools::sg::return_action action ()
 plots_cbk (tools::sg::plots &a_plots)
virtual ~plots_cbk ()
 plots_cbk (const plots_cbk &a_from)
plots_cbkoperator= (const plots_cbk &a_from)

Protected Attributes

tools::sg::plots & m_plots

Detailed Description

Definition at line 778 of file G4ToolsSGSceneHandler.cc.

Constructor & Destructor Documentation

◆ plots_cbk() [1/2]

plots_cbk::plots_cbk ( tools::sg::plots & a_plots)
inline

Definition at line 791 of file G4ToolsSGSceneHandler.cc.

792 :parent()
793 ,m_plots(a_plots)
794 {}
tools::sg::plots & m_plots

Referenced by operator=(), and plots_cbk().

◆ ~plots_cbk()

virtual plots_cbk::~plots_cbk ( )
inlinevirtual

Definition at line 795 of file G4ToolsSGSceneHandler.cc.

795{}

◆ plots_cbk() [2/2]

plots_cbk::plots_cbk ( const plots_cbk & a_from)
inline

Definition at line 797 of file G4ToolsSGSceneHandler.cc.

798 :parent(a_from)
799 ,m_plots(a_from.m_plots)
800 {}

Member Function Documentation

◆ action()

virtual tools::sg::return_action plots_cbk::action ( )
inlinevirtual

Definition at line 781 of file G4ToolsSGSceneHandler.cc.

781 {
782 if(!m_event) return tools::sg::return_none;
783 if(const tools::sg::size_event* sz_evt = tools::sg::event_cast<tools::sg::event,tools::sg::size_event>(*m_event)){
784 m_plots.adjust_size(sz_evt->width(),sz_evt->height());
785 m_event_action->set_done(true);
786 return tools::sg::return_to_render;
787 }
788 return tools::sg::return_none;
789 }

◆ operator=()

plots_cbk & plots_cbk::operator= ( const plots_cbk & a_from)
inline

Definition at line 801 of file G4ToolsSGSceneHandler.cc.

801 {
802 parent::operator=(a_from);
803 return *this;
804 }

Member Data Documentation

◆ m_plots

tools::sg::plots& plots_cbk::m_plots
protected

Definition at line 806 of file G4ToolsSGSceneHandler.cc.

Referenced by action(), plots_cbk(), and plots_cbk().


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