Virtual Testbed
Ship dynamics simulator for extreme conditions
Public Types | Public Member Functions | List of all members
vtb::graphics::ShipCompartmentObject< T > Class Template Reference
Inheritance diagram for vtb::graphics::ShipCompartmentObject< T >:
[legend]
Collaboration diagram for vtb::graphics::ShipCompartmentObject< T >:
[legend]

Public Types

using compartment_type = vtb::core::Compartment< T >
 

Public Member Functions

 ShipCompartmentObject (const compartment_type &compartment)
 
void draw (const Matrix4 &m, Camera3D &camera) override
 
void show (bool b)
 
const Vector3 & color () const
 
void color (Vector3 v)
 
void alpha (Float a)
 
const std::stringname () const
 
bool fire () const
 
void fire (bool rhs)
 
bool flooding () const
 
void flooding (bool rhs)
 

Detailed Description

template<class T>
class vtb::graphics::ShipCompartmentObject< T >

Definition at line 19 of file ShipCompartmentObject.hh.