![]() |
Open CASCADE Technology Reference Manual 8.0.1
|
#include <Draw_Viewer.hxx>
Public Member Functions | |
| Draw_Viewer () | |
| bool | DefineColor (const int i, const char *colname) |
| void | MakeView (const int idid, const char *typ, const int X, const int Y, const int W, const int H) |
| void | MakeView (const int idid, const char *typ, const char *window) |
| void | SetTitle (const int idid, const char *namename) |
| void | ResetView (const int idid) |
| void | SetZoom (const int idid, const double zz) |
| void | RotateView (const int idid, const gp_Dir2d &, const double) |
| void | RotateView (const int idid, const gp_Pnt &, const gp_Dir &, const double) |
| void | SetFocal (const int idid, const double FocalDist) |
| char * | GetType (const int idid) const |
| double | Zoom (const int idid) const |
| double | Focal (const int idid) const |
| void | SetTrsf (const int idid, gp_Trsf &T) |
| void | GetTrsf (const int idid, gp_Trsf &T) const |
| void | GetPosSize (const int idid, int &X, int &Y, int &W, int &H) |
| bool | Is3D (const int idid) const |
| void | GetFrame (const int idid, int &xmin, int &ymin, int &xmax, int &ymax) |
| void | FitView (const int idid, const int frame) |
| void | PanView (const int idid, const int DX, const int DY) |
| void | SetPan (const int idid, const int DX, const int DY) |
| void | GetPan (const int idid, int &DX, int &DY) |
| bool | HasView (const int idid) const |
| void | DisplayView (const int idid) const |
| void | HideView (const int idid) const |
| void | ClearView (const int idid) const |
| void | RemoveView (const int idid) |
| void | RepaintView (const int idid) const |
| void | ConfigView (const int idid) const |
| void | PostScriptView (const int idid, const int VXmin, const int VYmin, const int VXmax, const int VYmax, const int PXmin, const int PYmin, const int PXmax, const int PYmax, std::ostream &sortie) const |
| void | PostColor (const int icol, const int widthwidth, const double gray) |
| bool | SaveView (const int idid, const char *filename) |
| void | RepaintAll () const |
| void | Repaint2D () const |
| void | Repaint3D () const |
| void | DeleteView (const int idid) |
| void | Clear () |
| void | Clear2D () |
| void | Clear3D () |
| void | Flush () |
| void | DrawOnView (const int idid, const occ::handle< Draw_Drawable3D > &D) const |
| void | HighlightOnView (const int idid, const occ::handle< Draw_Drawable3D > &D, const Draw_ColorKind C=Draw_blanc) const |
| void | AddDrawable (const occ::handle< Draw_Drawable3D > &D) |
| void | RemoveDrawable (const occ::handle< Draw_Drawable3D > &D) |
| Draw_Display | MakeDisplay (const int idid) const |
| void | Select (int &idid, int &X, int &Y, int &Button, bool waitclick=true) |
| int | Pick (const int idid, const int X, const int Y, const int Prec, occ::handle< Draw_Drawable3D > &D, const int First=0) const |
| void | LastPick (gp_Pnt &P1, gp_Pnt &P2, double &Param) |
| ~Draw_Viewer () | |
| Draw_Viewer & | operator<< (const occ::handle< Draw_Drawable3D > &) |
| const NCollection_Sequence< occ::handle< Draw_Drawable3D > > & | GetDrawables () |
| Draw_Viewer::Draw_Viewer | ( | ) |
| Draw_Viewer::~Draw_Viewer | ( | ) |
| void Draw_Viewer::AddDrawable | ( | const occ::handle< Draw_Drawable3D > & | D | ) |
| void Draw_Viewer::Clear | ( | ) |
| void Draw_Viewer::Clear2D | ( | ) |
| void Draw_Viewer::Clear3D | ( | ) |
| void Draw_Viewer::ClearView | ( | const int | id | ) | const |
| void Draw_Viewer::ConfigView | ( | const int | id | ) | const |
| bool Draw_Viewer::DefineColor | ( | const int | i, |
| const char * | colname ) |
| void Draw_Viewer::DeleteView | ( | const int | id | ) |
| void Draw_Viewer::DisplayView | ( | const int | id | ) | const |
| void Draw_Viewer::DrawOnView | ( | const int | id, |
| const occ::handle< Draw_Drawable3D > & | D ) const |
| void Draw_Viewer::FitView | ( | const int | id, |
| const int | frame ) |
| void Draw_Viewer::Flush | ( | ) |
| double Draw_Viewer::Focal | ( | const int | id | ) | const |
| const NCollection_Sequence< occ::handle< Draw_Drawable3D > > & Draw_Viewer::GetDrawables | ( | ) |
| void Draw_Viewer::GetFrame | ( | const int | id, |
| int & | xmin, | ||
| int & | ymin, | ||
| int & | xmax, | ||
| int & | ymax ) |
| void Draw_Viewer::GetPan | ( | const int | id, |
| int & | DX, | ||
| int & | DY ) |
| void Draw_Viewer::GetPosSize | ( | const int | id, |
| int & | X, | ||
| int & | Y, | ||
| int & | W, | ||
| int & | H ) |
| char * Draw_Viewer::GetType | ( | const int | id | ) | const |
| bool Draw_Viewer::HasView | ( | const int | id | ) | const |
| void Draw_Viewer::HideView | ( | const int | id | ) | const |
| void Draw_Viewer::HighlightOnView | ( | const int | id, |
| const occ::handle< Draw_Drawable3D > & | D, | ||
| const Draw_ColorKind | C = Draw_blanc ) const |
| bool Draw_Viewer::Is3D | ( | const int | id | ) | const |
| Draw_Display Draw_Viewer::MakeDisplay | ( | const int | id | ) | const |
| void Draw_Viewer::MakeView | ( | const int | id, |
| const char * | typ, | ||
| const char * | window ) |
| void Draw_Viewer::MakeView | ( | const int | id, |
| const char * | typ, | ||
| const int | X, | ||
| const int | Y, | ||
| const int | W, | ||
| const int | H ) |
| Draw_Viewer & Draw_Viewer::operator<< | ( | const occ::handle< Draw_Drawable3D > & | ) |
| void Draw_Viewer::PanView | ( | const int | id, |
| const int | DX, | ||
| const int | DY ) |
| int Draw_Viewer::Pick | ( | const int | id, |
| const int | X, | ||
| const int | Y, | ||
| const int | Prec, | ||
| occ::handle< Draw_Drawable3D > & | D, | ||
| const int | First = 0 ) const |
| void Draw_Viewer::PostColor | ( | const int | icol, |
| const int | width, | ||
| const double | gray ) |
| void Draw_Viewer::PostScriptView | ( | const int | id, |
| const int | VXmin, | ||
| const int | VYmin, | ||
| const int | VXmax, | ||
| const int | VYmax, | ||
| const int | PXmin, | ||
| const int | PYmin, | ||
| const int | PXmax, | ||
| const int | PYmax, | ||
| std::ostream & | sortie ) const |
| void Draw_Viewer::RemoveDrawable | ( | const occ::handle< Draw_Drawable3D > & | D | ) |
| void Draw_Viewer::RemoveView | ( | const int | id | ) |
| void Draw_Viewer::Repaint2D | ( | ) | const |
| void Draw_Viewer::Repaint3D | ( | ) | const |
| void Draw_Viewer::RepaintAll | ( | ) | const |
| void Draw_Viewer::RepaintView | ( | const int | id | ) | const |
| void Draw_Viewer::ResetView | ( | const int | id | ) |
| bool Draw_Viewer::SaveView | ( | const int | id, |
| const char * | filename ) |
| void Draw_Viewer::Select | ( | int & | id, |
| int & | X, | ||
| int & | Y, | ||
| int & | Button, | ||
| bool | waitclick = true ) |
| void Draw_Viewer::SetFocal | ( | const int | id, |
| const double | FocalDist ) |
| void Draw_Viewer::SetPan | ( | const int | id, |
| const int | DX, | ||
| const int | DY ) |
| void Draw_Viewer::SetTitle | ( | const int | id, |
| const char * | name ) |
| void Draw_Viewer::SetZoom | ( | const int | id, |
| const double | z ) |
| double Draw_Viewer::Zoom | ( | const int | id | ) | const |