libVFRendering  0.14.0

A vector field rendering library
Public Types | Public Member Functions | List of all members
VFRendering::View Class Reference

Public Types

enum  Option {
  SYSTEM_CENTER,
  VERTICAL_FIELD_OF_VIEW,
  BACKGROUND_COLOR,
  COLORMAP_IMPLEMENTATION,
  IS_VISIBLE_IMPLEMENTATION,
  CAMERA_POSITION,
  CENTER_POSITION,
  UP_VECTOR,
  CLEAR
}
 

Public Member Functions

void draw ()
 
void mouseMove (const glm::vec2 &position_before, const glm::vec2 &position_after, CameraMovementModes mode)
 
void mouseScroll (const float &wheel_delta)
 
void setFramebufferSize (float width, float height)
 
float getFramerate () const
 
glm::vec2 getFramebufferSize () const
 
void updateOptions (const Options &options)
 
template<int index>
void setOption (const typename Options::Type< index >::type &value)
 
void options (const Options &options)
 
const Optionsoptions () const
 
template<int index>
Options::Type< index >::type getOption () const
 
void renderers (const std::vector< std::pair< std::shared_ptr< RendererBase >, std::array< float, 4 >>> &renderers, bool update_renderer_options=true)
 

The documentation for this class was generated from the following files: