![]() |
Inviwo
0.9.10.1
Inviwo documentation
|
Inheritance diagram for inviwo::LayerDisk:Public Member Functions | |
| LayerDisk (size2_t dimensions, const DataFormatBase *format, LayerType type=LayerType::Color, const SwizzleMask &swizzleMask=swizzlemasks::rgba) | |
| LayerDisk (std::string url, size2_t dimensions, const DataFormatBase *format, LayerType type=LayerType::Color, const SwizzleMask &swizzleMask=swizzlemasks::rgba) | |
| LayerDisk (const LayerDisk &rhs) | |
| LayerDisk & | operator= (const LayerDisk &that) |
| virtual LayerDisk * | clone () const override |
| virtual const size2_t & | getDimensions () const override |
| virtual bool | copyRepresentationsTo (LayerRepresentation *target) const override |
| void | updateDataFormat (const DataFormatBase *format) |
| Updates the data format retrieved during loading. More... | |
| virtual std::type_index | getTypeIndex () const override final |
| 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. More... | |
| virtual SwizzleMask | getSwizzleMask () const override |
Public Member Functions inherited from inviwo::LayerRepresentation | |
| LayerType | getLayerType () const |
Public Member Functions inherited from inviwo::DataRepresentation< Layer > | |
| const DataFormatBase * | getDataFormat () const |
| std::string | getDataFormatString () const |
| DataFormatId | getDataFormatId () const |
| void | setOwner (Layer *owner) |
| Layer * | getOwner () |
| const Layer * | getOwner () const |
| bool | isValid () const |
| void | setValid (bool valid) |
Public Member Functions inherited from inviwo::DiskRepresentation< LayerRepresentation > | |
| DiskRepresentation (const std::string &srcFile, DiskRepresentationLoader< LayerRepresentation > *loader=nullptr) | |
| DiskRepresentation (const DiskRepresentation &rhs)=default | |
| DiskRepresentation & | operator= (const DiskRepresentation &that)=default |
| const std::string & | getSourceFile () const |
| bool | hasSourceFile () const |
| void | setLoader (DiskRepresentationLoader< LayerRepresentation > *loader) |
| std::shared_ptr< LayerRepresentation > | createRepresentation () const |
| void | updateRepresentation (std::shared_ptr< LayerRepresentation > dest) const |
Additional Inherited Members | |
Public Types inherited from inviwo::DataRepresentation< Layer > | |
| using | ReprOwner = Layer |
Protected Member Functions inherited from inviwo::LayerRepresentation | |
| LayerRepresentation (LayerType type=LayerType::Color, const DataFormatBase *format=DataVec4UInt8::get()) | |
| LayerRepresentation (const LayerRepresentation &rhs)=default | |
| LayerRepresentation & | operator= (const LayerRepresentation &that)=default |
| void | updateBaseMetaFromRepresentation () |
Protected Member Functions inherited from inviwo::DataRepresentation< Layer > | |
| DataRepresentation (const DataFormatBase *format) | |
| DataRepresentation (const DataRepresentation &rhs)=default | |
| DataRepresentation & | operator= (const DataRepresentation &that)=default |
| void | setDataFormat (const DataFormatBase *format) |
Protected Attributes inherited from inviwo::LayerRepresentation | |
| LayerType | layerType_ |
Protected Attributes inherited from inviwo::DataRepresentation< Layer > | |
| bool | isValid_ |
| const DataFormatBase * | dataFormatBase_ |
| Layer * | owner_ |
|
overridevirtual |
Copy and resize the representations of this onto the target.
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.
| void inviwo::LayerDisk::updateDataFormat | ( | const DataFormatBase * | format | ) |
Updates the data format retrieved during loading.
| format | the new dataformat |