g4tools  5.4.0
Public Member Functions | List of all members
tools::sg::func2D Class Referenceabstract
Inheritance diagram for tools::sg::func2D:
Inheritance graph
[legend]
Collaboration diagram for tools::sg::func2D:
Collaboration graph
[legend]

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
virtual ~func2D ()
 
virtual bool value (float, float, float &) const =0
 
virtual unsigned int x_steps () const =0
 
virtual float x_min () const =0
 
virtual float x_max () const =0
 
virtual unsigned int y_steps () const =0
 
virtual float y_min () const =0
 
virtual float y_max () const =0
 
- Public Member Functions inherited from tools::sg::plottable
virtual ~plottable ()
 
virtual plottablecopy () const =0
 
virtual bool is_valid () const =0
 
virtual void infos (const std::string &, std::string &) const =0
 
virtual const std::string & name () const =0
 
virtual void set_name (const std::string &)=0
 
virtual const std::string & title () const =0
 
virtual const std::string & legend () const =0
 
virtual void set_legend (const std::string &)=0
 

Detailed Description

Definition at line 93 of file plottables.

Constructor & Destructor Documentation

◆ ~func2D()

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

Definition at line 102 of file plottables.

102 {}

Member Function Documentation

◆ cast()

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

Reimplemented from tools::sg::plottable.

Reimplemented in tools::sg::f2d2plot_cp< T >, and tools::sg::f2d2plot< T >.

Definition at line 97 of file plottables.

97  {
98  if(void* p = cmp_cast<func2D>(this,a_class)) {return p;}
99  return plottable::cast(a_class);
100  }

◆ value()

virtual bool tools::sg::func2D::value ( float  ,
float  ,
float &   
) const
pure virtual

Implemented in tools::sg::f2d2plot< T >.

◆ x_max()

virtual float tools::sg::func2D::x_max ( ) const
pure virtual

Implemented in tools::sg::f2d2plot< T >.

◆ x_min()

virtual float tools::sg::func2D::x_min ( ) const
pure virtual

Implemented in tools::sg::f2d2plot< T >.

◆ x_steps()

virtual unsigned int tools::sg::func2D::x_steps ( ) const
pure virtual

Implemented in tools::sg::f2d2plot< T >.

◆ y_max()

virtual float tools::sg::func2D::y_max ( ) const
pure virtual

Implemented in tools::sg::f2d2plot< T >.

◆ y_min()

virtual float tools::sg::func2D::y_min ( ) const
pure virtual

Implemented in tools::sg::f2d2plot< T >.

◆ y_steps()

virtual unsigned int tools::sg::func2D::y_steps ( ) const
pure virtual

Implemented in tools::sg::f2d2plot< T >.


The documentation for this class was generated from the following file:
tools::sg::plottable::cast
virtual void * cast(const std::string &a_class) const
Definition: plottable:19