|
| LayerDisk (size2_t dimensions, const DataFormatBase *format, LayerType type=LayerConfig::defaultType, const SwizzleMask &swizzleMask=LayerConfig::defaultSwizzleMask, InterpolationType interpolation=LayerConfig::defaultInterpolation, const Wrapping2D &wrap=LayerConfig::defaultWrapping) |
|
| LayerDisk (const std::filesystem::path &url, size2_t dimensions, const DataFormatBase *format, LayerType type=LayerConfig::defaultType, const SwizzleMask &swizzleMask=LayerConfig::defaultSwizzleMask, InterpolationType interpolation=LayerConfig::defaultInterpolation, const Wrapping2D &wrap=LayerConfig::defaultWrapping) |
|
| LayerDisk (const LayerReprConfig &config, const std::filesystem::path &path={}) |
|
| LayerDisk (const LayerDisk &rhs)=default |
|
LayerDisk & | operator= (const LayerDisk &that)=default |
|
virtual LayerDisk * | clone () const override |
|
virtual const DataFormatBase * | getDataFormat () 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.
|
|
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.
|
|
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 |
|
LayerType | getLayerType () const |
|
std::string_view | getDataFormatString () const |
|
DataFormatId | getDataFormatId () const |
|
LayerReprConfig | config () const |
|
void | setOwner (const Layer *owner) |
|
const Layer * | getOwner () const |
|
bool | isValid () const |
|
void | setValid (bool valid) |
|
virtual void | updateResource (const ResourceMeta &) const |
|
| DiskRepresentation (const std::filesystem::path &srcFile, DiskRepresentationLoader< LayerRepresentation > *loader=nullptr) |
|
| DiskRepresentation (const DiskRepresentation &rhs)=default |
|
DiskRepresentation & | operator= (const DiskRepresentation &that)=default |
|
const std::filesystem::path & | getSourceFile () const |
|
bool | hasSourceFile () const |
|
void | setLoader (DiskRepresentationLoader< LayerRepresentation > *loader) |
|
std::shared_ptr< LayerRepresentation > | createRepresentation () const |
|
void | updateRepresentation (std::shared_ptr< LayerRepresentation > dest) const |
|