MeVisLab Toolbox Reference
SoView2DShaderCustomInclude Class Reference

The helper class for the include which is added to the GVR. More...

#include <SoView2DShaderBuiltInIncludes.h>

Inheritance diagram for SoView2DShaderCustomInclude:

Public Member Functions

 SoView2DShaderCustomInclude ()
 
 ~SoView2DShaderCustomInclude () override
 
void appendDefinition (std::stringstream &str) const override
 
void setValue (const std::string &value)
 
void setContainsDefines (bool containsDefines)
 
const std::string & getValue () const
 
bool containsDefines () const override
 Defines are places on the top of the shader.
 

Detailed Description

The helper class for the include which is added to the GVR.

Definition at line 24 of file SoView2DShaderBuiltInIncludes.h.

Constructor & Destructor Documentation

◆ SoView2DShaderCustomInclude()

SoView2DShaderCustomInclude::SoView2DShaderCustomInclude ( )
inline

Definition at line 27 of file SoView2DShaderBuiltInIncludes.h.

◆ ~SoView2DShaderCustomInclude()

SoView2DShaderCustomInclude::~SoView2DShaderCustomInclude ( )
inlineoverride

Definition at line 31 of file SoView2DShaderBuiltInIncludes.h.

Member Function Documentation

◆ appendDefinition()

void SoView2DShaderCustomInclude::appendDefinition ( std::stringstream & str) const
inlineoverride

Definition at line 33 of file SoView2DShaderBuiltInIncludes.h.

References mlrange_cast().

◆ containsDefines()

bool SoView2DShaderCustomInclude::containsDefines ( ) const
inlineoverride

Defines are places on the top of the shader.

Definition at line 45 of file SoView2DShaderBuiltInIncludes.h.

Referenced by setContainsDefines().

◆ getValue()

const std::string & SoView2DShaderCustomInclude::getValue ( ) const
inline

Definition at line 42 of file SoView2DShaderBuiltInIncludes.h.

◆ setContainsDefines()

void SoView2DShaderCustomInclude::setContainsDefines ( bool containsDefines)
inline

Definition at line 40 of file SoView2DShaderBuiltInIncludes.h.

References containsDefines().

◆ setValue()

void SoView2DShaderCustomInclude::setValue ( const std::string & value)
inline

Definition at line 38 of file SoView2DShaderBuiltInIncludes.h.


The documentation for this class was generated from the following file: