Hi Saneesh,
OCAF is the component of OCCT => http://www.opencascade.org/occt/overview/compocc4/.
See also OCAF User's Guide.
It supposes that you keep your information in attributes: Standard (available with OCCT release) or in your own attributes developed by yourself.
After that you may use Undo/Redo services provided by TDocStd_Document class.
Regards
Hi,
1. read "Application Framework White Paper" & OCAF User's Guide.
2. Analyze Ocaf Sample (mfc based)
3. after that you may start implementation your own solution.
Regards
Sun, 06/05/2011 - 21:15
You must use OCAF.
Mon, 06/06/2011 - 07:53
What does it mean by I must use OCAF. OCAF is a sample right? Why we can't implement this in the undo redo sample?
Mon, 06/06/2011 - 07:54
sorry why we cant implement undo redo in the import export sample?
if we override the OnNewDocument function will it work?
Mon, 06/06/2011 - 10:00
Hi Saneesh,
OCAF is the component of OCCT => http://www.opencascade.org/occt/overview/compocc4/.
See also OCAF User's Guide.
It supposes that you keep your information in attributes: Standard (available with OCCT release) or in your own attributes developed by yourself.
After that you may use Undo/Redo services provided by TDocStd_Document class.
Regards
Mon, 06/06/2011 - 13:44
Can you please list me what are the steps i should do?
Mon, 06/06/2011 - 15:08
Hi,
1. read "Application Framework White Paper" & OCAF User's Guide.
2. Analyze Ocaf Sample (mfc based)
3. after that you may start implementation your own solution.
Regards
Mon, 06/06/2011 - 15:38
Thank you for the reply