Rhino C++ API
8.13
|
#include <rhinoSdkDoc.h>
Public Member Functions | |
CRhinoOpenDocumentOptions () | |
bool | AddToMRU () const |
bool | CreateHeadless () const |
bool | CreateStealthWorksession () const |
int | FileReadingPlugInFileTypeIndex () const |
ON_UUID | FileReadingPlugInId () const |
bool | MakeVisible () const |
bool | NameDocument () const |
void | SetAddToMRU (bool bAddToMRU) |
void | SetCreateHeadless (bool bCreateHeadless) |
void | SetCreateStealthWorksession (bool bCreateStealthWorksession) |
void | SetFileReadingPlugInId (ON_UUID file_read_plug_in_id, int file_type_index) |
void | SetMakeVisible (bool bMakeVisible) |
void | SetNameDocument (bool bNameDocument) |
void | SetUpdateDefaultDirectory (bool bUpdateDefaultDirectory) |
void | SetUserQueriesPermitted (bool bUserQueriesPermitted) |
bool | UpdateDefaultDirectory () const |
bool | UserQueriesPermitted () const |
Static Public Attributes | |
static const CRhinoOpenDocumentOptions | Defaults |
CRhinoOpenDocumentOptions::CRhinoOpenDocumentOptions | ( | ) |
The CRhinoOpenDocumentOptions class is used to pass options to the static CRhinoDoc::OpenDocument() function.
bool CRhinoOpenDocumentOptions::AddToMRU | ( | ) | const |
Returns: true if the model file name should be added to the MRU list after the file is successfully read. Remarks: Default value is true.
bool CRhinoOpenDocumentOptions::CreateHeadless | ( | ) | const |
Returns: true if a "headless" document should be created Remarks: This function is a work in progress and may change during the development of V7
bool CRhinoOpenDocumentOptions::CreateStealthWorksession | ( | ) | const |
Returns: true if a "stealth" worksession should be created. Remarks: Default value is true. Ideally, this function will vanish in the near future!
int CRhinoOpenDocumentOptions::FileReadingPlugInFileTypeIndex | ( | ) | const |
ON_UUID CRhinoOpenDocumentOptions::FileReadingPlugInId | ( | ) | const |
Returns: non nil The id of a file reading plug-in to read the file. ON_nil_uuid The model file will be read as a native rhino .3dm file. Remarks: Default value is nil.
bool CRhinoOpenDocumentOptions::MakeVisible | ( | ) | const |
Returns: true if the model should be visible after the file is successfully read. Remarks: Default value is true.
bool CRhinoOpenDocumentOptions::NameDocument | ( | ) | const |
Returns: true if the document name should be set from the file name. false if the model is not named (reading a backup or auto-save file). Remarks: Default value is true.
void CRhinoOpenDocumentOptions::SetAddToMRU | ( | bool | bAddToMRU | ) |
void CRhinoOpenDocumentOptions::SetCreateHeadless | ( | bool | bCreateHeadless | ) |
void CRhinoOpenDocumentOptions::SetCreateStealthWorksession | ( | bool | bCreateStealthWorksession | ) |
void CRhinoOpenDocumentOptions::SetFileReadingPlugInId | ( | ON_UUID | file_read_plug_in_id, |
int | file_type_index | ||
) |
void CRhinoOpenDocumentOptions::SetMakeVisible | ( | bool | bMakeVisible | ) |
void CRhinoOpenDocumentOptions::SetNameDocument | ( | bool | bNameDocument | ) |
void CRhinoOpenDocumentOptions::SetUpdateDefaultDirectory | ( | bool | bUpdateDefaultDirectory | ) |
void CRhinoOpenDocumentOptions::SetUserQueriesPermitted | ( | bool | bUserQueriesPermitted | ) |
bool CRhinoOpenDocumentOptions::UpdateDefaultDirectory | ( | ) | const |
Returns: true if the Rhino application default directory should be updated. Remarks: Default value is true.
bool CRhinoOpenDocumentOptions::UserQueriesPermitted | ( | ) | const |
Returns: true if the user interface queries or dialogs are permitted. Remarks: Default value is true.
|
static |
Not needed until implementation changes ~CRhinoOpenDocumentOptions(); CRhinoOpenDocumentOptions(const CRhinoOpenDocumentOptions& src); CRhinoOpenDocumentOptions& operator=(const CRhinoOpenDocumentOptions& src);