OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
viz.hpp File Reference

C++ veneer for graph-native visualization. More...

#include <occtl/occtl_viz.h>
#include <occtl-hpp/core.hpp>
#include <occtl-hpp/topo.hpp>
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
Include dependency graph for viz.hpp:

Go to the source code of this file.

Classes

struct  occtl::viz::DriverOptions
 Options for creating a visualization driver. More...
 
struct  occtl::viz::ViewOptions
 Options for creating a native or offscreen view. More...
 
struct  occtl::viz::Camera
 Camera placement (eye, target, up) for a viz view. More...
 
struct  occtl::viz::PickResult
 Graph identity returned by View::pick(). More...
 
class  occtl::viz::Driver
 RAII wrapper for the process-local visualization driver. More...
 
class  occtl::viz::Viewer
 RAII wrapper for a viewer bound to a Driver. More...
 
class  occtl::viz::Presentable
 RAII wrapper for a display object bound to a graph root. More...
 
class  occtl::viz::View
 RAII wrapper for a native or offscreen view. More...
 

Enumerations

enum class  occtl::viz::DisplayMode { Wireframe = OCCTL_VIZ_DISPLAY_WIREFRAME , Shaded = OCCTL_VIZ_DISPLAY_SHADED , ShadedWithEdges = OCCTL_VIZ_DISPLAY_SHADED_WITH_EDGES , MeshDebug = OCCTL_VIZ_DISPLAY_MESH_DEBUG }
 Display mode for graph presentables.
 
enum class  occtl::viz::SelectionMode {
  Whole = OCCTL_VIZ_SELECT_WHOLE , Face = OCCTL_VIZ_SELECT_FACE , Edge = OCCTL_VIZ_SELECT_EDGE , Vertex = OCCTL_VIZ_SELECT_VERTEX ,
  Wire = OCCTL_VIZ_SELECT_WIRE , Shell = OCCTL_VIZ_SELECT_SHELL , Solid = OCCTL_VIZ_SELECT_SOLID , CoEdge = OCCTL_VIZ_SELECT_COEDGE ,
  Product = OCCTL_VIZ_SELECT_PRODUCT , Compound = OCCTL_VIZ_SELECT_COMPOUND , CompSolid = OCCTL_VIZ_SELECT_COMPSOLID
}
 Graph-native selection mode for picking.
 
enum class  occtl::viz::StandardView {
  Front = OCCTL_VIZ_VIEW_FRONT , Back = OCCTL_VIZ_VIEW_BACK , Left = OCCTL_VIZ_VIEW_LEFT , Right = OCCTL_VIZ_VIEW_RIGHT ,
  Top = OCCTL_VIZ_VIEW_TOP , Bottom = OCCTL_VIZ_VIEW_BOTTOM , Iso = OCCTL_VIZ_VIEW_ISO
}
 Standard camera orientation presets.
 

Detailed Description

C++ veneer for graph-native visualization.

Provides RAII handles (Driver, Viewer, View, Presentable), idiomatic option structs, camera and pick-result wrappers, and interaction helpers over the viz C ABI. Failures translate to occtl::Error via check().