Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

positionfile.h

Go to the documentation of this file.
00001 #ifndef __POSITIONFILE_H
00002 #define __POSITIONFILE_H
00003 
00004 #include "position.h"
00005 
00006 //#ifndef __FILETREE_H
00007 class FileTree;
00008 //#endif
00009 
00010 #ifndef __POSITIONDIR_H
00011 class PositionDir;
00012 #endif
00013 
00014 // Macros
00016 
00017 #define siblingFiles            (relatives[0])
00018 #define parentFiles             (relatives[1])
00019 #define numSiblingFiles         (numRelatives[0])
00020 #define numParentFiles          (numRelatives[1])
00021 
00023 // Type Definitions
00025 
00027 
00032 class PositionFile : public Position
00033 {
00034 public:
00035         PositionFile();
00036         PositionFile(FileTree *owner);
00037         virtual ~PositionFile();
00038         virtual void calculatePosition();
00039         virtual void updateRelations();
00040         virtual GLfloat getTrueX();
00041         virtual GLfloat getTrueY();
00042         virtual GLfloat getTrueZ();
00043         virtual int getTrueSizeX();
00044         virtual int getTrueSizeY();
00045         virtual int getTrueSizeZ();
00046         virtual int getMinTrueSizeX();
00047         virtual int getMinTrueSizeY();
00048         virtual int getMinTrueSizeZ();
00049         virtual int getMaxTrueSizeX();
00050         virtual int getMaxTrueSizeY();
00051         virtual int getMaxTrueSizeZ();
00052 
00053 private:
00054         PositionDir *parentLoc;
00055         FileTree *myOwner;
00056         int numToLeft;
00057 
00058 };
00059 
00060 #endif

Generated on Sat Aug 28 10:33:23 2004 by doxygen 1.3.6