Public Member Functions | Private Attributes | Friends | List of all members
lvr2::ElementProxy< T > Class Template Reference

#include <ElementProxy.hpp>

Public Member Functions

 ElementProxy (T *pos=nullptr, unsigned w=0)
 
template<typename BaseVecT >
 operator BaseVecT () const
 User defined conversion operator. More...
 
 operator EdgeHandle () const
 
 operator FaceHandle () const
 
template<typename type , size_t size>
 operator std::array< type, size > () const
 
 operator std::array< VertexHandle, 3 > () const
 
 operator T () const
 
ElementProxyPtr< T > operator& ()
 look at ElementProxyPtr documentation. More...
 
template<typename BaseVecT >
BaseVecT operator+ (const BaseVecT &v)
 
template<typename BaseVecT >
ElementProxy operator+= (const BaseVecT &v)
 
template<typename BaseVecT >
BaseVecT operator- (const BaseVecT &v)
 
template<typename BaseVecT >
ElementProxy operator-= (const BaseVecT &v)
 
template<typename BaseVecT >
ElementProxy operator= (const BaseVecT &v)
 
template<typename type , size_t size>
ElementProxy operator= (const std::array< type, size > &array)
 
ElementProxy operator= (const T &v)
 
T & operator[] (int i)
 
const T & operator[] (int i) const
 

Private Attributes

T * m_ptr
 
unsigned m_w
 

Friends

class ElementProxyPtr< T >
 

Detailed Description

template<typename T>
class lvr2::ElementProxy< T >

Definition at line 43 of file ElementProxy.hpp.

Constructor & Destructor Documentation

◆ ElementProxy()

template<typename T >
lvr2::ElementProxy< T >::ElementProxy ( T *  pos = nullptr,
unsigned  w = 0 
)
inline

Definition at line 215 of file ElementProxy.hpp.

Member Function Documentation

◆ operator BaseVecT()

template<typename T >
template<typename BaseVecT >
lvr2::ElementProxy< T >::operator BaseVecT ( ) const
inline

User defined conversion operator.

Definition at line 237 of file ElementProxy.hpp.

◆ operator EdgeHandle()

template<typename T >
lvr2::ElementProxy< T >::operator EdgeHandle ( ) const
inline

Definition at line 269 of file ElementProxy.hpp.

◆ operator FaceHandle()

template<typename T >
lvr2::ElementProxy< T >::operator FaceHandle ( ) const
inline

Definition at line 278 of file ElementProxy.hpp.

◆ operator std::array< type, size >()

template<typename T >
template<typename type , size_t size>
lvr2::ElementProxy< T >::operator std::array< type, size > ( ) const
inline

Definition at line 247 of file ElementProxy.hpp.

◆ operator std::array< VertexHandle, 3 >()

template<typename T >
lvr2::ElementProxy< T >::operator std::array< VertexHandle, 3 > ( ) const
inline

Definition at line 259 of file ElementProxy.hpp.

◆ operator T()

template<typename T >
lvr2::ElementProxy< T >::operator T ( ) const
inline

Definition at line 287 of file ElementProxy.hpp.

◆ operator&()

template<typename T >
ElementProxyPtr<T> lvr2::ElementProxy< T >::operator& ( )
inline

look at ElementProxyPtr documentation.

Returns

Definition at line 132 of file ElementProxy.hpp.

◆ operator+()

template<typename T >
template<typename BaseVecT >
BaseVecT lvr2::ElementProxy< T >::operator+ ( const BaseVecT &  v)
inline

Definition at line 194 of file ElementProxy.hpp.

◆ operator+=()

template<typename T >
template<typename BaseVecT >
ElementProxy lvr2::ElementProxy< T >::operator+= ( const BaseVecT &  v)
inline

Definition at line 169 of file ElementProxy.hpp.

◆ operator-()

template<typename T >
template<typename BaseVecT >
BaseVecT lvr2::ElementProxy< T >::operator- ( const BaseVecT &  v)
inline

Definition at line 205 of file ElementProxy.hpp.

◆ operator-=()

template<typename T >
template<typename BaseVecT >
ElementProxy lvr2::ElementProxy< T >::operator-= ( const BaseVecT &  v)
inline

Definition at line 181 of file ElementProxy.hpp.

◆ operator=() [1/3]

template<typename T >
template<typename BaseVecT >
ElementProxy lvr2::ElementProxy< T >::operator= ( const BaseVecT &  v)
inline

Definition at line 157 of file ElementProxy.hpp.

◆ operator=() [2/3]

template<typename T >
template<typename type , size_t size>
ElementProxy lvr2::ElementProxy< T >::operator= ( const std::array< type, size > &  array)
inline

Definition at line 145 of file ElementProxy.hpp.

◆ operator=() [3/3]

template<typename T >
ElementProxy lvr2::ElementProxy< T >::operator= ( const T &  v)
inline

Definition at line 137 of file ElementProxy.hpp.

◆ operator[]() [1/2]

template<typename T >
T& lvr2::ElementProxy< T >::operator[] ( int  i)
inline

Definition at line 217 of file ElementProxy.hpp.

◆ operator[]() [2/2]

template<typename T >
const T& lvr2::ElementProxy< T >::operator[] ( int  i) const
inline

Definition at line 226 of file ElementProxy.hpp.

Friends And Related Function Documentation

◆ ElementProxyPtr< T >

template<typename T >
friend class ElementProxyPtr< T >
friend

Definition at line 126 of file ElementProxy.hpp.

Member Data Documentation

◆ m_ptr

template<typename T >
T* lvr2::ElementProxy< T >::m_ptr
private

Definition at line 298 of file ElementProxy.hpp.

◆ m_w

template<typename T >
unsigned lvr2::ElementProxy< T >::m_w
private

Definition at line 299 of file ElementProxy.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27