Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
LayerPy (pybind11::array data, LayerType type=LayerConfig::defaultType, const SwizzleMask &swizzleMask=LayerConfig::defaultSwizzleMask, InterpolationType interpolation=LayerConfig::defaultInterpolation, const Wrapping2D &wrapping=LayerConfig::defaultWrapping) | |
LayerPy (size2_t dimensions, LayerType type, const DataFormatBase *format, const SwizzleMask &swizzleMask=LayerConfig::defaultSwizzleMask, InterpolationType interpolation=LayerConfig::defaultInterpolation, const Wrapping2D &wrapping=LayerConfig::defaultWrapping) | |
LayerPy (const LayerReprConfig &config) | |
LayerPy * | clone () const override |
std::type_index | getTypeIndex () const override final |
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 |
virtual bool | copyRepresentationsTo (LayerRepresentation *) const override |
pybind11::array & | data () |
const pybind11::array & | data () const |
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) |
virtual void | updateResource (const ResourceMeta &) const |
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 (const DataRepresentation &rhs)=default | |
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.