Image Component Library (ICL)
|
line primitive (the line references 2 vertices) More...
#include <Primitive.h>
Public Types | |
typedef math::FixedColVector < int, 2 > | super |
super type | |
Public Member Functions | |
LinePrimitive (int a, int b, const GeomColor &color) | |
constructor | |
virtual ICLGeom_API void | render (const Primitive::RenderContext &ctx) |
render | |
int | i (int idx) const |
direct access to the i-th vertex/normal index | |
virtual Primitive * | copy () const |
deep copy implementation (trivial) |
line primitive (the line references 2 vertices)
typedef math::FixedColVector<int,2> icl::geom::LinePrimitive::super |
super type
Reimplemented from icl::math::FixedColVector< int, 2 >.
icl::geom::LinePrimitive::LinePrimitive | ( | int | a, |
int | b, | ||
const GeomColor & | color | ||
) | [inline] |
constructor
virtual Primitive* icl::geom::LinePrimitive::copy | ( | ) | const [inline, virtual] |
deep copy implementation (trivial)
Implements icl::geom::Primitive.
int icl::geom::LinePrimitive::i | ( | int | idx | ) | const [inline] |
direct access to the i-th vertex/normal index
virtual ICLGeom_API void icl::geom::LinePrimitive::render | ( | const Primitive::RenderContext & | ctx | ) | [virtual] |
render
Implements icl::geom::Primitive.