Geant4-11
Public Member Functions | Protected Attributes
plots_cbk Class Reference
Inheritance diagram for plots_cbk:

Public Member Functions

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

Protected Attributes

tools::sg::plots & m_plots
 

Detailed Description

Definition at line 740 of file G4ToolsSGSceneHandler.cc.

Constructor & Destructor Documentation

◆ plots_cbk() [1/2]

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

Definition at line 752 of file G4ToolsSGSceneHandler.cc.

753 :parent()
754 ,m_plots(a_plots)
755 {}
tools::sg::plots & m_plots

◆ ~plots_cbk()

virtual plots_cbk::~plots_cbk ( )
inlinevirtual

Definition at line 756 of file G4ToolsSGSceneHandler.cc.

756{}

◆ plots_cbk() [2/2]

plots_cbk::plots_cbk ( const plots_cbk a_from)
inline

Definition at line 758 of file G4ToolsSGSceneHandler.cc.

759 :parent(a_from)
760 ,m_plots(a_from.m_plots)
761 {}

Member Function Documentation

◆ action()

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

Definition at line 743 of file G4ToolsSGSceneHandler.cc.

743 {
744 if(const tools::sg::size_event* sz_evt = tools::sg::event_cast<tools::sg::event,tools::sg::size_event>(*m_event)){
745 m_plots.adjust_size(sz_evt->width(),sz_evt->height());
746 m_event_action->set_done(true);
747 return tools::sg::return_to_render;
748 }
749 return tools::sg::return_none;
750 }

References m_plots.

◆ operator=()

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

Definition at line 762 of file G4ToolsSGSceneHandler.cc.

762 {
763 parent::operator=(a_from);
764 return *this;
765 }

Field Documentation

◆ m_plots

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

Definition at line 767 of file G4ToolsSGSceneHandler.cc.

Referenced by action().


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