Fermat
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Public Types | Public Methods | Static Public Methods | Public Members | List of all members
GlutViewer Struct Reference
Inheritance diagram for GlutViewer:
RenderingContext

Public Types

enum  Orientation { X_UP, Y_UP, Z_UP }
 
- Public Types inherited from RenderingContext
typedef std::shared_ptr< MipMapStorage< HOST_BUFFER > > HostMipMapStoragePtr
 
typedef std::shared_ptr< MipMapStorage< CUDA_BUFFER > > DeviceMipMapStoragePtr
 

Public Methods

void init (int argc, char **argv)
 
- Public Methods inherited from RenderingContext
 RenderingContext ()
 
void init (int argc, char **argv)
 
void render (const uint32 instance)
 
void clear ()
 
void multiply_frame (const float scale)
 
void rescale_frame (const uint32 instance)
 
void clamp_frame (const float max_value)
 
void update_variances (const uint32 instance)
 
void update_model ()
 
void filter (const uint32 instance)
 
uint2 res () const
 
RenderingContextView view (const uint32 instance)
 
Cameraget_camera ()
 
uint32 get_directional_light_count () const
 
const DirectionalLightget_host_directional_lights () const
 
const DirectionalLightget_device_directional_lights () const
 
void set_directional_light_count (const uint32 count)
 
void set_directional_light (const uint32 i, const DirectionalLight &light)
 
uint2 get_res () const
 
float get_aspect_ratio () const
 
void set_aspect_ratio (const float v)
 
float get_exposure () const
 
void set_exposure (const float v)
 
float get_gamma () const
 
void set_gamma (const float v)
 
ShadingMode & get_shading_mode ()
 
FBufferStorageget_frame_buffer ()
 
uint8 * get_device_rgba_buffer ()
 
uint32 get_texture_count () const
 
HostMipMapStoragePtr * get_host_textures ()
 
DeviceMipMapStoragePtr * get_device_textures ()
 
MipMapViewget_host_texture_views ()
 
MipMapViewget_device_texture_views ()
 
MeshStorageget_host_mesh ()
 
DeviceMeshStorageget_device_mesh ()
 
MeshLightsStorageget_mesh_lights ()
 
RTContextget_rt_context () const
 
RendererInterfaceget_renderer () const
 
TiledSequenceget_sequence ()
 
uint32 register_renderer (const char *name, RendererFactoryFunction factory)
 
cugar::Bbox3f compute_bbox ()
 

Static Public Methods

static void display ()
 
static void idle ()
 
static void mouse (int button, int state, int x, int y)
 
static void motion (int x, int y)
 
static void keyboard (unsigned char character, int x, int y)
 

Public Members

GLuint m_texture
 
Camera m_camera_o
 
DirectionalLight m_light_o
 
int2 m_mouse
 
float m_mouse_depth
 
bool m_dollying
 
bool m_panning
 
bool m_walking
 
bool m_zooming
 
bool m_moving_selection
 
bool m_light_rotation
 
Orientation m_orientation
 
bool m_dirty
 
bool m_dirty_geo
 
uint32 m_instance
 
uint32 m_selected_group
 
char m_output_name [1024]
 
FILE * m_ffmpeg
 
FILE * m_camera_path
 
bool m_record
 
bool m_playback
 
bool m_accumulation
 
cugar::Mutex mutex
 

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