You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rendertarget.h 230B

1234567891011121314151617181920
  1. /*
  2. * Rendertarget like an FBO or window
  3. */
  4. #pragma once
  5. namespace vtk {
  6. class RenderTarget {
  7. public:
  8. virtual void activate() = 0;
  9. double getAspect();
  10. int width();
  11. int height();
  12. protected:
  13. int mWidth;
  14. int mHeight;
  15. };
  16. }