Public Types | |
enum | Option { POINT_SIZE_RANGE = 400, INNER_SPHERE_RADIUS, USE_SPHERE_FAKE_PERSPECTIVE } |
Public Member Functions | |
VectorSphereRenderer (const View &view, const VectorField &vf) | |
virtual void | draw (float aspect_ratio) override |
virtual void | optionsHaveChanged (const std::vector< int > &changed_options) override |
Public Member Functions inherited from VFRendering::VectorFieldRenderer | |
VectorFieldRenderer (const View &view, const VectorField &vf) | |
virtual void | updateIfNecessary () |
Public Member Functions inherited from VFRendering::RendererBase | |
RendererBase (const View &view) | |
virtual void | updateOptions (const Options &options) |
template<int index> | |
void | setOption (const typename Options::Type< index >::type &value) |
const Options & | options () const |
template<int index> | |
Options::Type< index >::type | getOption () const |
Protected Member Functions | |
virtual void | update (bool keep_geometry) override |
Protected Member Functions inherited from VFRendering::VectorFieldRenderer | |
const std::vector< glm::vec3 > & | positions () const |
const std::vector< glm::vec3 > & | directions () const |
const std::vector< std::array< Geometry::index_type, 3 > > & | surfaceIndices () const |
const std::vector< std::array< Geometry::index_type, 4 > > & | volumeIndices () const |
Protected Member Functions inherited from VFRendering::RendererBase | |
virtual void | options (const Options &options) |
Additional Inherited Members | |
Protected Attributes inherited from VFRendering::RendererBase | |
const View & | m_view |