![]() |
Prusa Slicer 2.6.0
|
#include <src/agg/agg_path_storage.h>
Public Types | |
| enum | block_scale_e { block_shift = BlockShift , block_size = 1 << block_shift , block_mask = block_size - 1 , block_pool = BlockPool } |
| typedef T | value_type |
| typedef vertex_block_storage< T, BlockShift, BlockPool > | self_type |
Public Member Functions | |
| ~vertex_block_storage () | |
| vertex_block_storage () | |
| vertex_block_storage (const self_type &v) | |
| const self_type & | operator= (const self_type &ps) |
| void | remove_all () |
| void | free_all () |
| void | add_vertex (double x, double y, unsigned cmd) |
| void | modify_vertex (unsigned idx, double x, double y) |
| void | modify_vertex (unsigned idx, double x, double y, unsigned cmd) |
| void | modify_command (unsigned idx, unsigned cmd) |
| void | swap_vertices (unsigned v1, unsigned v2) |
| unsigned | last_command () const |
| unsigned | last_vertex (double *x, double *y) const |
| unsigned | prev_vertex (double *x, double *y) const |
| double | last_x () const |
| double | last_y () const |
| unsigned | total_vertices () const |
| unsigned | vertex (unsigned idx, double *x, double *y) const |
| unsigned | command (unsigned idx) const |
Private Member Functions | |
| void | allocate_block (unsigned nb) |
| int8u * | storage_ptrs (T **xy_ptr) |
Private Attributes | |
| unsigned | m_total_vertices |
| unsigned | m_total_blocks |
| unsigned | m_max_blocks |
| T ** | m_coord_blocks |
| int8u ** | m_cmd_blocks |
| typedef vertex_block_storage<T, BlockShift, BlockPool> agg::vertex_block_storage< T, BlockShift, BlockPool >::self_type |
| typedef T agg::vertex_block_storage< T, BlockShift, BlockPool >::value_type |
| enum agg::vertex_block_storage::block_scale_e |
| Enumerator | |
|---|---|
| block_shift | |
| block_size | |
| block_mask | |
| block_pool | |
| agg::vertex_block_storage< T, S, P >::~vertex_block_storage |
| agg::vertex_block_storage< T, S, P >::vertex_block_storage |
| agg::vertex_block_storage< T, BlockShift, BlockPool >::vertex_block_storage | ( | const self_type & | v | ) |
|
inline |
References cmd.
|
private |
References agg::pod_allocator< T >::allocate(), and agg::pod_allocator< T >::deallocate().
Here is the call graph for this function:
|
inline |
| void agg::vertex_block_storage< T, S, P >::free_all |
References agg::pod_allocator< T >::deallocate().
Here is the call graph for this function:
|
inline |
References agg::path_cmd_stop.
|
inline |
References agg::path_cmd_stop.
|
inline |
|
inline |
|
inline |
References cmd.
|
inline |
|
inline |
Here is the call graph for this function:| const vertex_block_storage< T, S, P > & agg::vertex_block_storage< T, S, P >::operator= | ( | const self_type & | ps | ) |
References cmd, agg::vertex_block_storage< T, BlockShift, BlockPool >::total_vertices(), and agg::vertex_block_storage< T, BlockShift, BlockPool >::vertex().
Here is the call graph for this function:
|
inline |
References agg::path_cmd_stop.
|
inline |
|
private |
|
inline |
References cmd.
|
inline |
Referenced by agg::vertex_block_storage< T, BlockShift, BlockPool >::operator=().
Here is the caller graph for this function:
|
inline |
Referenced by agg::vertex_block_storage< T, BlockShift, BlockPool >::operator=().
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |