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

Attribute Interface class to copy attribute data. More...

#include <GA_AIFCopyData.h>

Public Member Functions

 GA_AIFCopyData ()
 
virtual ~GA_AIFCopyData ()
 
virtual bool copy (GA_Attribute &d, GA_Offset di, const GA_Attribute &s, GA_Offset si) const =0
 Copy attribute values for a single element. More...
 
virtual bool copy (GA_Attribute &d, const GA_Range &di, const GA_Attribute &s, const GA_Range &si) const =0
 
virtual bool fill (GA_Attribute &d, const GA_Range &di, const GA_Attribute &s, GA_Offset si) const
 

Protected Member Functions

bool parallelCopy (GA_Attribute &d, const GA_Range &di, const GA_Attribute &s, const GA_Range &si) const
 
bool tupleCopy (const GA_AIFTuple *tuple, GA_Attribute &d, GA_Offset di, const GA_Attribute &s, GA_Offset si) const
 
bool tupleCopy (const GA_AIFTuple *tuple, GA_Attribute &d, const GA_Range &di, const GA_Attribute &s, const GA_Range &si) const
 
bool tupleCopy (const GA_AIFStringTuple *tuple, GA_Attribute &d, GA_Offset di, const GA_Attribute &s, GA_Offset si) const
 
bool tupleCopy (const GA_AIFStringTuple *tuple, GA_Attribute &d, const GA_Range &di, const GA_Attribute &s, const GA_Range &si) const
 

Detailed Description

Attribute Interface class to copy attribute data.

Copy

Examples:
RAY/RAY_DemoSprite.C.

Definition at line 25 of file GA_AIFCopyData.h.

Constructor & Destructor Documentation

GA_AIFCopyData::GA_AIFCopyData ( )
inline

Definition at line 28 of file GA_AIFCopyData.h.

virtual GA_AIFCopyData::~GA_AIFCopyData ( )
virtual

Member Function Documentation

virtual bool GA_AIFCopyData::copy ( GA_Attribute d,
GA_Offset  di,
const GA_Attribute s,
GA_Offset  si 
) const
pure virtual

Copy attribute values for a single element.

Examples:
RAY/RAY_DemoSprite.C.
virtual bool GA_AIFCopyData::copy ( GA_Attribute d,
const GA_Range di,
const GA_Attribute s,
const GA_Range si 
) const
pure virtual

Copy attribute values for a range of elements. See the parallelCopy() method.

virtual bool GA_AIFCopyData::fill ( GA_Attribute d,
const GA_Range di,
const GA_Attribute s,
GA_Offset  si 
) const
virtual

Assign all elements of a range from a single attribute value.

Note
The default implementation just calls copy() for each element in the destination range.
bool GA_AIFCopyData::parallelCopy ( GA_Attribute d,
const GA_Range di,
const GA_Attribute s,
const GA_Range si 
) const
protected

Convenience method to perform a parallel copy (by calling the individual copy multiple times).

bool GA_AIFCopyData::tupleCopy ( const GA_AIFTuple tuple,
GA_Attribute d,
GA_Offset  di,
const GA_Attribute s,
GA_Offset  si 
) const
protected

Convenience method to copy data using the AIFTuple interface. Data is copied using the highest precision floating point format

bool GA_AIFCopyData::tupleCopy ( const GA_AIFTuple tuple,
GA_Attribute d,
const GA_Range di,
const GA_Attribute s,
const GA_Range si 
) const
protected

Convenience method to copy data using the AIFTuple interface. Data is copied using the highest precision floating point format

bool GA_AIFCopyData::tupleCopy ( const GA_AIFStringTuple tuple,
GA_Attribute d,
GA_Offset  di,
const GA_Attribute s,
GA_Offset  si 
) const
protected

Convenience method to copy data using the AIFStringTuple interface. Data is copied using the highest precision floating point format

bool GA_AIFCopyData::tupleCopy ( const GA_AIFStringTuple tuple,
GA_Attribute d,
const GA_Range di,
const GA_Attribute s,
const GA_Range si 
) const
protected

Convenience method to copy data using the AIFStringTuple interface. Data is copied using the highest precision floating point format


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