|
| enum class | Operation : std::uint8_t { None
, ReplacePrimaryColor
, MultiplyPrimaryColor
, MultiplyPrimaryAll
} |
|
|
| TexturedVolumeComponent (std::string_view name, VolumeInport &volume) |
| 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 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.
|
| virtual void | process (Shader &shader, TextureUnitContainer &cont) override |
| | Called from Processor::process Override to set uniforms, bind textures etc.
|
| virtual std::vector< std::tuple< Inport *, std::string > > | getInports () override |
| | Return all Inports and their port groups This gets called in Processor::registerComponents which will add them to the processor.
|
| 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.
|
◆ getInports()
| virtual std::vector< std::tuple< Inport *, std::string > > inviwo::TexturedVolumeComponent::getInports |
( |
| ) |
|
|
overridevirtual |
Return all Inports and their port groups This gets called in Processor::registerComponents which will add them to the processor.
Reimplemented from inviwo::ShaderComponent.
◆ getName()
| virtual std::string_view inviwo::TexturedVolumeComponent::getName |
( |
| ) |
const |
|
overridevirtual |
◆ getProperties()
| virtual std::vector< Property * > inviwo::TexturedVolumeComponent::getProperties |
( |
| ) |
|
|
overridevirtual |
Return all Properties This gets called in Processor::registerComponents which will add them to the processor.
Reimplemented from inviwo::ShaderComponent.
◆ getSegments()
| virtual std::vector< Segment > inviwo::TexturedVolumeComponent::getSegments |
( |
| ) |
|
|
overridevirtual |
◆ initializeResources()
| virtual void inviwo::TexturedVolumeComponent::initializeResources |
( |
Shader & | shader | ) |
|
|
overridevirtual |
◆ process()
The documentation for this class was generated from the following file:
- texturedvolumeraycaster.h