The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
Wizt::ImageTileProcessor Struct Reference

Interface class for processing color data acquired by rendering. More...

#include <ocean/Anemonia/ImageTileProcessor.hpp>

Inheritance diagram for Wizt::ImageTileProcessor:
MemCore::ReferenceBase< ImageTileProcessor > Wizt::GLImageTileProcessor

Public Member Functions

 ImageTileProcessor ()
 Construct it.
 
virtual void process (VGrabContext &, ImageTile &theImageTile)
 Process a tile of an image.
 
 ~ImageTileProcessor ()
 Destroy it.
 
- Public Member Functions inherited from MemCore::ReferenceBase< ImageTileProcessor >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
 
bool isIdentical (const WeakPtr< ImageTileProcessor, ImageTileProcessor > &PossibleSelf) const noexcept
 Check if this object is identical to the one used by the given pointer.
 
void mkAutoDestructive ()
 Marks this object as being automatically destructed, e.g.
 
refcount_t refcount () const noexcept
 The strong reference count.
 
 ReferenceBase (ImageTileProcessor *that) noexcept
 Constructor, initializes reference counter to zero.
 
const auto & self () const
 Return weak pointer to the object self.
 
refcount_t wrefcount () const noexcept
 The weak reference count.
 

Additional Inherited Members

- Public Types inherited from MemCore::ReferenceBase< ImageTileProcessor >
using reference_domain_t = ImageTileProcessor
 The type of the base class.
 
using SelfPtr_t = WeakPtr< ImageTileProcessor, ImageTileProcessor >
 Type for a pointer to this object itself.
 
- Protected Member Functions inherited from MemCore::ReferenceBase< ImageTileProcessor >
virtual void extremeUnction ()
 A virtual function that will be called just before the object is destroyed.
 
ReferenceBaseoperator= (const ReferenceBase &R)
 Protected assignment operator (should not be called).
 
void suicide ()
 Delete this.
 
virtual ~ReferenceBase ()
 Virtual destructor.
 

Detailed Description

Interface class for processing color data acquired by rendering.

Note that the data and pointers may well be modified by this function.

Member Function Documentation

◆ process()

void Wizt::ImageTileProcessor::process ( VGrabContext ,
ImageTile theImageTile 
)
virtual

Process a tile of an image.

The call may modify the given data, and may also change the type, but then must overwrite the pointers contained in the ImageTile.