

Public Types | |
| enum | Plane { NONE = 1, XY_PLANE = 2, YZ_PLANE = 3, XZ_PLANE = 4 } |
Public Member Functions | |
| SliceNode (BaseNode *_parent=0, std::string _name="<SliceNode>") | |
| void | set_visible_box (const Vec3f &_bmin, const Vec3f &_bmax) |
| void | set_texture_box (const Vec3f &_bmin, const Vec3f &_bmax) |
| ACG_CLASSNAME (SliceNode) | |
| DrawModes::DrawMode | availableDrawModes () const |
| void | boundingBox (Vec3d &_bbMin, Vec3d &_bbMax) |
| void | draw (GLState &_state, DrawModes::DrawMode _drawMode) |
| void | draw_frame () const |
| void | draw_planes () const |
| void | pick (GLState &_state, PickTarget _target) |
| bool | is_enabled (Plane _plane) const |
| void | set_enabled (Plane _plane) |
| Vec3f | cursor () const |
| void | set_cursor (const Vec3f &_cursor) |
| void | view_frame (bool _view_frame) |
Private Attributes | |
| Vec3d | visible_min_ |
| Vec3d | visible_max_ |
| Vec3f | texture_min_ |
| Vec3f | texture_max_ |
| Vec3f | cursor_ |
| bool | view_frame_ |
| Plane | enabled_ |
Definition at line 69 of file SliceNode.hh.
| DrawModes::DrawMode ACG::SceneGraph::SliceNode::availableDrawModes | ( | ) | const [virtual] |
Return a list of available draw modes for this node: should be OR'ed from the items of the enum DrawModeIDs.
Reimplemented from ACG::SceneGraph::ACG::SceneGraph::BaseNode.
Definition at line 103 of file SliceNode.cc.
References ACG::SceneGraph::DrawModes::HIDDENLINE, ACG::SceneGraph::DrawModes::POINTS, ACG::SceneGraph::DrawModes::SOLID_FLAT_SHADED, ACG::SceneGraph::DrawModes::SOLID_SMOOTH_SHADED, and ACG::SceneGraph::DrawModes::WIREFRAME.
| void ACG::SceneGraph::SliceNode::boundingBox | ( | Vec3d & | , | |
| Vec3d & | ||||
| ) | [virtual] |
Compute the bounding box of this node and update the values _bbMin and _bbMax accordingly. Do not initialize _bbMin and _bbMax since they may already store values of previous nodes' bounding box computation.
Reimplemented from ACG::SceneGraph::ACG::SceneGraph::BaseNode.
Definition at line 92 of file SliceNode.cc.