![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| LayerGL (std::shared_ptr< Texture2D > tex, LayerType type=LayerConfig::defaultType) | |
| LayerGL (size2_t dimensions=LayerConfig::defaultDimensions, LayerType type=LayerConfig::defaultType, const DataFormatBase *format=LayerConfig::defaultFormat, const SwizzleMask &swizzleMask=LayerConfig::defaultSwizzleMask, InterpolationType interpolation=LayerConfig::defaultInterpolation, const Wrapping2D &wrapping=LayerConfig::defaultWrapping) | |
| LayerGL (const LayerReprConfig &config) | |
| LayerGL (const LayerGL &rhs) | |
| LayerGL & | operator= (const LayerGL &rhs) |
| virtual LayerGL * | clone () const override |
| virtual const DataFormatBase * | getDataFormat () const override |
| virtual void | setDimensions (size2_t dimensions) override |
| virtual const size2_t & | getDimensions () const override |
| virtual void | setSwizzleMask (const SwizzleMask &mask) override |
| update the swizzle mask of the channels for sampling color layers Needs to be overloaded by child classes. | |
| virtual SwizzleMask | getSwizzleMask () const override |
| virtual void | setInterpolation (InterpolationType interpolation) override |
| update the interpolation for sampling layer Needs to be overloaded by child classes. | |
| virtual InterpolationType | getInterpolation () const override |
| virtual void | setWrapping (const Wrapping2D &wrapping) override |
| Update the wrapping type of the layer Needs to be overloaded by child classes. | |
| virtual Wrapping2D | getWrapping () const override |
| void | bindTexture (GLenum texUnit) const |
| void | bindTexture (const TextureUnit &texUnit) const |
| void | unbindTexture () const |
| virtual bool | copyRepresentationsTo (LayerRepresentation *) const override |
| std::shared_ptr< Texture2D > | getTexture () const |
| virtual std::type_index | getTypeIndex () const override final |
| virtual void | updateResource (const ResourceMeta &meta) const override |
| Public Member Functions inherited from inviwo::LayerRepresentation | |
| LayerType | getLayerType () const |
| std::string_view | getDataFormatString () const |
| DataFormatId | getDataFormatId () const |
| LayerReprConfig | config () const |
| Public Member Functions inherited from inviwo::DataRepresentation< Layer > | |
| void | setOwner (const Layer *owner) |
| const Layer * | getOwner () const |
| bool | isValid () const |
| void | setValid (bool valid) |
Additional Inherited Members | |
| Public Types inherited from inviwo::DataRepresentation< Layer > | |
| using | ReprOwner |
| Protected Member Functions inherited from inviwo::LayerRepresentation | |
| LayerRepresentation (LayerType type=LayerType::Color) | |
| LayerRepresentation (const LayerRepresentation &rhs)=default | |
| LayerRepresentation & | operator= (const LayerRepresentation &that)=default |
| Protected Member Functions inherited from inviwo::DataRepresentation< Layer > | |
| DataRepresentation & | operator= (const DataRepresentation &that)=default |
| Protected Attributes inherited from inviwo::LayerRepresentation | |
| LayerType | layerType_ |
| Protected Attributes inherited from inviwo::DataRepresentation< Layer > | |
| bool | isValid_ |
| const Layer * | owner_ |
|
overridevirtual |
Implements inviwo::LayerRepresentation.
|
overridevirtual |
Copy and resize the representations of this onto the target.
Implements inviwo::LayerRepresentation.
|
overridevirtual |
Implements inviwo::LayerRepresentation.
|
overridevirtual |
Implements inviwo::LayerRepresentation.
|
overridevirtual |
Implements inviwo::LayerRepresentation.
|
overridevirtual |
Implements inviwo::LayerRepresentation.
|
finaloverridevirtual |
Implements inviwo::DataRepresentation< Layer >.
|
overridevirtual |
Implements inviwo::LayerRepresentation.
|
overridevirtual |
Resize the representation to dimension. This is destructive, the data will not be preserved. Use copyRepresentationsTo to update the data. Needs to be overloaded by child classes.
Implements inviwo::LayerRepresentation.
|
overridevirtual |
update the interpolation for sampling layer Needs to be overloaded by child classes.
| interpolation | new interpolation type |
Implements inviwo::LayerRepresentation.
|
overridevirtual |
update the swizzle mask of the channels for sampling color layers Needs to be overloaded by child classes.
| mask | new swizzle mask |
Implements inviwo::LayerRepresentation.
|
overridevirtual |
Update the wrapping type of the layer Needs to be overloaded by child classes.
| wrapping | new wrapping type |
Implements inviwo::LayerRepresentation.
|
overridevirtual |
Reimplemented from inviwo::DataRepresentation< Layer >.