OpenStructure
|
#include <primitives.hh>
Inherits Primitive.
Public Member Functions | |
Quad (const String &name, const geom::Vec3 &a, const geom::Vec3 &b, const geom::Vec3 &c, const geom::Vec3 &d) | |
virtual void | RenderGL (RenderPass pass) |
Public Member Functions inherited from Primitive | |
void | SetFill (const Color &color, bool fill=true) |
void | SetOutline (const Color &color, bool line=true, float width=1.0) |
void | SetFillColor (const Color &color) |
void | SetOutlineColor (const Color &color) |
const Color & | GetFillColor () const |
const Color & | GetOutlineColor () const |
bool | HasFill () const |
bool | HasOutline () const |
float | GetLineWidth () const |
void | SetLineWidth (float width) |
Public Member Functions inherited from GfxNode | |
GfxNode (const String &name) | |
virtual | ~GfxNode () |
virtual GfxNodeP | Copy () const |
virtual void | DeepSwap (GfxNode &n) |
virtual void | RenderPov (PovState &pov) |
virtual void | Export (Exporter *ex) |
virtual void | Apply (GfxNodeVisitor &v, GfxNodeVisitor::Stack st) |
virtual int | GetType () const |
String | GetName () const |
void | RemoveAll () |
void | Rename (const String &name) |
void | Add (GfxObjP obj) |
bool | IsNameAvailable (const String &name) const |
void | Remove (GfxObjP obj) |
void | Add (GfxNodeP node) |
void | Remove (GfxNodeP node) |
void | Remove (const String &name) |
size_t | GetChildCount () const |
void | Hide () |
void | Show () |
bool | IsVisible () const |
virtual void | ContextSwitch () |
bool | IsAttachedToScene () const |
gfx::GfxNodeP | GetParent () const |
const GfxNodeVector & | GetChildren () const |
GfxNodeVector & | GetChildren () |
Additional Inherited Members | |
Protected Member Functions inherited from Primitive | |
Primitive (const String &name) |
a simple rendered quad in 3D space.
Definition at line 79 of file primitives.hh.
Quad | ( | const String & | name, |
const geom::Vec3 & | a, | ||
const geom::Vec3 & | b, | ||
const geom::Vec3 & | c, | ||
const geom::Vec3 & | d | ||
) |
|
virtual |
Reimplemented from GfxNode.