X3D libraries
The libraries to work with X3D dataset

x3d::SFImage Class Reference

#include <node.h>

Inheritance diagram for x3d::SFImage:

Inheritance graph
[legend]
Collaboration diagram for x3d::SFImage:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { SFIMAGE_TYPE_LUMINANCE = 1, SFIMAGE_TYPE_LUMINANCE_ALPHA = 2, SFIMAGE_TYPE_RGB = 3, SFIMAGE_TYPE_RGBA = 4 }

Public Member Functions

void Clear (void)
void Empty (void)
int GetBuffersize (void) const
int GetComponents (void) const
int GetHeight (void) const
const uint8_t * GetPixels (void) const
uint8_t * GetPixels (void)
int GetWidth (void) const
bool IsEmpty (void) const
void SetComponents (int components)
void SetHeight (int height)
void SetSize (int width, int height, int components)
void SetWidth (int width)
 SFImage (const SFImage &src)
 SFImage (void)
 ~SFImage ()

Private Member Functions

void ResizeBuffer (void)

Private Attributes

int f_components
int f_height
uint8_t * f_pixels
int f_size
int f_width

Member Enumeration Documentation

anonymous enum
 

Enumerator:
SFIMAGE_TYPE_LUMINANCE 
SFIMAGE_TYPE_LUMINANCE_ALPHA 
SFIMAGE_TYPE_RGB 
SFIMAGE_TYPE_RGBA 


Constructor & Destructor Documentation

x3d::SFImage::SFImage void   )  [inline]
 

x3d::SFImage::SFImage const SFImage src  )  [inline]
 

x3d::SFImage::~SFImage  )  [inline]
 


Member Function Documentation

void x3d::SFImage::Clear void   )  [inline]
 

void x3d::SFImage::Empty void   )  [inline]
 

int x3d::SFImage::GetBuffersize void   )  const [inline]
 

int x3d::SFImage::GetComponents void   )  const [inline]
 

int x3d::SFImage::GetHeight void   )  const [inline]
 

const uint8_t* x3d::SFImage::GetPixels void   )  const [inline]
 

uint8_t* x3d::SFImage::GetPixels void   )  [inline]
 

int x3d::SFImage::GetWidth void   )  const [inline]
 

bool x3d::SFImage::IsEmpty void   )  const [inline]
 

void x3d::SFImage::ResizeBuffer void   )  [inline, private]
 

void x3d::SFImage::SetComponents int  components  )  [inline]
 

void x3d::SFImage::SetHeight int  height  )  [inline]
 

void x3d::SFImage::SetSize int  width,
int  height,
int  components
[inline]
 

void x3d::SFImage::SetWidth int  width  )  [inline]
 


Member Data Documentation

int x3d::SFImage::f_components [private]
 

int x3d::SFImage::f_height [private]
 

uint8_t* x3d::SFImage::f_pixels [private]
 

int x3d::SFImage::f_size [private]
 

int x3d::SFImage::f_width [private]
 


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