Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Wizt::AircraftGeometry Struct Reference
Inheritance diagram for Wizt::AircraftGeometry:
Wizt::Programmable

Public Types

typedef META::LIST< Eagle::tvector3, META::LIST< Eagle::tvector3f > > FieldType
Public Types inherited from Wizt::Programmable
typedef RenderBasin::Program Program

Public Member Functions

 AircraftGeometry (VObject *that)
bool initializeAnemone (Anemone &RenderAnemone, VRenderContext &Context, const AnemoneCreator<> &AC) const
RenderBasin::Program::Parameters setProgramParameters (const RenderBasin::Program::Parameters &P, Anemone &RenderAnemone, const GridAnemone::AnemoneCreationContext &ARC, const RefPtr< GridAnemone::AnemoneExplorer > &AE) const
 Function called by VertexFieldShader<> template.
bool isValidAnemone (const Anemone &RenderAnemone, VRenderContext &Context, const AnemoneCreator<> &AC) const
std::string geometry_shader (VRenderContext &Context) const override
 Vertexshader GLGS code.
string getShaderAttributeName () const
 Fragmentshader GLGS code that might stem from an text file.
Public Member Functions inherited from Wizt::Programmable
RefPtr< RenderBasin::ProgramCompileShader (VRenderContext &Context, const std::string &Name, const RenderBasin::Program::Setup &SetupFunction=nullptr, const RefPtr< RenderBasin::Program > &ExistingProgram=nullptr, const glsl &LocalVertexShaderPrefixCode="", const glsl &LocalGeometryShaderPrefixCode="", const glsl &LocalFragmentShaderPrefixCode="") const
void enableViewportArray (bool EnableFragmentLayerViewport=true)
virtual glsl fragment_shader (VRenderContext &Context) const=0
virtual glsl GeometryShaderPrefix (VRenderContext &Context) const
std::pair< glsl, stringgetCode (VRenderContext &Context, const std::string &Name, const std::string &Ext, std::string(Programmable::*shader)(VRenderContext &Context) const, const string &PrefixCode) const
void setGLSLVersion (const string &v_version, const string &g_version, const string &f_version)
void setGLSLVersion (const string &version)
virtual glsl vertex_shader (VRenderContext &Context) const=0

Public Attributes

const string VectorFieldAttributeName
VObject::in< double > LengthScale
VObject::in< double > DistanceSizeExponent
VObject::in< double > MaxVelocity
VObject::in< double > StrengthOfSearchLightEffect
VObject::in< double > StrengthOfDopplerShift
VObject::in< VTimeAnimationTime
Public Attributes inherited from Wizt::Programmable
glsl f_prefix
glsl g_prefix
RenderBasin::GeometryInputType GeometryInput
RenderBasin::GeometryOutputType GeometryOutput
glsl v_prefix

Static Public Attributes

static constexpr bool hasShaderConditionals = false
Static Public Attributes inherited from Wizt::Programmable
static const char default_fragment_shader []
static const char default_geometry_shader []
static const char default_vertex_shader []

Additional Inherited Members

Static Public Member Functions inherited from Wizt::Programmable
static string OptionalFileRead (const string &filename, const string &text)
static glsl setNumberOfLightSources (VRenderContext &Context, const std::string &VariableName="lightNum")

Member Function Documentation

◆ geometry_shader()

std::string Wizt::AircraftGeometry::geometry_shader ( VRenderContext & Context) const
overridevirtual

Vertexshader GLGS code.

Reimplemented from Wizt::Programmable.

References Wizt::embed_glsl().