Ri2DWindow[ Gui | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]
| public: | |
| // Constructors and assignment | |
| Ri2DWindow(int sizeX , int sizeY , int posX , int posY ); | |
| // Accessors | |
| void | SetTranslateFraction(RiReal newFraction); |
| void | SetScaleBase(RiReal newBase); |
| // Members | |
| protected: | |
| void | PrintHelp(); |
| void | Keyboard(unsigned char key, int x, int y); |
| void | Reshape(); |
| void | DoOpen(); |
| void | DoSetSize(); |
| RiReal | GetTranslateX(); |
| RiReal | GetTranslateY(); |
| RiReal | GetScale(); |
Ri2DWindow(int sizeX , int sizeY , int posX , int posY );
Default Constructor
Ri2DWindow(int sizeX = -1, int sizeY = -1, int posX = -1, int posY = -1);
void SetTranslateFraction(RiReal newFraction);
void SetScaleBase(RiReal newBase);
virtual void PrintHelp();
virtual void Keyboard(unsigned char key, int x, int y);
virtual void Reshape();
virtual void DoOpen();
virtual void DoSetSize();
RiReal GetTranslateX();
RiReal GetTranslateY();
RiReal GetScale();
| public: | ||
|---|---|---|
| // Accessors | ||
| int | GetWidth(); | |
| int | GetHeight(); | |
| int | GetXPosition(); | |
| int | GetYPosition(); | |
| // Members | ||
| void | Open(const char *name); | |
| void | Close(); | |
| void | Save(); | |
| void | NeedsRedraw(); | |
| void | SetSize(int width, int height); | |
| void | AddTimeout(int ms); | |
| static int | GetNumOpenWindows(); | |
| // Accessors | ||
| void | SetTranslateFraction(RiReal newFraction); | |
| void | SetScaleBase(RiReal newBase); | |
| protected: | ||
| void | PrintHelp(); | |
| void | MakeCurrent(); | |
| void | Keyboard(unsigned char key, int x, int y); | |
| void | Mouse(int button, int state, int x, int y); | |
| int | Timeout(); | |
| void | Redraw(); | |
| void | Reshape(); | |
| void | DoOpen(); | |
| void | DoClose(); | |
| void | DoSave(); | |
| void | DoNeedsRedraw(); | |
| void | DoSetSize(); | |
| void | DoAddTimeout(); | |
| static void | InsertAction(const RiWindowAction &act); | |
| static void | GuiLock(); | |
| static void | GuiUnlock(); | |
| static RiWindow * | GetCurrentWindow(); | |
| RiReal | GetTranslateX(); | |
| RiReal | GetTranslateY(); | |
| RiReal | GetScale(); | |