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

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
virtual plotprimcopy () const
 
 plottable_img (const img< byte > &a_img, float a_X, float a_Y, float a_WIDTH, float a_HEIGHT, float a_THETA, float a_PHI)
 
 plottable_img (const plottable_img &a_from)
 
plottable_imgoperator= (const plottable_img &a_from)
 
- Public Member Functions inherited from tools::sg::plotprim
virtual ~plotprim ()
 

Public Attributes

img< bytem_img
 
float m_X
 
float m_Y
 
float m_WIDTH
 
float m_HEIGHT
 
float m_THETA
 
float m_PHI
 

Detailed Description

Definition at line 393 of file plottables.

Constructor & Destructor Documentation

◆ plottable_img() [1/2]

tools::sg::plottable_img::plottable_img ( const img< byte > &  a_img,
float  a_X,
float  a_Y,
float  a_WIDTH,
float  a_HEIGHT,
float  a_THETA,
float  a_PHI 
)
inline

Definition at line 404 of file plottables.

405  :m_img(a_img)
406  ,m_X(a_X),m_Y(a_Y)
407  ,m_WIDTH(a_WIDTH),m_HEIGHT(a_HEIGHT),m_THETA(a_THETA),m_PHI(a_PHI)
408  {}

◆ plottable_img() [2/2]

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

Definition at line 410 of file plottables.

411  :parent(a_from)
412  ,m_img(a_from.m_img)
413  ,m_X(a_from.m_X),m_Y(a_from.m_Y)
414  ,m_WIDTH(a_from.m_WIDTH),m_HEIGHT(a_from.m_HEIGHT),m_THETA(a_from.m_THETA),m_PHI(a_from.m_PHI)
415  {}

Member Function Documentation

◆ cast()

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

Implements tools::sg::plotprim.

Definition at line 398 of file plottables.

398  {
399  if(void* p = cmp_cast<plottable_img>(this,a_class)) {return p;}
400  return 0;
401  }

◆ copy()

virtual plotprim* tools::sg::plottable_img::copy ( ) const
inlinevirtual

Implements tools::sg::plotprim.

Definition at line 402 of file plottables.

402 {return new plottable_img(*this);}

◆ operator=()

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

Definition at line 416 of file plottables.

416  {
417  m_img = a_from.m_img;
418  m_X = a_from.m_X;
419  m_Y = a_from.m_Y;
420  m_WIDTH = a_from.m_WIDTH;
421  m_HEIGHT = a_from.m_HEIGHT;
422  m_THETA = a_from.m_THETA;
423  m_PHI = a_from.m_PHI;
424  return *this;
425  }

Member Data Documentation

◆ m_HEIGHT

float tools::sg::plottable_img::m_HEIGHT

Definition at line 431 of file plottables.

◆ m_img

img<byte> tools::sg::plottable_img::m_img

Definition at line 427 of file plottables.

◆ m_PHI

float tools::sg::plottable_img::m_PHI

Definition at line 433 of file plottables.

◆ m_THETA

float tools::sg::plottable_img::m_THETA

Definition at line 432 of file plottables.

◆ m_WIDTH

float tools::sg::plottable_img::m_WIDTH

Definition at line 430 of file plottables.

◆ m_X

float tools::sg::plottable_img::m_X

Definition at line 428 of file plottables.

◆ m_Y

float tools::sg::plottable_img::m_Y

Definition at line 429 of file plottables.


The documentation for this class was generated from the following file:
tools::sg::plottable_img::m_WIDTH
float m_WIDTH
Definition: plottables:430
tools::sg::plottable_img::m_PHI
float m_PHI
Definition: plottables:433
tools::sg::plottable_img::m_X
float m_X
Definition: plottables:428
tools::sg::plottable_img::m_Y
float m_Y
Definition: plottables:429
tools::sg::plottable_img::m_THETA
float m_THETA
Definition: plottables:432
tools::sg::plottable_img::plottable_img
plottable_img(const img< byte > &a_img, float a_X, float a_Y, float a_WIDTH, float a_HEIGHT, float a_THETA, float a_PHI)
Definition: plottables:404
tools::sg::plottable_img::m_img
img< byte > m_img
Definition: plottables:427
tools::sg::plottable_img::m_HEIGHT
float m_HEIGHT
Definition: plottables:431