27 void SetExtents(
const vector<double> &minExt,
const vector<double> &maxExt)
override;
34 bool _initialized =
false;
36 void _setRakeCenter(
int dim,
double center);
37 double _getRakeCenter(
int dim);
40 enum RenderType { RenderTypeStream, RenderTypeSamples, RenderTypeDensity };
254 for (
const auto &p : GetFieldVariableNames()) {
255 if (!p.empty())
return _dataMgr->GetVarTopologyDim(p);
257 return GetBox()->IsPlanar() ? 2 : 3;
263 if (UseSingleColor())
266 return GetColorMapVariableName();
425 const std::vector<std::pair<int, std::string>> _seed2Str = {{
static_cast<int>(FlowSeedMode::UNIFORM),
""},
426 {
static_cast<int>(FlowSeedMode::UNIFORM),
"UNIFORM"},
427 {
static_cast<int>(FlowSeedMode::RANDOM),
"RANDOM"},
428 {
static_cast<int>(FlowSeedMode::RANDOM_BIAS),
"RANDOM_BIAS"},
429 {
static_cast<int>(FlowSeedMode::LIST),
"LIST"}};
431 const std::vector<std::pair<int, std::string>> _dir2Str = {{
static_cast<int>(FlowDir::FORWARD),
""},
432 {
static_cast<int>(FlowDir::FORWARD),
"FORWARD"},
433 {
static_cast<int>(FlowDir::BACKWARD),
"BACKWARD"},
434 {
static_cast<int>(FlowDir::BI_DIR),
"BI_DIRECTIONAL"}};
3D or 2D box with options for orientation angles .
A cache based data reader.
void SetExtents(const vector< double > &minExt, const vector< double > &maxExt) override
void Initialize(string tag)
static const std::string _integrationBoxTag
void SetVelocityMultiplier(double)
void SetFlowDirection(int)
void SetZRakeCenter(double center)
static const std::string PhongDiffuseTag
static const std::string _flowOutputMoreVariablesTag
static const std::string _integrationScalarTag
static const std::string RenderFadeTailStartTag
long GetRakeBiasStrength() const
static const std::string _integrationSetAllToFinalValueTag
static const std::string _xPeriodicTag
static const std::string RenderRadiusScalarTag
void SetDefaultVariables(int dim=3, bool secondaryColormapVariable=false) override
void SetFirstStepSizeMultiplier(double)
static const std::string _seedInjInterval
static const std::string RenderRadiusBaseTag
static const std::string _zGridNumOfSeedsTag
void SetSteadyNumOfSteps(long)
int GetPastNumOfTimeSteps() const
virtual string GetActualColorMapVariableName() const override
static const std::string RenderGlyphTypeTag
static const std::string RenderDensityFalloffTag
static const std::string _flowDirectionTag
static const std::string _randomNumOfSeedsTag
static const std::string _xGridNumOfSeedsTag
void SetFlowOutputMoreVariables(std::vector< std::string > vars)
int GetSeedGenMode() const
static const std::string PhongSpecularTag
static const std::string PhongShininessTag
void SetGridNumOfSeeds(const std::vector< long > &)
double GetVelocityMultiplier() const
void SetRake(const std::vector< float > &)
int GetFlowDirection() const
void SetPastNumOfTimeSteps(int)
bool GetUseFixedAdvectionSteps() const
std::string GetFlowlineOutputFilename() const
void SetPeriodic(const std::vector< bool > &)
static const std::string _seedGenModeTag
static const std::string _yPeriodicTag
static const std::string RenderLightAtCameraTag
static const std::string _rakeBiasVariable
void SetFlowlineOutputFilename(const std::string &)
static const std::string RenderGeom3DTag
static const std::string RenderFadeTailTag
std::string GetSeedInputFilename() const
void SetIsSteady(bool steady)
static const std::string RenderShowStreamDirTag
static const std::string _zPeriodicTag
static const std::string _steadyNumOfStepsTag
std::vector< long > GetGridNumOfSeeds() const
void SetRakeBiasStrength(long)
long GetRandomNumOfSeeds() const
static const std::string _rakeBiasStrength
static const std::string _velocityMultiplierTag
static const std::string _yGridNumOfSeedsTag
void SetFixedAdvectionStepSize(double)
FlowParams(const FlowParams &rhs)
void SetUseFixedAdvectionSteps(bool)
static const std::string _seedInputFilenameTag
static const std::string _isSteadyTag
FlowParams & operator=(const FlowParams &rhs)
static const std::string _flowlineOutputFilenameTag
void SetNeedFlowlineOutput(bool)
std::vector< float > GetRake() const
static const std::string RenderGlyphStrideTag
static const std::string PhongAmbientTag
static const std::string _fixedAdvectionStepTag
static const std::string RenderFadeTailLengthTag
int GetSeedInjInterval() const
static std::string GetClassType()
virtual int Initialize() override
void SetYRakeCenter(double center)
static const std::string _firstStepSizeMultiplierTag
static const std::string RenderDensityToneMappingTag
std::string GetRakeBiasVariable() const
void SetRandomNumOfSeeds(long)
void SetSeedInputFilename(const std::string &)
static const std::string RenderGlyphOnlyLeadingTag
void SetXRakeCenter(double center)
void SetSeedInjInterval(int)
std::vector< std::string > GetFlowOutputMoreVariables() const
static const std::string _rakeTag
std::vector< bool > GetPeriodic() const
static const std::string _doIntegrationTag
static const std::string _pastNumOfTimeSteps
static const std::string _needFlowlineOutputTag
long GetSteadyNumOfSteps() const
bool GetNeedFlowlineOutput() const
void SetRakeBiasVariable(const std::string &)
static const std::string RenderFadeTailStopTag
double GetFirstStepSizeMultiplier() const
Box * GetIntegrationBox()
double GetFixedAdvectionStepSize() const
void SetIntegrationVolume(const std::vector< float > &)
virtual size_t GetRenderDim() const override
FlowParams(DataMgr *dataManager, ParamsBase::StateSave *stateSave)
FlowParams(DataMgr *dataManager, ParamsBase::StateSave *stateSave, XmlNode *xmlNode)
static const std::string _fixedAdvectionStepSizeTag
static const std::string RenderTypeTag
A Params subclass for managing parameters used by Renderers.