SPH
Functions
ParticleRenderer.cpp File Reference
#include "gui/renderers/ParticleRenderer.h"
#include "gui/Utils.h"
#include "gui/objects/Camera.h"
#include "gui/objects/Color.h"
#include "gui/objects/Colorizer.h"
#include "gui/objects/RenderContext.h"
#include "objects/finders/Order.h"
#include "objects/wrappers/Finally.h"
#include "post/Plot.h"
#include "post/Point.h"
#include "sph/boundary/Boundary.h"
#include "system/Profiler.h"
#include "system/Statistics.h"
#include "thread/CheckFunction.h"

Go to the source code of this file.

Functions

void drawPalette (IRenderContext &context, const Pixel origin, const Pixel size, const Rgba &lineColor, const Palette &palette)
 
void drawAxis (IRenderContext &context, const Rgba &color, const Vector &axis, const std::string &label)
 

Function Documentation

◆ drawAxis()

void drawAxis ( IRenderContext context,
const Rgba color,
const Vector axis,
const std::string &  label 
)

Definition at line 180 of file ParticleRenderer.cpp.

◆ drawPalette()

void drawPalette ( IRenderContext context,
const Pixel  origin,
const Pixel  size,
const Rgba lineColor,
const Palette palette 
)
Todo:
exposed for PaletteDialog, should be possibly generalized, used by other renderers, etc.

Definition at line 55 of file ParticleRenderer.cpp.