|
IOLink
IOL_v1.2.0_release
|
3 #include <iolink/view/LodImageView.h>
17 inline static bool isLodImage(std::shared_ptr<View> view) noexcept
19 return (
dynamic_cast<const LodImageView*
>(view.get()) !=
nullptr);
27 inline static std::shared_ptr<LodImageView>
toLodImage(std::shared_ptr<View> view) noexcept
29 return std::dynamic_pointer_cast<LodImageView>(view);
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:7
A view on an image with multiple levels of detail (LOD).
Definition: LodImageView.h:20
static bool isLodImage(std::shared_ptr< View > view) noexcept
Checks if given View is a LodImageView.
Definition: LodImageViewProvider.h:17
static std::shared_ptr< LodImageView > toLodImage(std::shared_ptr< View > view) noexcept
Extracts the LodImageView interface from a given generic view.
Definition: LodImageViewProvider.h:27
Utility class for LodImageView support.
Definition: LodImageViewProvider.h:11