FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Types | Public Member Functions | List of all members
Wizt::VBORGBAField Class Reference

Loads a fragment of a tensor field as RGBAArray. More...

#include <RGBAArray.hpp>

Inheritance diagram for Wizt::VBORGBAField:
Wizt::VertexField MemCore::ReferenceBase< VertexField >

Public Types

typedef RGBAArray< Eagle::rgba_float_tVBOArrayType
 
typedef VBOArrayType::value_type value_type
 
- Public Types inherited from MemCore::ReferenceBase< VertexField >
typedef Object reference_domain_t
 
typedef WeakPtr< Object, Object > SelfPtr_t
 

Public Member Functions

 VBORGBAField (VObject *that, const string &fieldname)
 
RefPtr< BufferArraycreateVBOArray (const RefPtr< Fiber::MemBase > &MB, const string &arrayname, const RefPtr< GLProgram > &Shader, const Fiber::MemBase::Creator_t &theCreator) const override
 Virtual function to create a vertex array from a given memory array.
 
- Public Member Functions inherited from Wizt::VertexField
 VertexField (VObject *what, const string &fieldname, bool ConvertToElements=true, int expertLevel=0)
 Constructor.
 
 ~VertexField ()
 Destructor.
 
bool append (VBO &myVBO, const RefPtr< Fiber::CreativeArrayBase > &CAb, const string &arrayname, const RefPtr< GLProgram > &Shader) const
 Loading a given dataset as provided by the creator into a vertex array and append it to the given vertex buffer object.
 
virtual bool isOlderThan (const Ageable &A, const RefPtr< ValuePool > &Context) const
 Check if the parameters associated with this field are older than the given age.
 
virtual void updateAge (Ageable &A, const RefPtr< ValuePool > &Context) const
 Update the given age object with the age of the current field parameters.
 
- Public Member Functions inherited from MemCore::ReferenceBase< VertexField >
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
 

Additional Inherited Members

- Public Attributes inherited from Wizt::VertexField
TypedSlot< Fiber::FieldMyField
 
const bool ConvertToElements = false
 A flag telling whether the elements of memory arrays shall be converted into temporary explicit arrays, for the sake of loading into vertex arrays.
 
- Protected Member Functions inherited from MemCore::ReferenceBase< VertexField >
virtual void extremeUnction ()
 
ReferenceBaseoperator= (const ReferenceBase &R)
 
void suicide ()
 

Detailed Description

Loads a fragment of a tensor field as RGBAArray.

Member Function Documentation

◆ createVBOArray()

RefPtr< BufferArray > Wizt::VBORGBAField::createVBOArray ( const RefPtr< Fiber::MemBase > &  MB,
const string &  arrayname,
const RefPtr< GLProgram > &  Shader,
const Fiber::MemBase::Creator_t theCreator 
) const
overridevirtual

Virtual function to create a vertex array from a given memory array.

This function must be called within a valid OpenGL Context.

Implements Wizt::VertexField.