![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Classes | |
| struct | Segment |
Public Member Functions | |
| 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. | |
| virtual std::string_view | getName () const =0 |
| 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 () |
| Return all Properties This gets called in Processor::registerComponents which will add them to the processor. | |
| virtual std::vector< Segment > | getSegments () |
| 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) |
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 &container) |
| Called from Processor::process Override to set uniforms, bind textures etc. | |
|
inlinevirtual |
Return all Inports and their port groups This gets called in Processor::registerComponents which will add them to the processor.
Reimplemented in inviwo::AtlasComponent, inviwo::BackgroundComponent, inviwo::EntryExitComponent, inviwo::LightVolumeComponent, inviwo::TexturedIsoSurfaceComponent, inviwo::TexturedVolumeComponent, and inviwo::VolumeComponent.
|
pure virtual |
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.
Implemented in inviwo::AtlasComponent, inviwo::BackgroundComponent, inviwo::CameraComponent, inviwo::EntryExitComponent, inviwo::IsoComponent, inviwo::IsoTFComponent< N >, inviwo::IsoTFComponent< 1 >, inviwo::IsoTFComponent< 4 >, inviwo::LightComponent, inviwo::LightVolumeComponent, inviwo::MultiRaycastingComponent, inviwo::PositionIndicatorComponent, inviwo::RaycastingComponent, inviwo::SampleTransformComponent, inviwo::SphericalComponent, inviwo::TexturedIsoSurfaceComponent, inviwo::TexturedVolumeComponent, inviwo::TFComponent, inviwo::TimeComponent, and inviwo::VolumeComponent.
|
inlinevirtual |
Return all Properties This gets called in Processor::registerComponents which will add them to the processor.
Reimplemented in inviwo::AtlasComponent, inviwo::CameraComponent, inviwo::IsoComponent, inviwo::IsoTFComponent< N >, inviwo::IsoTFComponent< 1 >, inviwo::IsoTFComponent< 4 >, inviwo::LightComponent, inviwo::LightVolumeComponent, inviwo::MultiRaycastingComponent, inviwo::PositionIndicatorComponent, inviwo::RaycastingComponent, inviwo::SampleTransformComponent, inviwo::SphericalComponent, inviwo::TexturedIsoSurfaceComponent, inviwo::TexturedVolumeComponent, inviwo::TFComponent, and inviwo::TimeComponent.
|
inlinevirtual |
Return all Segments to be injected into the shader. This gets called in VolumeRaycasterBase::initializeResources after the call to RaycasterComponent::initializeResources.
Reimplemented in inviwo::AtlasComponent, inviwo::BackgroundComponent, inviwo::CameraComponent, inviwo::EntryExitComponent, inviwo::IsoComponent, inviwo::IsoTFComponent< N >, inviwo::IsoTFComponent< 1 >, inviwo::IsoTFComponent< 4 >, inviwo::LightComponent, inviwo::LightVolumeComponent, inviwo::MultiRaycastingComponent, inviwo::PositionIndicatorComponent, inviwo::RaycastingComponent, inviwo::SampleTransformComponent, inviwo::SphericalComponent, inviwo::TexturedIsoSurfaceComponent, inviwo::TexturedVolumeComponent, inviwo::TFComponent, inviwo::TimeComponent, and inviwo::VolumeComponent.
|
virtual |
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 in inviwo::CameraComponent, inviwo::IsoComponent, inviwo::IsoTFComponent< N >, inviwo::IsoTFComponent< 1 >, inviwo::IsoTFComponent< 4 >, inviwo::LightComponent, inviwo::LightVolumeComponent, inviwo::MultiRaycastingComponent, inviwo::RaycastingComponent, inviwo::TexturedIsoSurfaceComponent, and inviwo::TexturedVolumeComponent.
|
virtual |
Called from Processor::process Override to set uniforms, bind textures etc.
| shader | in current use |
| container | add any used TextureUnits here |
Reimplemented in inviwo::AtlasComponent, inviwo::BackgroundComponent, inviwo::CameraComponent, inviwo::EntryExitComponent, inviwo::IsoComponent, inviwo::IsoTFComponent< N >, inviwo::IsoTFComponent< 1 >, inviwo::IsoTFComponent< 4 >, inviwo::LightComponent, inviwo::LightVolumeComponent, inviwo::MultiRaycastingComponent, inviwo::PositionIndicatorComponent, inviwo::RaycastingComponent, inviwo::SampleTransformComponent, inviwo::SphericalComponent, inviwo::TexturedIsoSurfaceComponent, inviwo::TexturedVolumeComponent, inviwo::TFComponent, inviwo::TimeComponent, and inviwo::VolumeComponent.