Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
ImageMapCtx Class Reference

This structure holds information needed to evaluate an image. More...

Public Types

enum  Mode {
  MODE_READ,
  MODE_WRITE,
  MODE_RANDOM,
  MODE_COUNT
}
 

Public Member Functions

unsigned int get_count ()
 
unsigned int get_buffer_size ()
 
 ImageMapCtx (const ImageMap &image)
 
 ImageMapCtx (const ImageMap &image, const GMathVec4i &in_region, const unsigned int &channel_count=0, const short *channel_indices=0)
 
 ImageMapCtx (const ImageMapCtx &ctx)
 

Static Public Member Functions

static const CoreString get_mode_name (const Mode &mode)
 

Public Attributes

GMathVec4i m_region
 
CoreArray< float * > m_datas
 

Friends

class ImageMapTile
 

Detailed Description

This structure holds information needed to evaluate an image.

This class implements a work context linked to an image. It is mainly used to access and update data in tiles.
It provides buffers with which a caller function can work, and which can be then used to update a tile. These buffers are created internally and will be sized depending on the options set during the context creation.