shapeworks::PlaneWidget
#include <PlaneWidget.h>
Public Functions
Name | |
---|---|
PlaneWidget(Viewer * viewer) | |
~PlaneWidget() | |
void | update() Update the widget from shape data. |
void | store_positions() Store positions back to shape data (this is called by callback) |
void | update_glyph_properties() Update the sizes and detail of control spheres. |
void | clear_planes() Clear point handles and planes. |
void | handle_right_click(int domain, int plane, int point) Handle a right click on a particular point. |
void | delete_plane(int domain, int plane_id) Delete a particular plane. |
void | flip_plane(int domain, int plane_id) Flip the normal for a given plane. |
void | apply_plane(int domain, int plane_id) Apply a plane from one shape to all others (e.g. copy and paste) |
void | set_plane_offset(int domain, int plane_id, int offset) Set an offset for a given plane. |
void | finalize_plane_offset(int domain, int plane_id) Finalize the offset for a given plane. |
Detailed Description
class shapeworks::PlaneWidget;
Widget to display and manipulate constraint planes
Public Functions Documentation
function PlaneWidget
PlaneWidget(
Viewer * viewer
)
function ~PlaneWidget
~PlaneWidget()
function update
void update()
Update the widget from shape data.
function store_positions
void store_positions()
Store positions back to shape data (this is called by callback)
function update_glyph_properties
void update_glyph_properties()
Update the sizes and detail of control spheres.
function clear_planes
void clear_planes()
Clear point handles and planes.
function handle_right_click
void handle_right_click(
int domain,
int plane,
int point
)
Handle a right click on a particular point.
function delete_plane
void delete_plane(
int domain,
int plane_id
)
Delete a particular plane.
function flip_plane
void flip_plane(
int domain,
int plane_id
)
Flip the normal for a given plane.
function apply_plane
void apply_plane(
int domain,
int plane_id
)
Apply a plane from one shape to all others (e.g. copy and paste)
function set_plane_offset
void set_plane_offset(
int domain,
int plane_id,
int offset
)
Set an offset for a given plane.
function finalize_plane_offset
void finalize_plane_offset(
int domain,
int plane_id
)
Finalize the offset for a given plane.
Updated on 2024-11-11 at 19:51:46 +0000