#include <GiProceduralGenerator.h>
|
| | ODRX_DECLARE_MEMBERS (OdGiProceduralGenerator) |
| |
| virtual bool | generateProceduralTexture (OdGiProceduralTexturePtr pTexture, OdGiImageBGRA32 &image, double renderCoef=1.0)=0 |
| |
| virtual void | generateProceduralWood (OdGiPixelBGRA32 color1, OdGiPixelBGRA32 color2, double radialNoise, double axialNoise, double grainThickness, OdGiImageBGRA32 &image, double renderCoef=1.0)=0 |
| |
| virtual void | generateProceduralMarble (OdGiPixelBGRA32 stoneColor, OdGiPixelBGRA32 veinColor, double veinSpacing, double veinWidth, OdGiImageBGRA32 &image, double renderCoef=1.0)=0 |
| |
| virtual void | setColorGradient (const OdGiGradientGenerator &gradient)=0 |
| |
| virtual const OdGiGradientGenerator & | colorGradient () const =0 |
| |
| | 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 |
| |
Procedural textures generator.
- See also
- TD_Gi
<group OdGi_Classes>
Definition at line 392 of file GiProceduralGenerator.h.
◆ colorGradient()
◆ generateProceduralMarble()
Generates a procedural marble texture.
- Parameters
-
| veinColor | [in] Color of marble veins. |
| veinSpacing | [in] Distance between veins multiplier. |
| veinWidth | [in] Marble veins width multiplier. |
| image | [out] Output image. |
| renderCoef | [in] Texture detail multiplier. 1.0 - most standard device value, 10.0 - normal rendering. This value can be calculated from raster resolution. |
◆ generateProceduralTexture()
Generates a procedural texture.
- Parameters
-
| pTexture | [in] Procedural texture pointer. |
| image | [out] Output image. |
| renderCoef | [in] Texture detail multiplier. 1.0 - most standard device value, 10.0 - normal rendering. This value can be calculated from raster resolution. |
- Returns
- false if protocol extension not initialized or no support for current procedural texture type.
◆ generateProceduralWood()
Generates a procedural wood texture.
- Parameters
-
| color1 | [in] First wood texture color. |
| color2 | [in] Second wood texture color. |
| radialNoise | [in] Radial noise amount. |
| axialNoise | [in] Axial noise amount. |
| grainThickness | [in] Thickness of wood grains. |
| image | [out] Output image. |
| renderCoef | [in] Texture detail multiplier. 1.0 - most standard device value, 10.0 - normal rendering. This value can be calculated from raster resolution. |
◆ ODRX_DECLARE_MEMBERS()
◆ setColorGradient()
The documentation for this class was generated from the following file: