Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions
icl::geom::LinePrimitive Struct Reference

line primitive (the line references 2 vertices) More...

#include <Primitive.h>

Inheritance diagram for icl::geom::LinePrimitive:
icl::math::FixedColVector< int, 2 > icl::geom::Primitive icl::math::FixedMatrix< int, 1, DIM > icl::utils::FixedArray< int, COLS *ROWS > icl::math::FixedMatrixBase

List of all members.

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 Primitivecopy () const
 deep copy implementation (trivial)

Detailed Description

line primitive (the line references 2 vertices)


Member Typedef Documentation

super type

Reimplemented from icl::math::FixedColVector< int, 2 >.


Constructor & Destructor Documentation

icl::geom::LinePrimitive::LinePrimitive ( int  a,
int  b,
const GeomColor color 
) [inline]

constructor


Member Function Documentation

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

render

Implements icl::geom::Primitive.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines