#include <qoccdocument.h>
| Public Member Functions | |
| QoccDocument (const Handle(TDocStd_Document)&aDoc, int anID=0) | |
| ~QoccDocument () | |
| Handle (TDocStd_Document)&getDocument() | |
| int | id () | 
| Handle (TPrsStd_AISPresentation) RegisterPresentation(Handle(GEOM_Object) TheGeomObject) | |
| bool | RemovePresentation (Handle(GEOM_Object) TheGeomObject) | 
| void | undo () | 
| void | redo () | 
| void | UpdatePresentations (TDF_Label theRoot) | 
| void | SetDocumentAndID (Handle(TDocStd_Document) aDocument, int anID) | 
| Private Member Functions | |
| Handle (TDocStd_Document) myDocument | |
| Private Attributes | |
| int | myID | 
Definition at line 34 of file qoccdocument.h.
| QoccDocument::QoccDocument | ( | const Handle(TDocStd_Document)& | aDoc, | |
| int | anID = 0 | |||
| ) | 
| QoccDocument::~QoccDocument | ( | ) | 
Definition at line 49 of file qoccdocument.cpp.
| QoccDocument::Handle | ( | TDocStd_Document | ) |  [private] | 
| QoccDocument::Handle | ( | TPrsStd_AISPresentation | ) | 
| QoccDocument::Handle | ( | TDocStd_Document | ) |  [inline] | 
Definition at line 44 of file qoccdocument.h.
Referenced by RemovePresentation(), and UpdatePresentations().
Here is the caller graph for this function:

| int QoccDocument::id | ( | ) |  [inline] | 
Definition at line 46 of file qoccdocument.h.
Referenced by QoccCmdPoint::clickEvent(), QoccCmdLine2Pt::clickEvent(), QoccCmdCircle2Pt::clickEvent(), QoccCmdLine2Pt::moveEvent(), QoccCmdCircle2Pt::moveEvent(), QoccMainWindow::QoccMainWindow(), QoccApplication::Redo(), QoccApplication::ResetDocument(), QoccApplication::SaveDocumentAs(), and QoccApplication::Undo().
Here is the caller graph for this function:

| void QoccDocument::redo | ( | ) | 
Definition at line 58 of file qoccdocument.cpp.
References qGeomApp.
Referenced by QoccController::redo().
Here is the caller graph for this function:

| bool QoccDocument::RemovePresentation | ( | Handle(GEOM_Object) | TheGeomObject | ) | 
Definition at line 71 of file qoccdocument.cpp.
References Handle(), and RESULT_LABEL.
Referenced by QoccCmdLine2Pt::clickEvent(), QoccCmdCircle2Pt::clickEvent(), QoccCmdLine2Pt::moveEvent(), QoccCmdCircle2Pt::moveEvent(), QoccMainWindow::QoccMainWindow(), QoccCmdCircle2Pt::~QoccCmdCircle2Pt(), and QoccCmdLine2Pt::~QoccCmdLine2Pt().
Here is the call graph for this function:

Here is the caller graph for this function:

| void QoccDocument::SetDocumentAndID | ( | Handle(TDocStd_Document) | aDocument, | |
| int | anID | |||
| ) | 
Definition at line 136 of file qoccdocument.cpp.
References myID.
Referenced by QoccApplication::ResetDocument().
Here is the caller graph for this function:

| void QoccDocument::undo | ( | ) | 
Definition at line 53 of file qoccdocument.cpp.
References qGeomApp.
Referenced by QoccController::undo().
Here is the caller graph for this function:

| void QoccDocument::UpdatePresentations | ( | TDF_Label | theRoot | ) | 
Definition at line 86 of file qoccdocument.cpp.
References Handle(), and RESULT_LABEL.
Referenced by QoccApplication::LoadDocument().
Here is the call graph for this function:

Here is the caller graph for this function:

| int QoccDocument::myID  [private] | 
 1.4.7
 1.4.7