gtsam_points
Loading...
Searching...
No Matches
Public Member Functions | List of all members
glk::Lines Class Reference

A class to draw a set of lines. More...

#include <lines.hpp>

Inheritance diagram for glk::Lines:
Inheritance graph
[legend]
Collaboration diagram for glk::Lines:
Collaboration graph
[legend]

Public Member Functions

 Lines (float line_width, const Eigen::Vector3f *vertices, int num_points, bool line_strip=false)
 
 Lines (float line_width, const Eigen::Vector3f *vertices, const Eigen::Vector4f *colors, int num_points, bool line_strip=false)
 
 Lines (float line_width, const Eigen::Vector3f *vertices, const Eigen::Vector4f *colors, const Eigen::Vector4i *infos, int num_points, bool line_strip=false)
 
template<typename T1 , int D1>
 Lines (float line_width, const Eigen::Matrix< T1, D1, 1 > *vertices, int num_vertices, bool line_strip=false)
 
template<typename T1 , int D1, typename T2 , int D2>
 Lines (float line_width, const Eigen::Matrix< T1, D1, 1 > *vertices, const Eigen::Matrix< T2, D2, 1 > *colors, int num_vertices, bool line_strip=false)
 
template<typename T1 , int D1, typename T2 , int D2>
 Lines (float line_width, const Eigen::Matrix< T1, D1, 1 > *vertices, const Eigen::Matrix< T2, D2, 1 > *colors, const Eigen::Vector4i *infos, int num_vertices, bool line_strip=false)
 
template<typename T1 , int D1, typename Allocator >
 Lines (float line_width, const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator > &vertices, bool line_strip=false)
 
template<typename T1 , int D1, typename Allocator1 , typename T2 , int D2, typename Allocator2 >
 Lines (float line_width, const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator1 > &vertices, const std::vector< Eigen::Matrix< T2, D2, 1 >, Allocator2 > &colors, bool line_strip=false)
 
template<typename T1 , int D1, typename Allocator1 , typename T2 , int D2, typename Allocator2 , typename Allocator3 >
 Lines (float line_width, const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator1 > &vertices, const std::vector< Eigen::Matrix< T2, D2, 1 >, Allocator2 > &colors, const std::vector< Eigen::Vector4i, Allocator3 > &infos, bool line_strip=false)
 
virtual ~Lines () override
 
virtual void draw (glk::GLSLShader &shader) const override
 
- Public Member Functions inherited from glk::Drawable
virtual ~Drawable ()
 

Additional Inherited Members

- Public Types inherited from glk::Drawable
using Ptr = std::shared_ptr< Drawable >
 
using ConstPtr = std::shared_ptr< const Drawable >
 

Detailed Description

A class to draw a set of lines.

Constructor & Destructor Documentation

◆ Lines() [1/9]

glk::Lines::Lines ( float  line_width,
const Eigen::Vector3f *  vertices,
int  num_points,
bool  line_strip = false 
)

◆ Lines() [2/9]

glk::Lines::Lines ( float  line_width,
const Eigen::Vector3f *  vertices,
const Eigen::Vector4f *  colors,
int  num_points,
bool  line_strip = false 
)

◆ Lines() [3/9]

glk::Lines::Lines ( float  line_width,
const Eigen::Vector3f *  vertices,
const Eigen::Vector4f *  colors,
const Eigen::Vector4i *  infos,
int  num_points,
bool  line_strip = false 
)

◆ Lines() [4/9]

template<typename T1 , int D1>
glk::Lines::Lines ( float  line_width,
const Eigen::Matrix< T1, D1, 1 > *  vertices,
int  num_vertices,
bool  line_strip = false 
)

◆ Lines() [5/9]

template<typename T1 , int D1, typename T2 , int D2>
glk::Lines::Lines ( float  line_width,
const Eigen::Matrix< T1, D1, 1 > *  vertices,
const Eigen::Matrix< T2, D2, 1 > *  colors,
int  num_vertices,
bool  line_strip = false 
)

◆ Lines() [6/9]

template<typename T1 , int D1, typename T2 , int D2>
glk::Lines::Lines ( float  line_width,
const Eigen::Matrix< T1, D1, 1 > *  vertices,
const Eigen::Matrix< T2, D2, 1 > *  colors,
const Eigen::Vector4i *  infos,
int  num_vertices,
bool  line_strip = false 
)

◆ Lines() [7/9]

template<typename T1 , int D1, typename Allocator >
glk::Lines::Lines ( float  line_width,
const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator > &  vertices,
bool  line_strip = false 
)

◆ Lines() [8/9]

glk::Lines::Lines ( float  line_width,
const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator1 > &  vertices,
const std::vector< Eigen::Matrix< T2, D2, 1 >, Allocator2 > &  colors,
bool  line_strip = false 
)

◆ Lines() [9/9]

glk::Lines::Lines ( float  line_width,
const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator1 > &  vertices,
const std::vector< Eigen::Matrix< T2, D2, 1 >, Allocator2 > &  colors,
const std::vector< Eigen::Vector4i, Allocator3 > &  infos,
bool  line_strip = false 
)

◆ ~Lines()

virtual glk::Lines::~Lines ( )
overridevirtual

Member Function Documentation

◆ draw()

virtual void glk::Lines::draw ( glk::GLSLShader shader) const
overridevirtual

Reimplemented from glk::Drawable.


The documentation for this class was generated from the following file: