#include <QuadStrip.h>
Inheritance diagram for Teddy::Models::QuadStrip:
Public Methods | |
QuadStrip () | |
Default constructor. More... | |
virtual | ~QuadStrip () |
Destructor. More... | |
virtual void | draw (Projection *p) |
Draw QuadStrip. More... | |
virtual void | reverse () |
virtual void | makeNormal () |
virtual unsigned long | countCSGFaceElements () |
Protected Attributes | |
list< Vector * > | normals |
Definition at line 41 of file QuadStrip.h.
|
Default constructor.
Definition at line 38 of file QuadStrip.cpp. |
|
Destructor.
Definition at line 43 of file QuadStrip.cpp. |
|
Definition at line 170 of file QuadStrip.cpp. References Teddy::Models::Element::vertices. |
|
Draw QuadStrip.
Implements Teddy::Models::Element. Definition at line 49 of file QuadStrip.cpp. References Teddy::SysSupport::dmsg, Teddy::Models::Element::EL_HAS_ELEMENT_NORMAL, Teddy::Models::Element::EL_USE_ELEMENT_NORMAL, Teddy::MixIn::Options::isEnabled, Teddy::SysSupport::M_VERT, Teddy::Models::Element::normal, and Teddy::Models::Element::vertices. |
|
Calculate a normal for Element. This requires at least three vertices, and the vertices must not be on a single line. Reimplemented from Teddy::Models::Element. Definition at line 83 of file QuadStrip.cpp. References Teddy::SysSupport::dmsg, Teddy::Models::Element::EL_HAS_ELEMENT_NORMAL, Teddy::Models::Element::EL_USE_ELEMENT_NORMAL, Teddy::MixIn::Options::enable, Teddy::SysSupport::M_WARN, Teddy::Models::Element::normal, normals, Vector, and Teddy::Models::Element::vertices. |
|
Reverse order of vertices in Face. Remember to update normal as well if needed - that is not done by this. Reimplemented from Teddy::Models::Element. Definition at line 130 of file QuadStrip.cpp. References Teddy::Models::Element::vertices. |
|
Definition at line 55 of file QuadStrip.h. Referenced by makeNormal. |