|
| virtual rw::graphics::SceneGraph::RenderInfo & | getRenderInfo ()=0 |
| | Get rendering info for the scene. More...
|
| |
| virtual rw::graphics::DrawableNode::Ptr | getPivotDrawable ()=0 |
| | Get the drawable used for pivoting. More...
|
| |
| virtual QWidget * | getWidget ()=0 |
| | Get the Qt widget for visualization of the scene. More...
|
| |
|
| SceneViewer () |
| | Constructor.
|
| |
|
virtual | ~SceneViewer () |
| | Destructor.
|
| |
|
virtual SceneGraph::Ptr | getScene ()=0 |
| | get the current scene graph
|
| |
|
virtual const std::string & | getLogo () const =0 |
| | get the logo that is displayed in the 3d scene
|
| |
|
virtual void | setLogo (const std::string &string)=0 |
| | set the logo that is displayed in the 3d scene
|
| |
|
virtual rw::core::PropertyMap & | getPropertyMap ()=0 |
| | get propertymap
|
| |
|
virtual void | updateView ()=0 |
| | Update the view.
|
| |
| virtual void | updateState (const rw::kinematics::State &state)=0 |
| | Set a new state. More...
|
| |
| virtual void | setWorldNode (rw::graphics::GroupNode::Ptr wnode)=0 |
| | Set the world group node. More...
|
| |
| virtual void | setWorkCellScene (rw::core::Ptr< class WorkCellScene > wcscene) |
| | Set the WorkCell scene. More...
|
| |
| virtual rw::graphics::GroupNode::Ptr | getWorldNode ()=0 |
| | Get the world node. More...
|
| |
| virtual void | saveBufferToFile (const std::string &filename, const int fillR, const int fillG, const int fillB)=0 |
| | Saves the current 3D view to disk as either jpg, bmp or png. More...
|
| |
| virtual SceneCamera::Ptr | getViewCamera ()=0 |
| | Get the view camera. More...
|
| |
| virtual rw::math::Vector3D | getViewCenter ()=0 |
| | Get the view center. More...
|
| |
| virtual DrawableNode::Ptr | pickDrawable (int x, int y)=0 |
| | picks the drawable in the scene that intersects with the ray (x,y,-1) in camera coordinates. More...
|
| |
| virtual DrawableNode::Ptr | pickDrawable (SceneGraph::RenderInfo &info, int x, int y)=0 |
| | picks the drawable in the scene that intersects with the ray (x,y,-1) in camera coordinates. More...
|
| |
| virtual View::Ptr | createView (const std::string &name, bool enableBackground=false)=0 |
| | Create a new view. More...
|
| |
| virtual View::Ptr | getMainView ()=0 |
| | Get the main view. More...
|
| |
| virtual void | destroyView (View::Ptr view)=0 |
| | Destroy view. More...
|
| |
| virtual void | selectView (View::Ptr view)=0 |
| | Select a view. More...
|
| |
| virtual View::Ptr | getCurrentView ()=0 |
| | Get the currently selected view. More...
|
| |
| virtual std::vector< View::Ptr > | getViews ()=0 |
| | Get all views. More...
|
| |
| virtual void | renderView (View::Ptr view)=0 |
| | Render a view. More...
|
| |
| PositionSelectedEvent & | positionSelectedEvent () |
| | Returns PositionChangedEvent object needed for subscription to and firing of event. More...
|
| |
| virtual void | setTransform (const rw::math::Transform3D<> &t3d) |
| | set the orientation of the view. The view will look in the positive direction of the z-axis, with x-axis as the width and the y-axis as the height. Origin of view is in the center of the image. More...
|
| |
| virtual rw::math::Transform3D | getTransform () |
| | get the current rotation of the view More...
|
| |
| virtual void | zoom (double amount)=0 |
| | Move the camera along its z-axis. More...
|
| |
|
virtual void | autoZoom ()=0 |
| | Automatically fits all frames inside the viewport by moving camera in its z-axis.
|
| |
Class representing a Qt widget for 3D visualization of a scene.