~ubuntu-branches/ubuntu/warty/aqsis/warty

« back to all changes in this revision

Viewing changes to render/itransform.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:25:04 UTC
  • Revision ID: james.westby@ubuntu.com-20040824072504-zf993vnevvisdsvb
Tags: upstream-0.9.1
ImportĀ upstreamĀ versionĀ 0.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//------------------------------------------------------------------------------
 
2
/**
 
3
 *      @file   itransform.h
 
4
 *      @author Authors name
 
5
 *      @brief  Brief description of the file contents
 
6
 *
 
7
 *      Last change by:         $Author: pgregory $
 
8
 *      Last change date:       $Date: 2004/03/23 22:26:55 $
 
9
 */ 
 
10
//------------------------------------------------------------------------------
 
11
#ifndef ___itransform_Loaded___
 
12
#define ___itransform_Loaded___
 
13
 
 
14
#include        "aqsis.h"
 
15
 
 
16
START_NAMESPACE( Aqsis )
 
17
 
 
18
struct IqTransform
 
19
{
 
20
    virtual     ~IqTransform()
 
21
    {}
 
22
 
 
23
    /** Get a writable copy of this, if the reference count is greater than 1
 
24
     * create a new copy and retirn that.
 
25
     */
 
26
    virtual void        SetCurrentTransform( TqFloat time, const CqMatrix& matTrans ) = 0;;
 
27
    virtual     void    ConcatCurrentTransform( TqFloat time, const CqMatrix& matTrans ) = 0;
 
28
    virtual     const CqMatrix& matObjectToWorld( TqFloat time ) const = 0;
 
29
    virtual     TqFloat Time( TqInt index ) const = 0;
 
30
    virtual     TqInt   cTimes() const = 0;
 
31
        /** Set the handedness of the current transform 
 
32
         */
 
33
        virtual TqBool GetHandedness(TqFloat time) const=0;
 
34
        /** Flip the handedness of the current coordinate system.
 
35
         */
 
36
        virtual void FlipHandedness(TqFloat time)=0;
 
37
 
 
38
#ifndef _DEBUG
 
39
    virtual     void    Release() = 0;
 
40
    virtual     void    AddRef() = 0;
 
41
#else
 
42
    virtual void AddRef(const TqChar* file, TqInt line) = 0;
 
43
    virtual void Release(const TqChar* file, TqInt line) = 0;
 
44
#endif
 
45
};
 
46
 
 
47
 
 
48
 
 
49
 
 
50
END_NAMESPACE( Aqsis )
 
51
 
 
52
 
 
53
#endif  //      ___itransform_Loaded___