Open CASCADE Technology 7.8.2.dev
|
The purpose of this class is to configure the transfer process for VRML format Stores the necessary settings for Vrml_Provider. Configures and creates special provider to transfer VRML files. More...
#include <Vrml_ConfigurationNode.hxx>
Data Structures | |
struct | Vrml_InternalSection |
Public Types | |
enum | WriteMode_WriterVersion { WriteMode_WriterVersion_1 = 1 , WriteMode_WriterVersion_2 } |
enum | WriteMode_RepresentationType { WriteMode_RepresentationType_Shaded = 0 , WriteMode_RepresentationType_Wireframe , WriteMode_RepresentationType_Both } |
Public Types inherited from Standard_Transient | |
typedef void | base_type |
Returns a type descriptor about this object. | |
Public Member Functions | |
Vrml_ConfigurationNode () | |
Initializes all field by default. | |
Vrml_ConfigurationNode (const Handle< Vrml_ConfigurationNode > &theNode) | |
Copies values of all fields. | |
virtual bool | Load (const Handle< DE_ConfigurationContext > &theResource) override |
Updates values according the resource. | |
virtual TCollection_AsciiString | Save () const override |
Writes configuration to the string. | |
virtual Handle< DE_ConfigurationNode > | Copy () const override |
Copies values of all fields. | |
virtual Handle< DE_Provider > | BuildProvider () override |
Creates new provider for the own format. | |
virtual bool | IsImportSupported () const override |
Checks the import supporting. | |
virtual bool | IsExportSupported () const override |
Checks the export supporting. | |
virtual TCollection_AsciiString | GetFormat () const override |
Gets CAD format name of associated provider. | |
virtual TCollection_AsciiString | GetVendor () const override |
Gets provider's vendor name of associated provider. | |
virtual TColStd_ListOfAsciiString | GetExtensions () const override |
Gets list of supported file extensions. | |
Public Member Functions inherited from DE_ConfigurationNode | |
DE_ConfigurationNode () | |
Initializes all field by default. | |
DE_ConfigurationNode (const Handle< DE_ConfigurationNode > &theConfigurationNode) | |
Copies values of all fields. | |
virtual bool | Load (const TCollection_AsciiString &theResourcePath="") |
Updates values according the resource file. | |
bool | Save (const TCollection_AsciiString &theResourcePath) const |
Writes configuration to the resource file. | |
virtual bool | UpdateLoad (const Standard_Boolean theToImport, const Standard_Boolean theToKeep) |
Update loading status. Checking for the ability to read and write. | |
virtual bool | CheckExtension (const TCollection_AsciiString &theExtension) const |
Checks the file extension to verify a format. | |
virtual bool | CheckContent (const Handle< NCollection_Buffer > &theBuffer) const |
Checks the file content to verify a format. | |
Standard_Boolean | IsEnabled () const |
Gets the provider loading status. | |
void | SetEnabled (const Standard_Boolean theIsLoaded) |
Sets the provider loading status. | |
virtual void | CustomActivation (const TColStd_ListOfAsciiString &) |
Custom function to activate commercial DE component. The input is special sequence of values that described in specific component documentation. Order is important. Each component can have own way of activation. | |
Public Member Functions inherited from Standard_Transient | |
Standard_Transient () | |
Empty constructor. | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. | |
Standard_Transient & | operator= (const Standard_Transient &) |
Assignment operator, needed to avoid copying reference counter. | |
virtual | ~Standard_Transient () |
Destructor must be virtual. | |
virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
Returns a type descriptor about this object. | |
Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
Returns a true value if this is an instance of Type. | |
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
Returns a true value if this is an instance of TypeName. | |
Standard_Boolean | IsKind (const opencascade::handle< Standard_Type > &theType) const |
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. | |
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. | |
Standard_Transient * | This () const |
Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. | |
Standard_Integer | GetRefCount () const noexcept |
Get the reference counter of this object. | |
void | IncrementRefCounter () noexcept |
Increments the reference counter of this object. | |
Standard_Integer | DecrementRefCounter () noexcept |
Decrements the reference counter of this object; returns the decremented value. | |
virtual void | Delete () const |
Memory deallocator for transient classes. | |
Data Fields | |
struct Vrml_ConfigurationNode::Vrml_InternalSection | InternalParameters |
Data Fields inherited from DE_ConfigurationNode | |
struct DE_ConfigurationNode::DE_SectionGlobal | GlobalParameters |
Additional Inherited Members | |
Static Public Member Functions inherited from Standard_Transient | |
static constexpr const char * | get_type_name () |
Returns a type descriptor about this object. | |
static const opencascade::handle< Standard_Type > & | get_type_descriptor () |
Returns type descriptor of Standard_Transient class. | |
The purpose of this class is to configure the transfer process for VRML format Stores the necessary settings for Vrml_Provider. Configures and creates special provider to transfer VRML files.
Nodes grouped by Vendor name and Format type. The Vendor name is "OCC" The Format type is "VRML" The supported CAD extensions are ".vrml", ".wrl" The import process is supported. The export process is supported.
Vrml_ConfigurationNode::Vrml_ConfigurationNode | ( | ) |
Initializes all field by default.
Vrml_ConfigurationNode::Vrml_ConfigurationNode | ( | const Handle< Vrml_ConfigurationNode > & | theNode | ) |
Copies values of all fields.
[in] | theNode | object to copy |
|
overridevirtual |
Creates new provider for the own format.
Implements DE_ConfigurationNode.
|
overridevirtual |
Copies values of all fields.
Implements DE_ConfigurationNode.
|
overridevirtual |
|
overridevirtual |
Gets CAD format name of associated provider.
Implements DE_ConfigurationNode.
|
overridevirtual |
Gets provider's vendor name of associated provider.
Implements DE_ConfigurationNode.
|
overridevirtual |
Checks the export supporting.
Reimplemented from DE_ConfigurationNode.
|
overridevirtual |
Checks the import supporting.
Reimplemented from DE_ConfigurationNode.
|
overridevirtual |
Updates values according the resource.
[in] | theResource | input resource to use |
Implements DE_ConfigurationNode.
|
overridevirtual |
struct Vrml_ConfigurationNode::Vrml_InternalSection Vrml_ConfigurationNode::InternalParameters |