g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::sg::c3d2plot_cp Class Reference
Inheritance diagram for tools::sg::c3d2plot_cp:
Inheritance graph
[legend]
Collaboration diagram for tools::sg::c3d2plot_cp:
Collaboration graph
[legend]

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
virtual plottablecopy () const
 
 c3d2plot_cp (const histo::c3d &a_data)
 
virtual ~c3d2plot_cp ()
 
 c3d2plot_cp (const c3d2plot_cp &a_from)
 
c3d2plot_cpoperator= (const c3d2plot_cp &a_from)
 
- Public Member Functions inherited from tools::sg::c3d2plot
virtual bool is_valid () const
 
virtual const std::string & name () const
 
virtual void set_name (const std::string &a_s)
 
virtual const std::string & title () const
 
virtual const std::string & legend () const
 
virtual void set_legend (const std::string &a_s)
 
virtual void infos (const std::string &a_opts, std::string &a_sinfos) const
 
virtual float x_axis_min () const
 
virtual float x_axis_max () const
 
virtual float y_axis_min () const
 
virtual float y_axis_max () const
 
virtual float z_axis_min () const
 
virtual float z_axis_max () const
 
virtual unsigned int points () const
 
virtual bool ith_point (unsigned int a_index, float &a_x, float &a_y, float &a_z) const
 
 c3d2plot (const histo::c3d &a_data)
 
virtual ~c3d2plot ()
 
 c3d2plot (const c3d2plot &a_from)
 
c3d2plotoperator= (const c3d2plot &a_from)
 
- Public Member Functions inherited from tools::sg::points3D
virtual ~points3D ()
 
- Public Member Functions inherited from tools::sg::plottable
virtual ~plottable ()
 

Protected Attributes

histo::c3d m_cp
 
- Protected Attributes inherited from tools::sg::c3d2plot
const histo::c3dm_data
 
std::string m_name
 
std::string m_legend
 

Detailed Description

Definition at line 54 of file cloud2plot_cp.

Constructor & Destructor Documentation

◆ c3d2plot_cp() [1/2]

tools::sg::c3d2plot_cp::c3d2plot_cp ( const histo::c3d a_data)
inline

Definition at line 65 of file cloud2plot_cp.

66  :c3d2plot(m_cp)
67  ,m_cp(a_data)
68  {
69 #ifdef TOOLS_MEM
70  mem::increment(s_class().c_str());
71 #endif
72  }

◆ ~c3d2plot_cp()

virtual tools::sg::c3d2plot_cp::~c3d2plot_cp ( )
inlinevirtual

Definition at line 73 of file cloud2plot_cp.

73  {
74 #ifdef TOOLS_MEM
75  mem::decrement(s_class().c_str());
76 #endif
77  }

◆ c3d2plot_cp() [2/2]

tools::sg::c3d2plot_cp::c3d2plot_cp ( const c3d2plot_cp a_from)
inline

Definition at line 79 of file cloud2plot_cp.

80  :plottable(a_from),points3D(a_from),c3d2plot(m_cp)
81  ,m_cp(a_from.m_cp)
82  {
83 #ifdef TOOLS_MEM
84  mem::increment(s_class().c_str());
85 #endif
86  }

Member Function Documentation

◆ cast()

virtual void* tools::sg::c3d2plot_cp::cast ( const std::string &  a_class) const
inlinevirtual

Reimplemented from tools::sg::points3D.

Definition at line 58 of file cloud2plot_cp.

58  {
59  if(void* p = cmp_cast<c3d2plot_cp>(this,a_class)) {return p;}
60  return c3d2plot::cast(a_class);
61  }

◆ copy()

virtual plottable* tools::sg::c3d2plot_cp::copy ( ) const
inlinevirtual

Reimplemented from tools::sg::c3d2plot.

Definition at line 63 of file cloud2plot_cp.

63 {return new c3d2plot_cp(*this);}

◆ operator=()

c3d2plot_cp& tools::sg::c3d2plot_cp::operator= ( const c3d2plot_cp a_from)
inline

Definition at line 87 of file cloud2plot_cp.

87  {
88  c3d2plot::operator=(a_from);
89  m_cp = a_from.m_cp;
90  return *this;
91  }

Member Data Documentation

◆ m_cp

histo::c3d tools::sg::c3d2plot_cp::m_cp
protected

Definition at line 93 of file cloud2plot_cp.


The documentation for this class was generated from the following file:
tools::sg::c3d2plot::operator=
c3d2plot & operator=(const c3d2plot &a_from)
Definition: cloud2plot:222
tools::sg::c3d2plot_cp::c3d2plot_cp
c3d2plot_cp(const histo::c3d &a_data)
Definition: cloud2plot_cp:65
tools::sg::c3d2plot_cp::m_cp
histo::c3d m_cp
Definition: cloud2plot_cp:93
tools::sg::points3D::cast
virtual void * cast(const std::string &a_class) const
Definition: plottables:144
tools::sg::c3d2plot::c3d2plot
c3d2plot(const histo::c3d &a_data)
Definition: cloud2plot:198