|
enum | Option {
COLOR = 600,
LEVEL_OF_DETAIL,
LINE_WIDTH
} |
|
|
| BoundingBoxRenderer (const View &view, const std::vector< glm::vec3 > &vertices, const std::vector< float > &dashing_values={}) |
|
virtual void | draw (float aspect_ratio) override |
|
virtual void | optionsHaveChanged (const std::vector< int > &changed_options) override |
|
| 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 |
|
virtual void | updateIfNecessary () |
|
|
static BoundingBoxRenderer | forCuboid (const View &view, const glm::vec3 ¢er, const glm::vec3 &side_lengths, const glm::vec3 &periodic_boundary_condition_lengths={0.0f, 0.0f, 0.0f}, float dashes_per_length=1.0f) |
|
static BoundingBoxRenderer | forParallelepiped (const View &view, const glm::vec3 ¢er, const glm::vec3 &v1, const glm::vec3 &v2, const glm::vec3 &v3, const glm::vec3 &periodic_boundary_condition_lengths={0.0f, 0.0f, 0.0f}, float dashes_per_length=1.0f) |
|
static BoundingBoxRenderer | forHexagonalCell (const View &view, const glm::vec3 ¢er, float radius, float height, const glm::vec2 &periodic_boundary_condition_lengths={0.0f, 0.0f}, float dashes_per_length=1.0f) |
|
|
virtual void | update (bool keep_geometry) override |
|
void | updateVertexData () |
|
virtual void | options (const Options &options) |
|
The documentation for this class was generated from the following files: