|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_topo_algo.h>

Public Attributes | |
| uint32_t | struct_version |
| const void * | p_next |
| occtl_node_id_t | root |
| occtl_axis3_placement_t | projection_frame |
| double | focus |
| int32_t | include_hidden |
| int32_t | include_smooth |
| int32_t | include_outline |
| occtl_topo_hlr_mode_t | mode |
Configuration for occtl_topo_make_hlr_projection.
Projects a graph root through OCCT hidden-line removal. The frame follows OCCT HLR convention: projection_frame.location is the projection target, projection_frame.z_dir is the viewing direction, and projection_frame.x_dir is the horizontal direction of the drawing plane. Set focus <= 0.0 for parallel projection, or a positive focal distance for perspective projection.
| double occtl_topo_hlr_options::focus |
Perspective focus distance; <= 0 selects parallel projection.
| int32_t occtl_topo_hlr_options::include_hidden |
0/1; include hidden categories. Default 1.
| int32_t occtl_topo_hlr_options::include_outline |
0/1; include outline categories. Default 1.
| int32_t occtl_topo_hlr_options::include_smooth |
0/1; include smooth and seam categories. Default 1.
| occtl_topo_hlr_mode_t occtl_topo_hlr_options::mode |
HLR algorithm. Default OCCTL_TOPO_HLR_BREP.
| const void* occtl_topo_hlr_options::p_next |
Reserved; set to NULL.
| occtl_axis3_placement_t occtl_topo_hlr_options::projection_frame |
Camera-like projection frame.
| occtl_node_id_t occtl_topo_hlr_options::root |
Borrows it. Shape root to project.
| uint32_t occtl_topo_hlr_options::struct_version |
Must be OCCTL_TOPO_HLR_OPTIONS_VERSION_1.