Pioneer
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Projectable Struct Reference

#include <SystemView.h>

Collaboration diagram for Projectable:
Collaboration graph
[legend]

Public Types

enum  types {
  NONE = 0 , OBJECT = 1 , L4 = 2 , L5 = 3 ,
  APOAPSIS = 4 , PERIAPSIS = 5
}
 
enum  bases {
  SYSTEMBODY = 0 , BODY = 1 , SHIP = 2 , PLAYER = 3 ,
  PLANNER = 4
}
 

Public Member Functions

 Projectable (const types t, const bases b, const Body *obj)
 
 Projectable (const types t, const bases b, const SystemBody *obj)
 
 Projectable ()
 

Public Attributes

enum Projectable::types type
 
enum Projectable::bases base
 
union { 
 
   const Body *   body 
 
   const SystemBody *   sbody 
 
ref 
 
vector3d screenpos
 
vector3d worldpos
 
float screensize = 0.f
 

Member Enumeration Documentation

◆ bases

Enumerator
SYSTEMBODY 
BODY 
SHIP 
PLAYER 
PLANNER 

◆ types

Enumerator
NONE 
OBJECT 
L4 
L5 
APOAPSIS 
PERIAPSIS 

Constructor & Destructor Documentation

◆ Projectable() [1/3]

Projectable::Projectable ( const types  t,
const bases  b,
const Body obj 
)
inline

◆ Projectable() [2/3]

Projectable::Projectable ( const types  t,
const bases  b,
const SystemBody obj 
)
inline

◆ Projectable() [3/3]

Projectable::Projectable ( )
inline

Member Data Documentation

◆ base

enum Projectable::bases Projectable::base

◆ body

const Body* Projectable::body

◆ [union]

union { ... } Projectable::ref

◆ sbody

const SystemBody* Projectable::sbody

◆ screenpos

vector3d Projectable::screenpos

◆ screensize

float Projectable::screensize = 0.f

◆ type

enum Projectable::types Projectable::type

◆ worldpos

vector3d Projectable::worldpos

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