Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
GL::LineSetRenderer Struct Reference

Renderer for sets of Lines stored in a grid, as managed by class LineSet (gridtypes library). More...

#include <LineSetRenderer.hpp>

Inheritance diagram for GL::LineSetRenderer:
Wizt::VBO::Renderer MemCore::ReferenceBase< Renderer > MemCore::Ageable

Public Types

enum  DrawMode { AsLineStrip = 0x1 , AsPoints = 0x2 , AsLinesAndPoints = AsPoints | AsLineStrip }
Public Types inherited from MemCore::ReferenceBase< Renderer >
typedef Object reference_domain_t
typedef WeakPtr< Object, Object > SelfPtr_t

Public Member Functions

 LineSetRenderer (const WeakPtr< Fiber::Grid > &RenderableGrid, DrawMode theDrawMode=AsLineStrip, const RefPtr< Fiber::FragmentID > &f=NullPtr())
 Construct from a Grid object.
 LineSetRenderer (const WeakPtr< Fiber::Grid > &RenderableGrid, Wizt::RenderBasin::GeometryInputType)
 Construct from a Grid object, being compatible with a GeometryShader.
bool drawElements (DrawMode Mode=AsLineStrip)
bool draw () override
Public Member Functions inherited from Wizt::VBO::Renderer
virtual void postfix ()
virtual void prefix ()
Public Member Functions inherited from MemCore::ReferenceBase< Renderer >
auto getObjectCountID () const noexcept
bool isIdentical (const WeakPtr< Object, Object > &PossibleSelf) const noexcept
void mkAutoDestructive ()
refcount_t refcount () const noexcept
 ReferenceBase (Object *that) noexcept
const auto & self () const
refcount_t wrefcount () const noexcept
Public Member Functions inherited from MemCore::Ageable
constexpr Ageable (age_t t) noexcept
constexpr Ageable (const Ageable &A) noexcept
 Ageable (const volatile Ageable &A) noexcept
constexpr const AgeablegetAge () const
bool isNewerThan (const Ageable &a) const noexcept
bool isOlderThan (const Ageable &a) const noexcept
bool isYoungerThan (const Ageable &a) const noexcept
bool operator!= (const Ageable &a) const noexcept
bool operator< (const Ageable &a) const noexcept
bool operator<= (const Ageable &a) const noexcept
bool operator<= (const volatile Ageable &a) const volatile noexcept
bool operator== (const Ageable &a) const noexcept
bool operator> (const Ageable &a) const noexcept
bool operator> (const volatile Ageable &a) const volatile
bool operator>= (const Ageable &a) const noexcept
bool operator>= (const volatile Ageable &a) const volatile noexcept
constexpr void resetAge () noexcept
void setInfinitelyNew () noexcept
age_t time_value () const noexcept
age_t time_value () const volatile noexcept
Ageabletouch () noexcept
age_t update (age_t age) noexcept
age_t update (const Ageable &Other) noexcept
age_t update (const volatile Ageable &Other) volatile noexcept

Public Attributes

WeakPtr< Fiber::GridMyGrid
int WhichOneOnly
int nLines
bool DontUseIndexBuffer
DrawMode myDrawMode
RefPtr< Wizt::IndexBufferObjectIBO
const RefPtr< Fiber::FragmentIDfrag

Additional Inherited Members

Static Public Member Functions inherited from MemCore::Ageable
static const AgeableInfinitelyNew () noexcept
static constexpr const AgeableInfinitelyOld () noexcept
static age_t now () noexcept
Protected Member Functions inherited from MemCore::ReferenceBase< Renderer >
virtual void extremeUnction ()
ReferenceBaseoperator= (const ReferenceBase &R)
void suicide ()

Detailed Description

Renderer for sets of Lines stored in a grid, as managed by class LineSet (gridtypes library).

Member Function Documentation

◆ draw()

bool GL::LineSetRenderer::draw ( )
overridevirtual

Implements Wizt::VBO::Renderer.