Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
gte::RectangleManager< Real > Class Template Reference

#include <GteRectangleManager.h>

Classes

class  Endpoint
 

Public Member Functions

std::set< EdgeKey< false > > const & GetOverlap () const
 
void GetRectangle (int i, AlignedBox2< Real > &rectangle) const
 
void Initialize ()
 
RectangleManageroperator= (RectangleManager const &)=delete
 
 RectangleManager (std::vector< AlignedBox2< Real >> &rectangles)
 
 RectangleManager ()=delete
 
 RectangleManager (RectangleManager const &)=delete
 
void SetRectangle (int i, AlignedBox2< Real > const &rectangle)
 
void Update ()
 

Private Member Functions

void InsertionSort (std::vector< Endpoint > &endpoint, std::vector< int > &lookup)
 

Private Attributes

std::set< EdgeKey< false > > mOverlap
 
std::vector< AlignedBox2< Real > > & mRectangles
 
std::vector< EndpointmXEndpoints
 
std::vector< intmXLookup
 
std::vector< EndpointmYEndpoints
 
std::vector< intmYLookup
 

Detailed Description

template<typename Real>
class gte::RectangleManager< Real >

Definition at line 20 of file GteRectangleManager.h.

Constructor & Destructor Documentation

template<typename Real >
gte::RectangleManager< Real >::RectangleManager ( std::vector< AlignedBox2< Real >> &  rectangles)

Definition at line 86 of file GteRectangleManager.h.

template<typename Real >
gte::RectangleManager< Real >::RectangleManager ( )
delete
template<typename Real >
gte::RectangleManager< Real >::RectangleManager ( RectangleManager< Real > const &  )
delete

Member Function Documentation

template<typename Real >
std::set< EdgeKey< false > > const & gte::RectangleManager< Real >::GetOverlap ( ) const

Definition at line 261 of file GteRectangleManager.h.

template<typename Real >
void gte::RectangleManager< Real >::GetRectangle ( int  i,
AlignedBox2< Real > &  rectangle 
) const

Definition at line 185 of file GteRectangleManager.h.

template<typename Real >
void gte::RectangleManager< Real >::Initialize ( )

Definition at line 94 of file GteRectangleManager.h.

template<typename Real >
void gte::RectangleManager< Real >::InsertionSort ( std::vector< Endpoint > &  endpoint,
std::vector< int > &  lookup 
)
private

Definition at line 191 of file GteRectangleManager.h.

template<typename Real >
RectangleManager& gte::RectangleManager< Real >::operator= ( RectangleManager< Real > const &  )
delete
template<typename Real >
void gte::RectangleManager< Real >::SetRectangle ( int  i,
AlignedBox2< Real > const &  rectangle 
)

Definition at line 175 of file GteRectangleManager.h.

template<typename Real >
void gte::RectangleManager< Real >::Update ( )

Definition at line 254 of file GteRectangleManager.h.

Member Data Documentation

template<typename Real >
std::set<EdgeKey<false> > gte::RectangleManager< Real >::mOverlap
private

Definition at line 71 of file GteRectangleManager.h.

template<typename Real >
std::vector<AlignedBox2<Real> >& gte::RectangleManager< Real >::mRectangles
private

Definition at line 69 of file GteRectangleManager.h.

template<typename Real >
std::vector<Endpoint> gte::RectangleManager< Real >::mXEndpoints
private

Definition at line 70 of file GteRectangleManager.h.

template<typename Real >
std::vector<int> gte::RectangleManager< Real >::mXLookup
private

Definition at line 82 of file GteRectangleManager.h.

template<typename Real >
std::vector<Endpoint> gte::RectangleManager< Real >::mYEndpoints
private

Definition at line 70 of file GteRectangleManager.h.

template<typename Real >
std::vector<int> gte::RectangleManager< Real >::mYLookup
private

Definition at line 82 of file GteRectangleManager.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06