MyTrans

Class intended to expand the ReferenceFrame class for usage in the filter architecture. This class carries beside the minimal transformation information a small overhead which enables the filter architecture to keep track over the transformation through the algorithm and collect statistics on the transformation at each phase.

[ FilterKit | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

AUTHORS
GOALS
USAGE

Class Summary

class MyTrans:public ReferenceFrame
{
public:
MyTrans(char *line, FileReader& fr);
Rotation3 GetRot3() ;
Vector3 GetTrans() ;
void SetRot3(const Rotation3& r) ;
void SetTrans(const Vector3& v) ;
const float GetScore() ;
void SetScore(float s) ;
float GetScore2(float s) ;
void SetScore2(float s) ;
void Write(int index, FileReader& fr);
MyTrans& operator=(ReferenceFrame& rf)
friend bool operator<(const MyTrans &t1, const MyTrans &t2) ;
protected:
}; // MyTrans

Back to the top of MyTrans


AUTHORS

Ram Nathaniel. (ramn@math.tau.ac.il)

Copyright: SAMBA group, Tel-Aviv Univ. Israel, 1999.

Back to the top of MyTrans


GOALS

Enable the user to manipulate transformations with the overhead of the fileter architecture in a see through way.

Back to the top of MyTrans


USAGE

Construction can be done using a TRANS line in the input file and a FileReader object which matches the input file structure. For more details see the filter architecture documentation and the skeleton filter program.

Back to the top of MyTrans


MyTrans(char *line, FileReader& fr);

constructor off the file

    MyTrans(char *line, FileReader& fr);

Back to the top of MyTrans


Rotation3 GetRot3() ;

Get the Rotation3 - which is private in ReferenceFrame

    inline Rotation3 GetRot3()             
;

Function is currently defined inline.


Back to the top of MyTrans


Vector3 GetTrans() ;

Get the translation vector - which is private in ReferenceFrame

    inline Vector3 GetTrans()               
;

Function is currently defined inline.


Back to the top of MyTrans


void SetRot3(const Rotation3& r) ;

Set the Rotation3 - which is private in ReferenceFrame

    inline void SetRot3(const Rotation3& r)          
;

Function is currently defined inline.


Back to the top of MyTrans


void SetTrans(const Vector3& v) ;

Set the translation vector - which is private in ReferenceFrame

    inline void SetTrans(const Vector3& v)          
;

Function is currently defined inline.


Back to the top of MyTrans


const float GetScore() ;

Get the score of the transformation

    const inline float GetScore()               
;

Function is currently defined inline.


Back to the top of MyTrans


void SetScore(float s) ;

Set the score of the transformation

    inline void SetScore(float s)          
;

Function is currently defined inline.


Back to the top of MyTrans


float GetScore2(float s) ;

Get the Score2 of the transformation

    inline float GetScore2(float s)                
;

Function is currently defined inline.


Back to the top of MyTrans


void SetScore2(float s) ;

Set the Score2 of the transformation

    inline void SetScore2(float s)           
;

Function is currently defined inline.


Back to the top of MyTrans


void Write(int index, FileReader& fr);

output the transformation to cout

    void Write(int index, FileReader& fr);

Back to the top of MyTrans


MyTrans& operator=(ReferenceFrame& rf)

    MyTrans& operator=(ReferenceFrame& rf)                                                             

Back to the top of MyTrans


friend bool operator<(const MyTrans &t1, const MyTrans &t2) ;

order operator for sorting with stl vector sort.

    friend bool operator<(const MyTrans &t1, const MyTrans &t2)                                           
;

Function is currently defined inline.


Back to the top of MyTrans


All Members

public:
Rotation3 GetRot3() ;
Vector3 GetTrans() ;
void SetRot3(const Rotation3& r) ;
void SetTrans(const Vector3& v) ;
const float GetScore() ;
void SetScore(float s) ;
float GetScore2(float s) ;
void SetScore2(float s) ;
void Write(int index, FileReader& fr);
MyTrans& operator=(ReferenceFrame& rf)
friend bool operator<(const MyTrans &t1, const MyTrans &t2) ;
protected:

Back to the top of MyTrans


Ancestors

Inheritance chain for MyTrans:

Back to the top of MyTrans


Descendants

Class is not inherited by any others.

Back to the top of MyTrans


Generated from source by the Cocoon utilities on Thu Jan 28 14:36:44 1999 .

Report problems to jkotula@unimax.com