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

Public Types

enum  fill_area_style { HOLLOW = 0, SOLID = 1, PATTERN = 2, HATCHED = 3 }
 

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
virtual plotprimcopy () const
 
 plottable_ellipse (float a_X, float a_Y, float a_R1, float a_R2, fill_area_style a_FAIS, const colorf &a_FACI, int a_FASI, bool a_BORD, const colorf &a_PLCI, float a_LWID)
 
 plottable_ellipse (const plottable_ellipse &a_from)
 
plottable_ellipseoperator= (const plottable_ellipse &a_from)
 
- Public Member Functions inherited from tools::sg::plotprim
virtual ~plotprim ()
 

Public Attributes

float m_X
 
float m_Y
 
float m_R1
 
float m_R2
 
fill_area_style m_FAIS
 
colorf m_FACI
 
int m_FASI
 
bool m_BORD
 
colorf m_PLCI
 
float m_LWID
 

Detailed Description

Definition at line 326 of file plottables.

Member Enumeration Documentation

◆ fill_area_style

Enumerator
HOLLOW 
SOLID 
PATTERN 
HATCHED 

Definition at line 337 of file plottables.

337  {
338  HOLLOW = 0,
339  SOLID = 1,
340  PATTERN = 2,
341  HATCHED = 3
342  };

Constructor & Destructor Documentation

◆ plottable_ellipse() [1/2]

tools::sg::plottable_ellipse::plottable_ellipse ( float  a_X,
float  a_Y,
float  a_R1,
float  a_R2,
fill_area_style  a_FAIS,
const colorf a_FACI,
int  a_FASI,
bool  a_BORD,
const colorf a_PLCI,
float  a_LWID 
)
inline

Definition at line 344 of file plottables.

348  :m_X(a_X),m_Y(a_Y),m_R1(a_R1),m_R2(a_R2)
349  ,m_FAIS(a_FAIS),m_FACI(a_FACI),m_FASI(a_FASI),m_BORD(a_BORD),m_PLCI(a_PLCI),m_LWID(a_LWID)
350  {}

◆ plottable_ellipse() [2/2]

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

Definition at line 352 of file plottables.

353  :parent(a_from)
354  ,m_X(a_from.m_X),m_Y(a_from.m_Y)
355  ,m_R1(a_from.m_R1),m_R2(a_from.m_R2)
356  ,m_FAIS(a_from.m_FAIS),m_FACI(a_from.m_FACI),m_FASI(a_from.m_FASI),m_BORD(a_from.m_BORD),m_PLCI(a_from.m_PLCI)
357  ,m_LWID(a_from.m_LWID)
358  {}

Member Function Documentation

◆ cast()

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

Implements tools::sg::plotprim.

Definition at line 331 of file plottables.

331  {
332  if(void* p = cmp_cast<plottable_ellipse>(this,a_class)) {return p;}
333  return 0;
334  }

◆ copy()

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

Implements tools::sg::plotprim.

Definition at line 335 of file plottables.

335 {return new plottable_ellipse(*this);}

◆ operator=()

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

Definition at line 359 of file plottables.

359  {
360  m_X = a_from.m_X;
361  m_Y = a_from.m_Y;
362  m_R1 = a_from.m_R1;
363  m_R2 = a_from.m_R2;
364  m_FAIS = a_from.m_FAIS;
365  m_FACI = a_from.m_FACI;
366  m_FASI = a_from.m_FASI;
367  m_BORD = a_from.m_BORD;
368  m_PLCI = a_from.m_PLCI;
369  m_LWID = a_from.m_LWID;
370  return *this;
371  }

Member Data Documentation

◆ m_BORD

bool tools::sg::plottable_ellipse::m_BORD

Definition at line 380 of file plottables.

◆ m_FACI

colorf tools::sg::plottable_ellipse::m_FACI

Definition at line 378 of file plottables.

◆ m_FAIS

fill_area_style tools::sg::plottable_ellipse::m_FAIS

Definition at line 377 of file plottables.

◆ m_FASI

int tools::sg::plottable_ellipse::m_FASI

Definition at line 379 of file plottables.

◆ m_LWID

float tools::sg::plottable_ellipse::m_LWID

Definition at line 382 of file plottables.

◆ m_PLCI

colorf tools::sg::plottable_ellipse::m_PLCI

Definition at line 381 of file plottables.

◆ m_R1

float tools::sg::plottable_ellipse::m_R1

Definition at line 375 of file plottables.

◆ m_R2

float tools::sg::plottable_ellipse::m_R2

Definition at line 376 of file plottables.

◆ m_X

float tools::sg::plottable_ellipse::m_X

Definition at line 373 of file plottables.

◆ m_Y

float tools::sg::plottable_ellipse::m_Y

Definition at line 374 of file plottables.


The documentation for this class was generated from the following file:
tools::sg::plottable_ellipse::m_X
float m_X
Definition: plottables:373
tools::sg::plottable_ellipse::m_FASI
int m_FASI
Definition: plottables:379
tools::sg::plottable_ellipse::m_R2
float m_R2
Definition: plottables:376
tools::sg::plottable_ellipse::HATCHED
@ HATCHED
Definition: plottables:341
tools::sg::plottable_ellipse::plottable_ellipse
plottable_ellipse(float a_X, float a_Y, float a_R1, float a_R2, fill_area_style a_FAIS, const colorf &a_FACI, int a_FASI, bool a_BORD, const colorf &a_PLCI, float a_LWID)
Definition: plottables:344
tools::sg::plottable_ellipse::m_LWID
float m_LWID
Definition: plottables:382
tools::sg::plottable_ellipse::HOLLOW
@ HOLLOW
Definition: plottables:338
tools::sg::plottable_ellipse::m_FAIS
fill_area_style m_FAIS
Definition: plottables:377
tools::sg::plottable_ellipse::m_PLCI
colorf m_PLCI
Definition: plottables:381
tools::sg::plottable_ellipse::SOLID
@ SOLID
Definition: plottables:339
tools::sg::plottable_ellipse::m_BORD
bool m_BORD
Definition: plottables:380
tools::sg::plottable_ellipse::m_Y
float m_Y
Definition: plottables:374
tools::sg::plottable_ellipse::m_FACI
colorf m_FACI
Definition: plottables:378
tools::sg::plottable_ellipse::m_R1
float m_R1
Definition: plottables:375
tools::sg::plottable_ellipse::PATTERN
@ PATTERN
Definition: plottables:340