![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <modules/basegl/shadercomponents/isotfcomponent.h>
Public Member Functions | |
| virtual std::string_view | getName () const override |
| The name of the ShaderComponent. Will show up as the source of the line in the shaderwidget when the file is preprocessed and in error messages. | |
| virtual std::vector< Property * > | getProperties () override |
| Return all Properties This gets called in Processor::registerComponents which will add them to the processor. | |
| virtual std::vector< Segment > | getSegments () override |
| Return all Segments to be injected into the shader. This gets called in VolumeRaycasterBase::initializeResources after the call to RaycasterComponent::initializeResources. | |
| virtual void | initializeResources (Shader &shader) override |
Called from Processor::initializeResources Override to set defines in the shader. This function will be called before the shader is compiled. | |
| IsoTFComponent (VolumeInport &volumeInport) | |
| virtual void | process (Shader &shader, TextureUnitContainer &cont) override |
| Called from Processor::process Override to set uniforms, bind textures etc. | |
| Public Member Functions inherited from inviwo::ShaderComponent | |
| virtual std::vector< std::tuple< Inport *, std::string > > | getInports () |
| Return all Inports and their port groups This gets called in Processor::registerComponents which will add them to the processor. | |
Public Attributes | |
| std::array< IsoTFProperty, N > | isotfs |
Adds a set of N IsoTFProperties, and binds them to uniforms in the shader.
|
inlineoverridevirtual |
The name of the ShaderComponent. Will show up as the source of the line in the shaderwidget when the file is preprocessed and in error messages.
Implements inviwo::ShaderComponent.
|
inlineoverridevirtual |
Return all Properties This gets called in Processor::registerComponents which will add them to the processor.
Reimplemented from inviwo::ShaderComponent.
|
inlineoverridevirtual |
Return all Segments to be injected into the shader. This gets called in VolumeRaycasterBase::initializeResources after the call to RaycasterComponent::initializeResources.
Reimplemented from inviwo::ShaderComponent.
|
inlineoverridevirtual |
Called from Processor::initializeResources Override to set defines in the shader. This function will be called before the shader is compiled.
| shader | in current use |
Reimplemented from inviwo::ShaderComponent.
|
inlineoverridevirtual |
Called from Processor::process Override to set uniforms, bind textures etc.
| shader | in current use |
| container | add any used TextureUnits here |
Reimplemented from inviwo::ShaderComponent.