HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Slice Struct Reference

#include <ImfFrameBuffer.h>

+ Inheritance diagram for Slice:

Public Member Functions

IMF_EXPORT Slice (PixelType type=HALF, char *base=0, size_t xStride=0, size_t yStride=0, int xSampling=1, int ySampling=1, double fillValue=0.0, bool xTileCoords=false, bool yTileCoords=false)
 

Static Public Member Functions

static IMF_EXPORT Slice Make (PixelType type, const void *ptr, const IMATH_NAMESPACE::V2i &origin, int64_t w, int64_t h, size_t xStride=0, size_t yStride=0, int xSampling=1, int ySampling=1, double fillValue=0.0, bool xTileCoords=false, bool yTileCoords=false)
 
static IMF_EXPORT Slice Make (PixelType type, const void *ptr, const IMATH_NAMESPACE::Box2i &dataWindow, size_t xStride=0, size_t yStride=0, int xSampling=1, int ySampling=1, double fillValue=0.0, bool xTileCoords=false, bool yTileCoords=false)
 

Public Attributes

PixelType type
 
char * base
 
size_t xStride
 
size_t yStride
 
int xSampling
 
int ySampling
 
double fillValue
 
bool xTileCoords
 
bool yTileCoords
 

Detailed Description

Examples:
SIM/GAS_NetVDBSliceExchange.h.

Definition at line 38 of file ImfFrameBuffer.h.

Constructor & Destructor Documentation

IMF_EXPORT Slice::Slice ( PixelType  type = HALF,
char *  base = 0,
size_t  xStride = 0,
size_t  yStride = 0,
int  xSampling = 1,
int  ySampling = 1,
double  fillValue = 0.0,
bool  xTileCoords = false,
bool  yTileCoords = false 
)

Member Function Documentation

static IMF_EXPORT Slice Slice::Make ( PixelType  type,
const void ptr,
const IMATH_NAMESPACE::V2i origin,
int64_t  w,
int64_t  h,
size_t  xStride = 0,
size_t  yStride = 0,
int  xSampling = 1,
int  ySampling = 1,
double  fillValue = 0.0,
bool  xTileCoords = false,
bool  yTileCoords = false 
)
static
static IMF_EXPORT Slice Slice::Make ( PixelType  type,
const void ptr,
const IMATH_NAMESPACE::Box2i dataWindow,
size_t  xStride = 0,
size_t  yStride = 0,
int  xSampling = 1,
int  ySampling = 1,
double  fillValue = 0.0,
bool  xTileCoords = false,
bool  yTileCoords = false 
)
static

Member Data Documentation

char* Slice::base

Definition at line 65 of file ImfFrameBuffer.h.

double Slice::fillValue

Definition at line 85 of file ImfFrameBuffer.h.

PixelType Slice::type

Definition at line 44 of file ImfFrameBuffer.h.

int Slice::xSampling

Definition at line 77 of file ImfFrameBuffer.h.

size_t Slice::xStride

Definition at line 66 of file ImfFrameBuffer.h.

bool Slice::xTileCoords

Definition at line 99 of file ImfFrameBuffer.h.

int Slice::ySampling

Definition at line 78 of file ImfFrameBuffer.h.

size_t Slice::yStride

Definition at line 67 of file ImfFrameBuffer.h.

bool Slice::yTileCoords

Definition at line 100 of file ImfFrameBuffer.h.


The documentation for this struct was generated from the following file: