# Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics

[Home] [Tutorials] [All Classes] [Grouped Classes]

# vl::PixelTransfer Class Reference

Wraps the OpenGL function glPixelTransfer(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPixelTransfer.xml for more information. More...

`#include <Shader.hpp>`

Inheritance diagram for vl::PixelTransfer:

List of all members.

## Public Member Functions

| PixelTransfer ()
virtual const char * | className ()
| Returns the name of the class.
virtual ERenderState | type () const
virtual void | apply (const Camera *) const
bool | mapColor () const
bool | mapStencil () const
int | indexShift () const
int | indexOffset () const
float | redScale () const
float | greenScale () const
float | blueScale () const
float | alphaScale () const
float | depthScale () const
float | redBias () const
float | greenBias () const
float | blueBias () const
float | alphaBias () const
float | depthBias () const
float | postColorMatrixRedScale () const
float | postColorMatrixGreenScale () const
float | postColorMatrixBlueScale () const
float | postColorMatrixAlphaScale () const
float | postColorMatrixRedBias () const
float | postColorMatrixGreenBias () const
float | postColorMatrixBlueBias () const
float | postColorMatrixAlphaBias () const
float | postConvolutionRedScale () const
float | postConvolutionGreenScale () const
float | postConvolutionBlueScale () const
float | postConvolutionAlphaScale () const
float | postConvolutionRedBias () const
float | postConvolutionGreenBias () const
float | postConvolutionBlueBias () const
float | postConvolutionAlphaBias () const
void | setMapColor (bool map_color)
void | setMapStencil (bool map_stencil)
void | setIndexShift (int index_shift)
void | setIndexOffset (int index_offset)
void | setRedScale (float red_scale)
void | setGreenScale (float green_scale)
void | setBlueScale (float blue_scale)
void | setAlphaScale (float alpha_scale)
void | setDepthScale (float depth_scale)
void | setRedBias (float red_bias)
void | setGreenBias (float green_bias)
void | setBlueBias (float blue_bias)
void | setAlphaBias (float alpha_bias)
void | setDepthBias (float depth_bias)
void | setPostColorMatrixRedScale (float scale)
void | setPostColorMatrixGreenScale (float scale)
void | setPostColorMatrixBlueScale (float scale)
void | setPostColorMatrixAlphaScale (float scale)
void | setPostColorMatrixRedBias (float bias)
void | setPostColorMatrixGreenBias (float bias)
void | setPostColorMatrixBlueBias (float bias)
void | setPostColorMatrixAlphaBias (float bias)
void | setPostConvolutionRedScale (float scale)
void | setPostConvolutionGreenScale (float scale)
void | setPostConvolutionBlueScale (float scale)
void | setPostConvolutionAlphaScale (float scale)
void | setPostConvolutionRedBias (float bias)
void | setPostConvolutionGreenBias (float bias)
void | setPostConvolutionBlueBias (float bias)
void | setPostConvolutionAlphaBias (float bias)

## Protected Attributes

bool | mMapColor
bool | mMapStencil
int | mIndexShift
int | mIndexOffset
float | mRedScale
float | mGreenScale
float | mBlueScale
float | mAlphaScale
float | mDepthScale
float | mRedBias
float | mGreenBias
float | mBlueBias
float | mAlphaBias
float | mDepthBias
float | mPostColorMatrixRedScale
float | mPostColorMatrixGreenScale
float | mPostColorMatrixBlueScale
float | mPostColorMatrixAlphaScale
float | mPostColorMatrixRedBias
float | mPostColorMatrixGreenBias
float | mPostColorMatrixBlueBias
float | mPostColorMatrixAlphaBias
float | mPostConvolutionRedScale
float | mPostConvolutionGreenScale
float | mPostConvolutionBlueScale
float | mPostConvolutionAlphaScale
float | mPostConvolutionRedBias
float | mPostConvolutionGreenBias
float | mPostConvolutionBlueBias
float | mPostConvolutionAlphaBias

## Detailed Description

Wraps the OpenGL function glPixelTransfer(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPixelTransfer.xml for more information.

See also:
  Shader, Effect, Actor

## Constructor & Destructor Documentation

vl::PixelTransfer::PixelTransfer | ( |  | ) | `[inline]`

## Member Function Documentation

virtual const char* vl::PixelTransfer::className | ( |  | ) | `[inline, virtual]`

Returns the name of the class.

Reimplemented from vl::RenderState.

virtual ERenderState vl::PixelTransfer::type | ( |  | ) | const`[inline, virtual]`

Reimplemented from vl::RenderState.

void PixelTransfer::apply | ( | const Camera * |  | ) | const`[virtual]`

Implements vl::RenderState.

bool vl::PixelTransfer::mapColor | ( |  | ) | const`[inline]`

bool vl::PixelTransfer::mapStencil | ( |  | ) | const`[inline]`

int vl::PixelTransfer::indexShift | ( |  | ) | const`[inline]`

int vl::PixelTransfer::indexOffset | ( |  | ) | const`[inline]`

float vl::PixelTransfer::redScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::greenScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::blueScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::alphaScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::depthScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::redBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::greenBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::blueBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::alphaBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::depthBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postColorMatrixRedScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postColorMatrixGreenScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postColorMatrixBlueScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postColorMatrixAlphaScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postColorMatrixRedBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postColorMatrixGreenBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postColorMatrixBlueBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postColorMatrixAlphaBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postConvolutionRedScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postConvolutionGreenScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postConvolutionBlueScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postConvolutionAlphaScale | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postConvolutionRedBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postConvolutionGreenBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postConvolutionBlueBias | ( |  | ) | const`[inline]`

float vl::PixelTransfer::postConvolutionAlphaBias | ( |  | ) | const`[inline]`

void vl::PixelTransfer::setMapColor | ( | bool | map_color | ) | `[inline]`

void vl::PixelTransfer::setMapStencil | ( | bool | map_stencil | ) | `[inline]`

void vl::PixelTransfer::setIndexShift | ( | int | index_shift | ) | `[inline]`

void vl::PixelTransfer::setIndexOffset | ( | int | index_offset | ) | `[inline]`

void vl::PixelTransfer::setRedScale | ( | float | red_scale | ) | `[inline]`

void vl::PixelTransfer::setGreenScale | ( | float | green_scale | ) | `[inline]`

void vl::PixelTransfer::setBlueScale | ( | float | blue_scale | ) | `[inline]`

void vl::PixelTransfer::setAlphaScale | ( | float | alpha_scale | ) | `[inline]`

void vl::PixelTransfer::setDepthScale | ( | float | depth_scale | ) | `[inline]`

void vl::PixelTransfer::setRedBias | ( | float | red_bias | ) | `[inline]`

void vl::PixelTransfer::setGreenBias | ( | float | green_bias | ) | `[inline]`

void vl::PixelTransfer::setBlueBias | ( | float | blue_bias | ) | `[inline]`

void vl::PixelTransfer::setAlphaBias | ( | float | alpha_bias | ) | `[inline]`

void vl::PixelTransfer::setDepthBias | ( | float | depth_bias | ) | `[inline]`

void vl::PixelTransfer::setPostColorMatrixRedScale | ( | float | scale | ) | `[inline]`

void vl::PixelTransfer::setPostColorMatrixGreenScale | ( | float | scale | ) | `[inline]`

void vl::PixelTransfer::setPostColorMatrixBlueScale | ( | float | scale | ) | `[inline]`

void vl::PixelTransfer::setPostColorMatrixAlphaScale | ( | float | scale | ) | `[inline]`

void vl::PixelTransfer::setPostColorMatrixRedBias | ( | float | bias | ) | `[inline]`

void vl::PixelTransfer::setPostColorMatrixGreenBias | ( | float | bias | ) | `[inline]`

void vl::PixelTransfer::setPostColorMatrixBlueBias | ( | float | bias | ) | `[inline]`

void vl::PixelTransfer::setPostColorMatrixAlphaBias | ( | float | bias | ) | `[inline]`

void vl::PixelTransfer::setPostConvolutionRedScale | ( | float | scale | ) | `[inline]`

void vl::PixelTransfer::setPostConvolutionGreenScale | ( | float | scale | ) | `[inline]`

void vl::PixelTransfer::setPostConvolutionBlueScale | ( | float | scale | ) | `[inline]`

void vl::PixelTransfer::setPostConvolutionAlphaScale | ( | float | scale | ) | `[inline]`

void vl::PixelTransfer::setPostConvolutionRedBias | ( | float | bias | ) | `[inline]`

void vl::PixelTransfer::setPostConvolutionGreenBias | ( | float | bias | ) | `[inline]`

void vl::PixelTransfer::setPostConvolutionBlueBias | ( | float | bias | ) | `[inline]`

void vl::PixelTransfer::setPostConvolutionAlphaBias | ( | float | bias | ) | `[inline]`

## Member Data Documentation

bool vl::PixelTransfer::mMapColor`[protected]`

bool vl::PixelTransfer::mMapStencil`[protected]`

int vl::PixelTransfer::mIndexShift`[protected]`

int vl::PixelTransfer::mIndexOffset`[protected]`

float vl::PixelTransfer::mRedScale`[protected]`

float vl::PixelTransfer::mGreenScale`[protected]`

float vl::PixelTransfer::mBlueScale`[protected]`

float vl::PixelTransfer::mAlphaScale`[protected]`

float vl::PixelTransfer::mDepthScale`[protected]`

float vl::PixelTransfer::mRedBias`[protected]`

float vl::PixelTransfer::mGreenBias`[protected]`

float vl::PixelTransfer::mBlueBias`[protected]`

float vl::PixelTransfer::mAlphaBias`[protected]`

float vl::PixelTransfer::mDepthBias`[protected]`

float vl::PixelTransfer::mPostColorMatrixRedScale`[protected]`

float vl::PixelTransfer::mPostColorMatrixGreenScale`[protected]`

float vl::PixelTransfer::mPostColorMatrixBlueScale`[protected]`

float vl::PixelTransfer::mPostColorMatrixAlphaScale`[protected]`

float vl::PixelTransfer::mPostColorMatrixRedBias`[protected]`

float vl::PixelTransfer::mPostColorMatrixGreenBias`[protected]`

float vl::PixelTransfer::mPostColorMatrixBlueBias`[protected]`

float vl::PixelTransfer::mPostColorMatrixAlphaBias`[protected]`

float vl::PixelTransfer::mPostConvolutionRedScale`[protected]`

float vl::PixelTransfer::mPostConvolutionGreenScale`[protected]`

float vl::PixelTransfer::mPostConvolutionBlueScale`[protected]`

float vl::PixelTransfer::mPostConvolutionAlphaScale`[protected]`

float vl::PixelTransfer::mPostConvolutionRedBias`[protected]`

float vl::PixelTransfer::mPostConvolutionGreenBias`[protected]`

float vl::PixelTransfer::mPostConvolutionBlueBias`[protected]`

float vl::PixelTransfer::mPostConvolutionAlphaBias`[protected]`

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

- E:/VisualizationLibrary/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Shader.hpp
- E:/VisualizationLibrary/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Shader.cpp

Visualization Library v2009.07 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Mon Aug 10 21:41:40 2009.
Permission is granted to use this page to write and publish articles regarding Visualization Library.