All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_NoiseResolver Class Referenceabstract

#include <SIM_Noise.h>

+ Inheritance diagram for SIM_NoiseResolver:

Public Member Functions

 SIM_NoiseResolver (const SIM_Noise *noise)
fpreal getF (const UT_Vector3 &pos) override
UT_Vector3 getV3 (const UT_Vector3 &pos) override
virtual fpreal getNoiseF (const UT_Vector3 &pos)=0
virtual UT_Vector3 getNoiseV3 (const UT_Vector3 &pos)=0
- Public Member Functions inherited from SIM_PropertyResolver
 SIM_PropertyResolver ()
virtual ~SIM_PropertyResolver ()
virtual SIM_PropertyResolvercopy () const =0
 Duplicates this. More...
virtual bool threadsafe () const
 Sometimes despite our best efforts the lookup isn't threadsafe. More...

Protected Attributes

bool myIsScalar
UT_Vector3 myMaxValue
UT_Vector3 myMinValue
fpreal myNoiseLimitsMin
fpreal myNoiseLimitsMax

Detailed Description

Definition at line 73 of file SIM_Noise.h.

Constructor & Destructor Documentation

SIM_NoiseResolver::SIM_NoiseResolver ( const SIM_Noise noise)

Member Function Documentation

fpreal SIM_NoiseResolver::getF ( const UT_Vector3 pos)

Handles the resizing to the given range using the min/max, and proper support of scalar fields being set.

Implements SIM_PropertyResolver.

virtual fpreal SIM_NoiseResolver::getNoiseF ( const UT_Vector3 pos)
pure virtual

These are the methods to override with the noise-specific behaviour. They should behave like SIM_Noise::getNoiseSubclass

virtual UT_Vector3 SIM_NoiseResolver::getNoiseV3 ( const UT_Vector3 pos)
pure virtual
UT_Vector3 SIM_NoiseResolver::getV3 ( const UT_Vector3 pos)

Implements SIM_PropertyResolver.

Member Data Documentation

bool SIM_NoiseResolver::myIsScalar

Definition at line 89 of file SIM_Noise.h.

UT_Vector3 SIM_NoiseResolver::myMaxValue

Definition at line 90 of file SIM_Noise.h.

UT_Vector3 SIM_NoiseResolver::myMinValue

Definition at line 90 of file SIM_Noise.h.

fpreal SIM_NoiseResolver::myNoiseLimitsMax

Definition at line 91 of file SIM_Noise.h.

fpreal SIM_NoiseResolver::myNoiseLimitsMin

Definition at line 91 of file SIM_Noise.h.

The documentation for this class was generated from the following file: