Module omix.api

Interface MoviePaintDeviceInterface

All Superinterfaces:
PaintDeviceInterface, QPaintDevice, QtObjectInterface

public interface MoviePaintDeviceInterface
extends PaintDeviceInterface
This interface must be implemented in order to realize a movie export feature for Omix. An implementing class must be derived from QPaintDevice. Examples:
  • public class MyPaintDevice extends QPaintDevice implements PaintDeviceInterface
  • public class MyPrinter extends QPrinter implements PaintDeviceInterface
  • public class MyPixmap extends QPixmap implements PaintDeviceInterface
A class directly derived from QPaintDevice must deliver a custom subclass of QPaintEngine in QPaintDevice.paintEngine(). This paint engine must draw content into a movie file of the specific format.
Since:
Omix 1.3.11
Author:
Dr. Peter Droste, Omix Visualization
  • Method Details

    • closeFrame

      void closeFrame() throws PaintException
      Indicates the end of the currently being painted frame of the movie.
      Throws:
      PaintException
    • setFramesPerSecond

      default void setFramesPerSecond​(int framesPerSecond)
      set frame per second.
      Parameters:
      framesPerSecond -
      Since:
      Omix 1.9.15
    • setInfiniteLoop

      default void setInfiniteLoop​(boolean infiniteLoop)
      set infinite loop
      Parameters:
      infiniteLoop -
      Since:
      Omix 1.9.15