Flutter Engine
The Flutter Engine
|
#include <SkBBHFactory.h>
Classes | |
struct | Metadata |
Public Member Functions | |
virtual void | insert (const SkRect[], int N)=0 |
virtual void | insert (const SkRect[], const Metadata[], int N) |
virtual void | search (const SkRect &query, std::vector< int > *results) const =0 |
virtual size_t | bytesUsed () const =0 |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Protected Member Functions | |
SkBBoxHierarchy ()=default | |
SkBBoxHierarchy (const SkBBoxHierarchy &)=delete | |
SkBBoxHierarchy & | operator= (const SkBBoxHierarchy &)=delete |
Definition at line 20 of file SkBBHFactory.h.
|
protecteddefault |
|
protecteddelete |
|
pure virtual |
Return approximate size in memory of *this.
Implemented in flutter::RTree, SkRTree, and CountingBBH.
Reimplemented in flutter::RTree.
Definition at line 17 of file SkBBHFactory.cpp.
Insert N bounding boxes into the hierarchy.
Implemented in flutter::RTree, SkRTree, and CountingBBH.
|
protecteddelete |
|
pure virtual |
Populate results with the indices of bounding boxes intersecting that query.
Implemented in flutter::RTree, SkRTree, and CountingBBH.