RiImageWindow[ Gui | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]
| public: | |
| // Constructors and assignment | |
| RiImageWindow(); | |
| // Accessors | |
| // GROUP: Accessors | |
| void | SetImage(int imgW, int imgH, unsigned char *data); |
| // Members | |
| protected: | |
| void | Redraw(); |
RiImageWindow();
Default Constructor
RiImageWindow();
void SetImage(int imgW, int imgH, unsigned char *data);
virtual void Redraw();
| 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); | |
| // GROUP: Accessors | ||
| void | SetImage(int imgW, int imgH, unsigned char *data); | |
| 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(); | |