6 #include <condition_variable>
52 bool resolution =
false;
54 bool pending()
const {
60 bool notInitialized =
true;
61 bool colorizerMissing =
true;
62 bool particlesMissing =
true;
63 bool cameraMissing =
true;
64 std::string otherReason;
67 notInitialized = colorizerMissing = particlesMissing = cameraMissing =
false;
76 std::condition_variable cv;
79 std::atomic_bool quitting;
95 return status.isValid();
105 void setRendererAccessor(
const RunSettings& globals);
129 void onPaint(wxPaintEvent& evt);
Wrapper of wxBitmap, will be possibly replaced by custom implementation.
#define NAMESPACE_SPH_END
Generic dynamically allocated resizable storage.
virtual void update(Bitmap< Rgba > &&bitmap, Array< Label > &&labels, const bool isFinal) override
May be called once after render finishes or multiple times for progressive renderers.
virtual void update(const Bitmap< Rgba > &bitmap, Array< Label > &&labels, const bool isFinal) override
May be called once after render finishes or multiple times for progressive renderers.
BitmapOutput(wxPanel *panel)
wxPanel * getPanel() const
void resize(const Pixel newResolution)
AutoPtr< IColorizer > colorizer
AutoPtr< ICamera > camera
Optional< RenderParams > parameters
void start(const RunSettings &globals)
AutoPtr< IRenderer > renderer
InteractiveRenderer(const SharedPtr< JobNode > &node, wxPanel *panel)
RenderPane(wxWindow *parent, const wxSize size, const SharedPtr< JobNode > &node, const RunSettings &globals)