#include <gfx_object_base.hh>
Inherits GfxNode.
Inherited by GfxObj.
main interface for all graphic objects, both in C++ and Python
Definition at line 51 of file gfx_object_base.hh.
◆ GfxObjBase()
◆ ColorBy() [1/2]
◆ ColorBy() [2/2]
color each component based on the gradient-mapped property of the given entity
Implemented in Entity, GfxObj, and Surface.
◆ ContextSwitch()
| virtual void ContextSwitch |
( |
| ) |
|
|
pure virtual |
rendering context switch, some things need to be regenerated
Reimplemented from GfxNode.
Implemented in GfxObj.
◆ GetCenter()
◆ GetClip()
| virtual bool GetClip |
( |
| ) |
const |
|
pure virtual |
◆ GetClipOffset()
| virtual float GetClipOffset |
( |
| ) |
const |
|
pure virtual |
◆ GetClipPlane()
◆ GetOpacity()
| virtual float GetOpacity |
( |
| ) |
const |
|
pure virtual |
returns a value smaller than 1.0 if transparency is used in this object
Implemented in Entity, and GfxObj.
◆ GetOutline()
| virtual bool GetOutline |
( |
| ) |
const |
|
pure virtual |
get state of outline rendering
Implemented in GfxObj.
◆ GetOutlineExpandColor()
| virtual Color GetOutlineExpandColor |
( |
| ) |
const |
|
pure virtual |
get current outline color (mode 3)
Implemented in GfxObj.
◆ GetOutlineExpandFactor()
| virtual float GetOutlineExpandFactor |
( |
| ) |
const |
|
pure virtual |
get current outline expand factor (mode 3)
Implemented in GfxObj.
◆ GetOutlineMode()
| virtual int GetOutlineMode |
( |
| ) |
const |
|
pure virtual |
get current outline mode
Implemented in GfxObj.
◆ GetOutlineWidth()
| virtual float GetOutlineWidth |
( |
| ) |
const |
|
pure virtual |
get current outline width
Implemented in GfxObj.
◆ GetRenderMode()
current render mode
Implemented in GfxObj.
◆ GetSolid()
| virtual bool GetSolid |
( |
| ) |
const |
|
pure virtual |
◆ GetSolidColor()
| virtual Color GetSolidColor |
( |
| ) |
const |
|
pure virtual |
◆ SetAALines()
| virtual void SetAALines |
( |
bool |
f | ) |
|
|
pure virtual |
turn on sophisticated line anti-aliasing, requires shader
Implemented in GfxObj.
◆ SetClip()
| virtual void SetClip |
( |
bool |
f | ) |
|
|
pure virtual |
◆ SetClipOffset()
| virtual void SetClipOffset |
( |
float |
f | ) |
|
|
pure virtual |
◆ SetClipPlane()
◆ SetLineHalo()
| virtual void SetLineHalo |
( |
float |
f | ) |
|
|
pure virtual |
turn on line halo of given strength
Implemented in GfxObj.
◆ SetLineWidth()
| virtual void SetLineWidth |
( |
float |
w | ) |
|
|
pure virtual |
◆ SetMatAmb()
| virtual void SetMatAmb |
( |
const Color & |
c | ) |
|
|
pure virtual |
material ambient color
Implemented in GfxObj.
◆ SetMatDiff()
| virtual void SetMatDiff |
( |
const Color & |
c | ) |
|
|
pure virtual |
material diffuse color
Implemented in GfxObj.
◆ SetMatEmm()
| virtual void SetMatEmm |
( |
const Color & |
c | ) |
|
|
pure virtual |
material emmissive color
Implemented in GfxObj.
◆ SetMatShin()
| virtual void SetMatShin |
( |
float |
s | ) |
|
|
pure virtual |
material shininess
Implemented in GfxObj.
◆ SetMatSpec()
| virtual void SetMatSpec |
( |
const Color & |
c | ) |
|
|
pure virtual |
material specular color
Implemented in GfxObj.
◆ SetOpacity()
| virtual void SetOpacity |
( |
float |
f | ) |
|
|
pure virtual |
set opacity (1 = no transparency)
Implemented in Entity, and GfxObj.
◆ SetOutline()
| virtual void SetOutline |
( |
bool |
f | ) |
|
|
pure virtual |
turn outline rendering on or off
Implemented in GfxObj.
◆ SetOutlineExpandColor()
| virtual void SetOutlineExpandColor |
( |
const Color & |
c | ) |
|
|
pure virtual |
set outline color (mode 3)
Implemented in Entity, and GfxObj.
◆ SetOutlineExpandFactor()
| virtual void SetOutlineExpandFactor |
( |
float |
f | ) |
|
|
pure virtual |
set outline expansion factor (mode 3) this scales with resolution
Implemented in Entity, and GfxObj.
◆ SetOutlineMode()
| virtual void SetOutlineMode |
( |
int |
m | ) |
|
|
pure virtual |
set outline mode, 1, 2 or 3
Implemented in GfxObj.
◆ SetOutlineWidth()
| virtual void SetOutlineWidth |
( |
float |
f | ) |
|
|
pure virtual |
set outline width in pixels (modes 1 + 2) this does not scale with resolution
Implemented in Entity, and GfxObj.
◆ SetPolyMode()
| virtual void SetPolyMode |
( |
unsigned int |
m | ) |
|
|
pure virtual |
set polygon mode
Implemented in GfxObj.
◆ SetRenderMode()
◆ SetSolid()
| virtual void SetSolid |
( |
bool |
f | ) |
|
|
pure virtual |
◆ SetSolidColor()
| virtual void SetSolidColor |
( |
const Color & |
c | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: