HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HUSD_Compositor Class Referenceabstract

#include <HUSD_Compositor.h>

Public Member Functions

 HUSD_Compositor ()
 
virtual ~HUSD_Compositor ()
 
void setResolution (int w, int h)
 
int width () const
 
int height () const
 
virtual void updateColorBuffer (void *data, PXL_DataFormat df, int num_components)=0
 
virtual void updateColorTexture (int id)
 
virtual void updateDepthBuffer (void *data, PXL_DataFormat df, int num_components)=0
 
virtual void updateDepthTexture (int id)
 
virtual void updatePrimIDBuffer (void *data, PXL_DataFormat df, bool stealdata=false, bool keeptexture=false)=0
 
virtual void updatePrimIDTexture (int id)
 
virtual void updateInstanceIDBuffer (void *data, PXL_DataFormat df, bool stealdata=false, bool keeptexture=false)=0
 
virtual void updateInstIDTexture (int id)
 
virtual const PXL_RasterprimID () const =0
 
virtual const PXL_RasterinstanceID () const =0
 
virtual void saveBuffers (const UT_StringHolder &colorfile, const UT_StringHolder &depthfile) const
 

Protected Attributes

int myWidth
 
int myHeight
 

Detailed Description

Definition at line 24 of file HUSD_Compositor.h.

Constructor & Destructor Documentation

HUSD_Compositor::HUSD_Compositor ( )
inline

Definition at line 27 of file HUSD_Compositor.h.

virtual HUSD_Compositor::~HUSD_Compositor ( )
inlinevirtual

Definition at line 30 of file HUSD_Compositor.h.

Member Function Documentation

int HUSD_Compositor::height ( ) const
inline

Definition at line 37 of file HUSD_Compositor.h.

virtual const PXL_Raster* HUSD_Compositor::instanceID ( ) const
pure virtual
virtual const PXL_Raster* HUSD_Compositor::primID ( ) const
pure virtual
virtual void HUSD_Compositor::saveBuffers ( const UT_StringHolder colorfile,
const UT_StringHolder depthfile 
) const
inlinevirtual

Definition at line 70 of file HUSD_Compositor.h.

void HUSD_Compositor::setResolution ( int  w,
int  h 
)
inline

Definition at line 33 of file HUSD_Compositor.h.

virtual void HUSD_Compositor::updateColorBuffer ( void data,
PXL_DataFormat  df,
int  num_components 
)
pure virtual
virtual void HUSD_Compositor::updateColorTexture ( int  id)
inlinevirtual

Definition at line 44 of file HUSD_Compositor.h.

virtual void HUSD_Compositor::updateDepthBuffer ( void data,
PXL_DataFormat  df,
int  num_components 
)
pure virtual
virtual void HUSD_Compositor::updateDepthTexture ( int  id)
inlinevirtual

Definition at line 50 of file HUSD_Compositor.h.

virtual void HUSD_Compositor::updateInstanceIDBuffer ( void data,
PXL_DataFormat  df,
bool  stealdata = false,
bool  keeptexture = false 
)
pure virtual
virtual void HUSD_Compositor::updateInstIDTexture ( int  id)
inlinevirtual

Definition at line 63 of file HUSD_Compositor.h.

virtual void HUSD_Compositor::updatePrimIDBuffer ( void data,
PXL_DataFormat  df,
bool  stealdata = false,
bool  keeptexture = false 
)
pure virtual
virtual void HUSD_Compositor::updatePrimIDTexture ( int  id)
inlinevirtual

Definition at line 57 of file HUSD_Compositor.h.

int HUSD_Compositor::width ( ) const
inline

Definition at line 35 of file HUSD_Compositor.h.

Member Data Documentation

int HUSD_Compositor::myHeight
protected

Definition at line 76 of file HUSD_Compositor.h.

int HUSD_Compositor::myWidth
protected

Definition at line 75 of file HUSD_Compositor.h.


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