Public Member Functions | |
META_Node (osgPPU, UnitInResampleOut) | |
UnitInResampleOut () | |
Create default ppfx. | |
UnitInResampleOut (const UnitInResampleOut &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
virtual | ~UnitInResampleOut () |
Release it and used memory. | |
void | setFactorX (float x) |
Set resampling factor. | |
void | setFactorY (float Y) |
Set resampling factor. | |
float | getFactorX () const |
Get resampling factor. | |
float | getFactorY () const |
Get resampling factor. | |
void | init () |
Initialze the default Processor unit. | |
void | dirty () |
Protected Attributes | |
float | mWidthFactor |
float | mHeightFactor |
bool | mDirtyFactor |
Resample the input. This PPU will render the input data resampled to the output. Next PPU will work on the resampled one. NOTE: You loose information in your data after appling this PPU.
void osgPPU::UnitInResampleOut::dirty | ( | ) | [virtual] |
Mark this unit as dirty. This will force it to resetup its data on next update. Also every child unit will be marked as dirty. This yields of reinitialization of children units on next update method too.
Reimplemented from osgPPU::Unit.
Copyright (C) 2008 by Art Tevs (LGPL)