1 #ifndef DUMPFRAME_HINCLUDED
2 #define DUMPFRAME_HINCLUDED
11 #include "cosmoType.h"
31 const int DF_MAX_COLORENTRIES = 20;
37 float fPropMin, fPropMax;
54 enum df_projectstyle {
57 DF_PROJECT_PERSPECTIVE
94 DF_TARGET_OLDEST_STAR,
104 enum df_star_age_colour {
108 DF_STAR_AGE_BRIGHT_COLOUR
127 double zClipNear,zClipFar,zEye;
135 double pScale1,pScale2;
136 double dGasSoftMul,dDarkSoftMul,dStarSoftMul;
137 double xlim,ylim,hmul;
148 int offsetp_r,offsetp_fMass,offsetp_fSoft,offsetp_fBall2,offsetp_iActive,offsetp_fTimeForm;
150 int iTypeGas,iTypeDark,iTypeStar;
152 double dMassGasMin, dMassGasMax;
153 double dMassDarkMin,dMassDarkMax;
154 double dMassStarMin,dMassStarMax;
174 double zEye1,zEye2,zEye;
175 double zClipNear,zClipFar;
179 int bzEye,bzEye1,bzEye2;
189 double pScale1,pScale2;
197 double dGasSoftMul,dDarkSoftMul,dStarSoftMul;
218 double dDumpFrameStep;
219 double dDumpFrameTime;
222 double dMassGasMin, dMassGasMax;
223 double dMassDarkMin,dMassDarkMax;
224 double dMassStarMin,dMassStarMax;
236 double dTimeLoop,dPeriodLoop;
238 int bGetCentreOfMass;
259 std::string VecFilename(
int iType);
261 void dfInitialize(
struct DumpFrameContext **pdf,
double dYearUnit,
double dTime,
262 double dDumpFrameTime,
double dStep,
double dDumpFrameStep,
263 double dDelta,
int iMaxRung,
int bVDetails,
char*,
264 int bPeriodic, Vector3D<double> vPeriod);
267 void *dfAllocateImage(
int nxPix,
int nyPix );
268 void dfFreeImage(
void *Image );
272 void dfParseCameraDirections(
struct DumpFrameContext *df,
char * filename );
274 void dfSetupFrame(
struct DumpFrameContext *df,
double dTime,
double dStep,
double dExp,
double *com,
struct inDumpFrame *in,
int nxPix,
int nyPix);
276 void dfMergeImage(
struct inDumpFrame *in,
void *Image1,
int *nImage1,
void *Image2,
int *nImage2 );
277 void dfClearImage(
struct inDumpFrame *in,
void *Image,
int *nImage );
280 void dfRenderParticlePoint(
struct inDumpFrame *in,
void *vImage,
282 void dfRenderParticleTSC(
struct inDumpFrame *in,
void *vImage,
284 void dfRenderParticleSolid(
struct inDumpFrame *in,
void *vImage,
287 void dfFinishFrame(
struct DumpFrameContext *df,
double dTime,
double dStep,
struct inDumpFrame *in,
void *Image,
int liveViz,
unsigned char **outgray);
pixel of a dumpframe image
Definition: dumpframe.h:21
Associate floating point value with color.
Definition: dumpframe.h:26
Definition: DataManager.h:60
Data needed for a TreePiece to render its part of the image.
Definition: dumpframe.h:116
Global simulation parameters for dumpframe.
Definition: dumpframe.h:209
Table of colors for a particle property.
Definition: dumpframe.h:34
Higher level information describing a frame. This is a table entry for later interpolation, changing properties of frames.
Definition: dumpframe.h:164
Fundamental type for a particle.
Definition: GravityParticle.h:316