|
CFx SDK Documentation 2026 SP0
|
#include <GiNoiseGenerator.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdGiNoiseGenerator) | |
| virtual void | initSeed (OdUInt32 seed)=0 |
| virtual double | noise1d (double point) const =0 |
| virtual double | noise2d (const OdGePoint2d &point) const =0 |
| virtual double | noise3d (const OdGePoint3d &point) const =0 |
| virtual double | noise (double point[], OdInt32 len) const =0 |
| virtual double | turbulence (const OdGePoint3d &point, double freq) const =0 |
| virtual double | oNoise (const OdGePoint3d &point, double freq) const =0 |
| virtual double | fBm (const OdGePoint3d &point, double H, double lacunarity, double octaves) const =0 |
Public Member Functions inherited from OdRxObject | |
| ODRX_HEAP_OPERATORS () | |
| OdRxObject () | |
| virtual | ~OdRxObject () |
| virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
| virtual OdRxObject * | x (const OdRxClass *pClass) const |
| virtual OdRxClass * | isA () const |
| virtual void | addRef ()=0 |
| virtual void | release ()=0 |
| virtual long | numRefs () const |
| bool | isKindOf (const OdRxClass *pClass) const |
| virtual OdRxObjectPtr | clone () const |
| virtual void | copyFrom (const OdRxObject *pSource) |
| virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
| virtual bool | isEqualTo (const OdRxObject *pOther) const |
Static Public Member Functions | |
| static OdSmartPtr< OdGiNoiseGenerator > | createObject (OdUInt32 seed) |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
| static void | rxInit () |
| static void | rxUninit () |
Noise generator for procedural textures generation (based on Perlin noise).
<group OdGi_Classes>
Definition at line 46 of file GiNoiseGenerator.h.
|
static |
Create OdGiNoiseGenerator, initialized by specified seed.
| seed | [in] Random number generator seed. |
|
pure virtual |
Fractal brownian motion.
| point | [in] 3D input point location. |
| H | [in] Range fractal dimension 1.0 - 0.0 where 0.0 is total chaos. |
| lacunarity | [in] Gap between successive frequencies, use 2.0. |
| octaves | [in] Number of frequencies in the fBm. 3 - 7. |
Initializes noise generation tables to specified seed.
| seed | [in] Random number generator seed. |
|
pure virtual |
General noise function calls the previous 3 depending on len. Input range from 0 to 3.
| point | [in] 1D, 2D or 3D point location. |
| len | [in] Point dimensions. |
|
pure virtual |
Generates noise value for a 1D location.
| point | [in] 1D point location. |
|
pure virtual |
Generates noise value for a 2D location.
| point | [in] 2D point location. |
|
pure virtual |
Generates noise value for a 3D location.
| point | [in] 3D point location. |
| OdGiNoiseGenerator::ODRX_DECLARE_MEMBERS | ( | OdGiNoiseGenerator | ) |
|
pure virtual |
Noise across a number of octaves.
| point | [in] 3D input point location. |
| freq | [in] Turbulence frequency. |
|
pure virtual |
Generates turbulent noise across a number of octaves.
| point | [in] 3D input point location. |
| freq | [in] Turbulence frequency. |