Geant4 11.2.2
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 774 of file G4ToolsSGSceneHandler.cc.

Constructor & Destructor Documentation

◆ plots_cbk() [1/2]

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

Definition at line 786 of file G4ToolsSGSceneHandler.cc.

787 :parent()
788 ,m_plots(a_plots)
789 {}
tools::sg::plots & m_plots

◆ ~plots_cbk()

virtual plots_cbk::~plots_cbk ( )
inlinevirtual

Definition at line 790 of file G4ToolsSGSceneHandler.cc.

790{}

◆ plots_cbk() [2/2]

plots_cbk::plots_cbk ( const plots_cbk & a_from)
inline

Definition at line 792 of file G4ToolsSGSceneHandler.cc.

793 :parent(a_from)
794 ,m_plots(a_from.m_plots)
795 {}

Member Function Documentation

◆ action()

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

Definition at line 777 of file G4ToolsSGSceneHandler.cc.

777 {
778 if(const tools::sg::size_event* sz_evt = tools::sg::event_cast<tools::sg::event,tools::sg::size_event>(*m_event)){
779 m_plots.adjust_size(sz_evt->width(),sz_evt->height());
780 m_event_action->set_done(true);
781 return tools::sg::return_to_render;
782 }
783 return tools::sg::return_none;
784 }

◆ operator=()

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

Definition at line 796 of file G4ToolsSGSceneHandler.cc.

796 {
797 parent::operator=(a_from);
798 return *this;
799 }

Member Data Documentation

◆ m_plots

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

Definition at line 801 of file G4ToolsSGSceneHandler.cc.

Referenced by action().


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