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

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

#include <thin_lines.hpp>

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

Public Member Functions

 ThinLines (const float *vertices, int num_vertices, bool line_strip=false)
 
 ThinLines (const float *vertices, const float *colors, int num_vertices, bool line_strip=false)
 
 ThinLines (const float *vertices, const float *colors, int num_vertices, const unsigned int *indices, int num_indices, bool line_strip=false)
 
 ThinLines (const float *vertices, const float *colors, const float *cmap, int num_vertices, const unsigned int *indices, int num_indices, bool line_strip=false)
 
 ThinLines (const Eigen::Vector3f *vertices, int num_vertices, bool line_strip=false)
 
 ThinLines (const Eigen::Vector3f *vertices, const Eigen::Vector4f *colors, int num_vertices, bool line_strip=false)
 
 ThinLines (const Eigen::Vector3f *vertices, const Eigen::Vector4f *colors, int num_vertices, const unsigned int *indices, int num_indices, bool line_strip=false)
 
 ThinLines (const Eigen::Vector3f *vertices, const float *cmap, int num_vertices, bool line_strip=false)
 
 ThinLines (const Eigen::Vector3f *vertices, const double *cmap, int num_vertices, bool line_strip=false)
 
 ThinLines (const Eigen::Vector3f *vertices, const float *cmap, int num_vertices, const unsigned int *indices, int num_indices, bool line_strip=false)
 
 ThinLines (const Eigen::Vector3f *vertices, const double *cmap, int num_vertices, const unsigned int *indices, int num_indices, bool line_strip=false)
 
template<typename T1 , int D1>
 ThinLines (const Eigen::Matrix< T1, D1, 1 > *vertices, int num_vertices, bool line_strip=false)
 
template<typename T1 , int D1>
 ThinLines (const Eigen::Matrix< T1, D1, 1 > *vertices, int num_vertices, const unsigned int *indices, int num_indices, bool line_strip=false)
 
template<typename T1 , int D1, typename T2 , int D2>
 ThinLines (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>
 ThinLines (const Eigen::Matrix< T1, D1, 1 > *vertices, const Eigen::Matrix< T2, D2, 1 > *colors, int num_vertices, const unsigned int *indices, int num_indices, bool line_strip=false)
 
template<typename T1 , int D1>
 ThinLines (const Eigen::Matrix< T1, D1, 1 > *vertices, const float *cmap, int num_vertices, bool line_strip=false)
 
template<typename T1 , int D1>
 ThinLines (const Eigen::Matrix< T1, D1, 1 > *vertices, const double *cmap, int num_vertices, bool line_strip=false)
 
template<typename T1 , int D1>
 ThinLines (const Eigen::Matrix< T1, D1, 1 > *vertices, const float *cmap, int num_vertices, const unsigned int *indices, int num_indices, bool line_strip=false)
 
template<typename T1 , int D1>
 ThinLines (const Eigen::Matrix< T1, D1, 1 > *vertices, const double *cmap, int num_vertices, const unsigned int *indices, int num_indices, bool line_strip=false)
 
template<typename T1 , int D1, typename Allocator >
 ThinLines (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 >
 ThinLines (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 Allocator >
 ThinLines (const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator > &vertices, const std::vector< unsigned int > &indices, bool line_strip=false)
 
template<typename T1 , int D1, typename Allocator1 , typename T2 , int D2, typename Allocator2 >
 ThinLines (const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator1 > &vertices, const std::vector< Eigen::Matrix< T2, D2, 1 >, Allocator2 > &colors, const std::vector< unsigned int > &indices, bool line_strip=false)
 
template<typename T1 , int D1, typename Allocator >
 ThinLines (const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator > &vertices, const std::vector< float > &cmap, bool line_strip=false)
 
template<typename T1 , int D1, typename Allocator >
 ThinLines (const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator > &vertices, const std::vector< double > &cmap, bool line_strip=false)
 
template<typename T1 , int D1, typename Allocator >
 ThinLines (const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator > &vertices, const std::vector< float > &cmap, const std::vector< unsigned int > &indices, bool line_strip=false)
 
template<typename T1 , int D1, typename Allocator >
 ThinLines (const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator > &vertices, const std::vector< double > &cmap, const std::vector< unsigned int > &indices, bool line_strip=false)
 
virtual ~ThinLines () override
 
virtual void draw (glk::GLSLShader &shader) const override
 
void set_line_width (float width)
 
- 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 GL_LINES.

Constructor & Destructor Documentation

◆ ThinLines() [1/27]

glk::ThinLines::ThinLines ( const float vertices,
int  num_vertices,
bool  line_strip = false 
)

◆ ThinLines() [2/27]

glk::ThinLines::ThinLines ( const float vertices,
const float colors,
int  num_vertices,
bool  line_strip = false 
)

◆ ThinLines() [3/27]

glk::ThinLines::ThinLines ( const float vertices,
const float colors,
int  num_vertices,
const unsigned int indices,
int  num_indices,
bool  line_strip = false 
)

◆ ThinLines() [4/27]

glk::ThinLines::ThinLines ( const float vertices,
const float colors,
const float cmap,
int  num_vertices,
const unsigned int indices,
int  num_indices,
bool  line_strip = false 
)

◆ ThinLines() [5/27]

glk::ThinLines::ThinLines ( const Eigen::Vector3f *  vertices,
int  num_vertices,
bool  line_strip = false 
)

◆ ThinLines() [6/27]

glk::ThinLines::ThinLines ( const Eigen::Vector3f *  vertices,
const Eigen::Vector4f *  colors,
int  num_vertices,
bool  line_strip = false 
)

◆ ThinLines() [7/27]

glk::ThinLines::ThinLines ( const Eigen::Vector3f *  vertices,
const Eigen::Vector4f *  colors,
int  num_vertices,
const unsigned int indices,
int  num_indices,
bool  line_strip = false 
)

◆ ThinLines() [8/27]

glk::ThinLines::ThinLines ( const Eigen::Vector3f *  vertices,
const float cmap,
int  num_vertices,
bool  line_strip = false 
)

◆ ThinLines() [9/27]

glk::ThinLines::ThinLines ( const Eigen::Vector3f *  vertices,
const double cmap,
int  num_vertices,
bool  line_strip = false 
)

◆ ThinLines() [10/27]

glk::ThinLines::ThinLines ( const Eigen::Vector3f *  vertices,
const float cmap,
int  num_vertices,
const unsigned int indices,
int  num_indices,
bool  line_strip = false 
)

◆ ThinLines() [11/27]

glk::ThinLines::ThinLines ( const Eigen::Vector3f *  vertices,
const double cmap,
int  num_vertices,
const unsigned int indices,
int  num_indices,
bool  line_strip = false 
)

◆ ThinLines() [12/27]

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

◆ ThinLines() [13/27]

template<typename T1 , int D1>
glk::ThinLines::ThinLines ( const Eigen::Matrix< T1, D1, 1 > *  vertices,
int  num_vertices,
const unsigned int indices,
int  num_indices,
bool  line_strip = false 
)

◆ ThinLines() [14/27]

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

◆ ThinLines() [15/27]

template<typename T1 , int D1, typename T2 , int D2>
glk::ThinLines::ThinLines ( const Eigen::Matrix< T1, D1, 1 > *  vertices,
const Eigen::Matrix< T2, D2, 1 > *  colors,
int  num_vertices,
const unsigned int indices,
int  num_indices,
bool  line_strip = false 
)

◆ ThinLines() [16/27]

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

◆ ThinLines() [17/27]

template<typename T1 , int D1>
glk::ThinLines::ThinLines ( const Eigen::Matrix< T1, D1, 1 > *  vertices,
const double cmap,
int  num_vertices,
bool  line_strip = false 
)

◆ ThinLines() [18/27]

template<typename T1 , int D1>
glk::ThinLines::ThinLines ( const Eigen::Matrix< T1, D1, 1 > *  vertices,
const float cmap,
int  num_vertices,
const unsigned int indices,
int  num_indices,
bool  line_strip = false 
)

◆ ThinLines() [19/27]

template<typename T1 , int D1>
glk::ThinLines::ThinLines ( const Eigen::Matrix< T1, D1, 1 > *  vertices,
const double cmap,
int  num_vertices,
const unsigned int indices,
int  num_indices,
bool  line_strip = false 
)

◆ ThinLines() [20/27]

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

◆ ThinLines() [21/27]

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

◆ ThinLines() [22/27]

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

◆ ThinLines() [23/27]

glk::ThinLines::ThinLines ( const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator1 > &  vertices,
const std::vector< Eigen::Matrix< T2, D2, 1 >, Allocator2 > &  colors,
const std::vector< unsigned int > &  indices,
bool  line_strip = false 
)

◆ ThinLines() [24/27]

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

◆ ThinLines() [25/27]

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

◆ ThinLines() [26/27]

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

◆ ThinLines() [27/27]

template<typename T1 , int D1, typename Allocator >
glk::ThinLines::ThinLines ( const std::vector< Eigen::Matrix< T1, D1, 1 >, Allocator > &  vertices,
const std::vector< double > &  cmap,
const std::vector< unsigned int > &  indices,
bool  line_strip = false 
)

◆ ~ThinLines()

virtual glk::ThinLines::~ThinLines ( )
overridevirtual

Member Function Documentation

◆ draw()

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

Reimplemented from glk::Drawable.

◆ set_line_width()

void glk::ThinLines::set_line_width ( float  width)
inline

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