osgPPU::UnitInResampleOut Class Reference

Same as UnitInOut but do resampling inbetween. More...

Inheritance diagram for osgPPU::UnitInResampleOut:

osgPPU::UnitInOut osgPPU::Unit

Public Member Functions

 META_Node (osgPPU, UnitInResampleOut)
 UnitInResampleOut ()
 Create default ppfx.
 UnitInResampleOut (const UnitInResampleOut &, const osg::CopyOp &copyop=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

Detailed Description

Same as UnitInOut but do resampling inbetween.

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.


Member Function Documentation

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.


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

Back to Homepage of osgPPU

Copyright (C) 2008 by Art Tevs (LGPL)