| 
    KiCad PCB EDA Suite
    
   | 
 
#include <vertex_item.h>
Public Member Functions | |
| VERTEX_ITEM (const VERTEX_MANAGER &aManager) | |
| ~VERTEX_ITEM () | |
| unsigned int | GetSize () const | 
| Return information about number of vertices stored.   | |
| unsigned int | GetOffset () const | 
| Return data offset in the container.   | |
| VERTEX * | GetVertices () const | 
| Return pointer to the data used by the VERTEX_ITEM.   | |
Private Member Functions | |
| void | setOffset (unsigned int aOffset) | 
| Set data offset in the container.   | |
| void | setSize (unsigned int aSize) | 
| Set data size in the container.   | |
Private Attributes | |
| const VERTEX_MANAGER & | m_manager | 
| unsigned int | m_offset | 
| unsigned int | m_size | 
Friends | |
| class | CACHED_CONTAINER | 
| class | CACHED_CONTAINER_GPU | 
| class | VERTEX_MANAGER | 
Definition at line 43 of file vertex_item.h.
      
  | 
  explicit | 
Definition at line 38 of file vertex_item.cpp.
References m_manager, m_offset, m_size, and VERTEX_MANAGER.
| VERTEX_ITEM::~VERTEX_ITEM | ( | ) | 
Definition at line 48 of file vertex_item.cpp.
References m_manager.
      
  | 
  inline | 
Return data offset in the container.
Definition at line 68 of file vertex_item.h.
References m_offset.
Referenced by KIGFX::VERTEX_MANAGER::ChangeItemColor(), KIGFX::VERTEX_MANAGER::ChangeItemDepth(), KIGFX::CACHED_CONTAINER_GPU::defragmentResize(), KIGFX::CACHED_CONTAINER::Delete(), KIGFX::GPU_CACHED_MANAGER::DrawIndices(), KIGFX::VERTEX_MANAGER::GetVertices(), and KIGFX::CACHED_CONTAINER::SetItem().
      
  | 
  inline | 
Return information about number of vertices stored.
Definition at line 58 of file vertex_item.h.
References m_size.
Referenced by KIGFX::VERTEX_MANAGER::ChangeItemColor(), KIGFX::VERTEX_MANAGER::ChangeItemDepth(), KIGFX::CACHED_CONTAINER_GPU::defragmentResize(), KIGFX::CACHED_CONTAINER::Delete(), KIGFX::GPU_CACHED_MANAGER::DrawIndices(), KIGFX::VERTEX_MANAGER::GetVertices(), and KIGFX::CACHED_CONTAINER::SetItem().
| VERTEX * VERTEX_ITEM::GetVertices | ( | ) | const | 
Return pointer to the data used by the VERTEX_ITEM.
Definition at line 54 of file vertex_item.cpp.
References m_manager.
      
  | 
  inlineprivate | 
Set data offset in the container.
| aOffset | is the offset expressed as a number of vertices. | 
Definition at line 84 of file vertex_item.h.
References m_offset.
Referenced by KIGFX::CACHED_CONTAINER_GPU::defragmentResize().
      
  | 
  inlineprivate | 
Set data size in the container.
| aSize | is the size expressed as a number of vertices. | 
Definition at line 94 of file vertex_item.h.
References m_size.
Referenced by KIGFX::CACHED_CONTAINER::Delete().
      
  | 
  friend | 
Definition at line 46 of file vertex_item.h.
References CACHED_CONTAINER.
Referenced by CACHED_CONTAINER.
      
  | 
  friend | 
Definition at line 47 of file vertex_item.h.
References CACHED_CONTAINER_GPU.
Referenced by CACHED_CONTAINER_GPU.
      
  | 
  friend | 
Definition at line 48 of file vertex_item.h.
References VERTEX_MANAGER.
Referenced by VERTEX_ITEM(), and VERTEX_MANAGER.
      
  | 
  private | 
Definition at line 99 of file vertex_item.h.
Referenced by GetVertices(), VERTEX_ITEM(), and ~VERTEX_ITEM().
      
  | 
  private | 
Definition at line 100 of file vertex_item.h.
Referenced by GetOffset(), setOffset(), and VERTEX_ITEM().
      
  | 
  private | 
Definition at line 101 of file vertex_item.h.
Referenced by GetSize(), setSize(), and VERTEX_ITEM().