VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends
makVrv::DtTransformFrameTaskElement Class Reference

A DtTransformFrameTaskElement instance will create a pipeline element that can flip, scale, and/or resample the image being streamed.

Inheritance diagram for makVrv::DtTransformFrameTaskElement:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtTransformFrameTaskElement ()
 
virtual bool shouldFlipVertically () const
 
virtual void setShouldFlipVertically (bool flip)
 
virtual bool shouldFlipHorizontally () const
 
virtual void setShouldFlipHorizontally (bool flip)
 
virtual bool shouldScale () const
 
virtual void setShouldScale (bool scale)
 
virtual int scaleX () const
 
virtual void setScaleX (int scaleX)
 
virtual int scaleY () const
 
virtual void setScaleY (int scaleY)
 
virtual bool shouldResample () const
 
virtual void setShouldResample (bool resample)
 
virtual int bitsPerPixel () const
 
virtual void setBitsPerPixel (int bpp)
 
virtual void setShouldRotate (bool rotate)
 
virtual bool shouldRotate () const
 
virtual void setRotationAngle (float degrees)
 
virtual float rotationAngle () const
 
void setFromRecord (const makArchives::DtImageTaskRecord &config)
 
- Public Member Functions inherited from makVrv::DtImageTaskElement
virtual ~DtImageTaskElement ()
 
virtual bool configure ()
 
void preFrame ()
 
void processFrame (DtVideoFrameBuffer *frame)
 
void postFrame ()
 
virtual void attach (DtImageTaskElement *next)
 

Protected Member Functions

 DtTransformFrameTaskElement (DtDe &, DtProcessImageTask *owningTask)
 
void handleProcessFrame (DtVideoFrameBuffer *frame)
 
- Protected Member Functions inherited from makVrv::DtImageTaskElement
 DtImageTaskElement (DtDe &de, DtProcessImageTask *owningTask)
 
virtual void handlePreFrame ()
 
virtual void handlePostFrame ()
 

Protected Attributes

bool myShouldFlipVertically
 
bool myShouldFlipHorizontally
 
bool myShouldScale
 
bool myShouldResample
 
bool myShouldRotate
 
int myScaleX
 
int myScaleY
 
int myBitsPerPixel
 
float myRotateAngle
 
- Protected Attributes inherited from makVrv::DtImageTaskElement
DtDemyDe
 
DtProcessImageTaskmyOwningTask
 
DtImageTaskElementmyNextElement
 

Private Member Functions

 DtTransformFrameTaskElement ()
 
 DtTransformFrameTaskElement (const DtTransformFrameTaskElement &orig)
 
DtTransformFrameTaskElementoperator= (const DtTransformFrameTaskElement &rhs)
 

Friends

class DtTransformFrameTaskElementCreator
 

Constructor & Destructor Documentation

virtual makVrv::DtTransformFrameTaskElement::~DtTransformFrameTaskElement ( )
virtual

DTOR.

makVrv::DtTransformFrameTaskElement::DtTransformFrameTaskElement ( DtDe ,
DtProcessImageTask owningTask 
)
protected

CTOR (protected)

makVrv::DtTransformFrameTaskElement::DtTransformFrameTaskElement ( )
private

Default CTOR (unimplemented)

makVrv::DtTransformFrameTaskElement::DtTransformFrameTaskElement ( const DtTransformFrameTaskElement orig)
private

Copy CTOR (unimplemented)

Member Function Documentation

virtual bool makVrv::DtTransformFrameTaskElement::shouldFlipVertically ( ) const
virtual

Get whether the image should be flipped vertically.

virtual void makVrv::DtTransformFrameTaskElement::setShouldFlipVertically ( bool  flip)
virtual

Set whether the image should be flipped vertically.

virtual bool makVrv::DtTransformFrameTaskElement::shouldFlipHorizontally ( ) const
virtual

Get whether the image should be flipped horizontally.

virtual void makVrv::DtTransformFrameTaskElement::setShouldFlipHorizontally ( bool  flip)
virtual

Set whether the image should be flipped horizontally.

virtual bool makVrv::DtTransformFrameTaskElement::shouldScale ( ) const
virtual

Get when the image should be scaled.

virtual void makVrv::DtTransformFrameTaskElement::setShouldScale ( bool  scale)
virtual

Set when the image should be scaled.

virtual int makVrv::DtTransformFrameTaskElement::scaleX ( ) const
virtual

If the image is scaled, get the scale x value.

virtual void makVrv::DtTransformFrameTaskElement::setScaleX ( int  scaleX)
virtual

If the image is scaled, set the scale x value.

virtual int makVrv::DtTransformFrameTaskElement::scaleY ( ) const
virtual

If the image is scaled, get the scale y value.

virtual void makVrv::DtTransformFrameTaskElement::setScaleY ( int  scaleY)
virtual

If the image is scaled, set the scale y value.

virtual bool makVrv::DtTransformFrameTaskElement::shouldResample ( ) const
virtual

Get whether the image should be resampled.

virtual void makVrv::DtTransformFrameTaskElement::setShouldResample ( bool  resample)
virtual

Set whether the image should be resampled.

virtual int makVrv::DtTransformFrameTaskElement::bitsPerPixel ( ) const
virtual

if the image is resampled, get the target bits per pixel

virtual void makVrv::DtTransformFrameTaskElement::setBitsPerPixel ( int  bpp)
virtual

if the image is resampled, set the target bits per pixel

virtual void makVrv::DtTransformFrameTaskElement::setShouldRotate ( bool  rotate)
virtual

Set when the image should be rotated.

virtual bool makVrv::DtTransformFrameTaskElement::shouldRotate ( ) const
virtual

Get whether the image should be rotated.

virtual void makVrv::DtTransformFrameTaskElement::setRotationAngle ( float  degrees)
virtual

Set the rotation angle in degrees.

virtual float makVrv::DtTransformFrameTaskElement::rotationAngle ( ) const
virtual

Get the rotation angle in degrees.

void makVrv::DtTransformFrameTaskElement::setFromRecord ( const makArchives::DtImageTaskRecord config)
virtual

Initialize the transform task from a DtImageTaskRecord.

Reimplemented from makVrv::DtImageTaskElement.

void makVrv::DtTransformFrameTaskElement::handleProcessFrame ( DtVideoFrameBuffer frame)
protectedvirtual

Process the frame image.

Implements makVrv::DtImageTaskElement.

DtTransformFrameTaskElement& makVrv::DtTransformFrameTaskElement::operator= ( const DtTransformFrameTaskElement rhs)
private

Assignment operator (unimplemented)

Friends And Related Function Documentation

Friend creator class, the only class that can construct an instance of this DtTransformFrameTaskElement.

Member Data Documentation

bool makVrv::DtTransformFrameTaskElement::myShouldFlipVertically
protected
bool makVrv::DtTransformFrameTaskElement::myShouldFlipHorizontally
protected
bool makVrv::DtTransformFrameTaskElement::myShouldScale
protected
bool makVrv::DtTransformFrameTaskElement::myShouldResample
protected
bool makVrv::DtTransformFrameTaskElement::myShouldRotate
protected
int makVrv::DtTransformFrameTaskElement::myScaleX
protected
int makVrv::DtTransformFrameTaskElement::myScaleY
protected
int makVrv::DtTransformFrameTaskElement::myBitsPerPixel
protected
float makVrv::DtTransformFrameTaskElement::myRotateAngle
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)