Public Types | |
enum | Option { CONE_RADIUS = 200, CONE_HEIGHT, CYLINDER_RADIUS, CYLINDER_HEIGHT, LEVEL_OF_DETAIL } |
Public Types inherited from VFRendering::GlyphRenderer | |
enum | Option { ROTATE_GLYPHS = 1000 } |
Public Member Functions | |
ArrowRenderer (const View &view, const VectorField &vf) | |
virtual void | optionsHaveChanged (const std::vector< int > &changed_options) override |
Public Member Functions inherited from VFRendering::GlyphRenderer | |
GlyphRenderer (const View &view, const VectorField &vf) | |
virtual void | update (bool keep_geometry) override |
virtual void | draw (float aspect_ratio) override |
void | setGlyph (const std::vector< glm::vec3 > &positions, const std::vector< glm::vec3 > &normals, const std::vector< std::uint16_t > &indices) |
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 |
Additional Inherited Members | |
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) |
Protected Attributes inherited from VFRendering::RendererBase | |
const View & | m_view |