DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
Cloud Backup
True Drop Box
FTP/SFTP Hosting
Group Account
DriveHQ Start Menu
Online File Server
My Storage
|
Manage Shares
|
Publishes
|
Drop Boxes
|
Group Account
WebDAV Drive Mapping
Cloud Drive Home
|
WebDAV Guide
|
Drive Mapping Tool
|
Drive Mapping URL
Complete Data Backup
Backup Guide
|
Online Backup Tool
|
Cloud-to-Cloud Backup
FTP, Email & Web Service
FTP Home
|
FTP Hosting FAQ
|
Email Hosting
|
EmailManager
|
Web Hosting
Help & Resources
About
|
Enterprise Service
|
Partnership
|
Comparisons
|
Support
Quick Links
Security and Privacy
Download Software
Service Manual
Use Cases
Group Account
Online Help
Blog
Contact
Cloud Surveillance
Sign Up
Login
Features
Business Features
Online File Server
FTP Hosting
Cloud Drive Mapping
Cloud File Backup
Email Backup & Hosting
Cloud File Sharing
Folder Synchronization
Group Management
True Drop Box
Full-text Search
AD Integration/SSO
Mobile Access
IP Camera & DVR Solution
More...
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account (for Kids)
Home/PC/Kids Monitoring
More...
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
DriveHQ Mobile Apps
Pricing
Business Plans & Pricing
Personal Plans & Pricing
Price Comparison with Others
Feature Comparison with Others
Install Mobile App
Sign up
Creating account...
Invalid character in username! Only 0-9, a-z, A-Z, _, -, . allowed.
Username is required!
Invalid email address!
E-mail is required!
Password is required!
Password is invalid!
Password and confirmation do not match.
Confirm password is required!
I accept
Membership Agreement
Please read the Membership Agreement and check "I accept"!
Free Quick Sign-up
Sign-up Page
Log in
Signing in...
Username or e-mail address is required!
Password is required!
Keep me logged in
Quick Login
Forgot Password
Up
Upload
Download
Share
Publish
New Folder
New File
Copy
Cut
Delete
Paste
Rate
Upgrade
Rotate
Effect
Edit
Slide
History
/* * Copyright 2006 Sony Computer Entertainment Inc. * * Licensed under the SCEA Shared Source License, Version 1.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at: * http://research.scea.com/scea_shared_source_license.html * * Unless required by applicable law or agreed to in writing, software distributed under the License * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or * implied. See the License for the specific language governing permissions and limitations under the * License. */ #ifndef __domCOLLADA_h__ #define __domCOLLADA_h__ #include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
/** * The COLLADA element declares the root of the document that comprises some * of the content in the COLLADA schema. */ class domCOLLADA : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLLADA; } public: class domScene; typedef daeSmartRef
domSceneRef; typedef daeTArray
domScene_Array; /** * The scene embodies the entire set of information that can be visualized * from the contents of a COLLADA resource. The scene element declares the * base of the scene hierarchy or scene graph. The scene contains elements * that comprise much of the visual and transformational information content * as created by the authoring tools. */ class domScene : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SCENE; } protected: // Elements /** * The instance_physics_scene element declares the instantiation of a COLLADA * physics_scene resource. The instance_physics_scene element may appear any * number of times. @see domInstance_physics_scene */ domInstanceWithExtra_Array elemInstance_physics_scene_array; /** * The instance_visual_scene element declares the instantiation of a COLLADA * visual_scene resource. The instance_visual_scene element may only appear * once. @see domInstance_visual_scene */ domInstanceWithExtraRef elemInstance_visual_scene; /** * The extra element may appear any number of times. @see domExtra */ domExtra_Array elemExtra_array; public: //Accessors and Mutators /** * Gets the instance_physics_scene element array. * @return Returns a reference to the array of instance_physics_scene elements. */ domInstanceWithExtra_Array &getInstance_physics_scene_array() { return elemInstance_physics_scene_array; } /** * Gets the instance_physics_scene element array. * @return Returns a constant reference to the array of instance_physics_scene elements. */ const domInstanceWithExtra_Array &getInstance_physics_scene_array() const { return elemInstance_physics_scene_array; } /** * Gets the instance_visual_scene element. * @return a daeSmartRef to the instance_visual_scene element. */ const domInstanceWithExtraRef getInstance_visual_scene() const { return elemInstance_visual_scene; } /** * Gets the extra element array. * @return Returns a reference to the array of extra elements. */ domExtra_Array &getExtra_array() { return elemExtra_array; } /** * Gets the extra element array. * @return Returns a constant reference to the array of extra elements. */ const domExtra_Array &getExtra_array() const { return elemExtra_array; } protected: /** * Constructor */ domScene() : elemInstance_physics_scene_array(), elemInstance_visual_scene(), elemExtra_array() {} /** * Destructor */ virtual ~domScene() {} /** * Copy Constructor */ domScene( const domScene &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domScene &operator=( const domScene &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; protected: // Attributes /** * This element may specify its own xmlns. */ xsAnyURI attrXmlns; /** * The version attribute is the COLLADA schema revision with which the instance * document conforms. Required Attribute. */ domVersionType attrVersion; /** * The xml:base attribute allows you to define the base URI for this COLLADA * document. See http://www.w3.org/TR/xmlbase/ for more information. */ xsAnyURI attrXml_base; protected: // Elements /** * The COLLADA element must contain an asset element. @see domAsset */ domAssetRef elemAsset; /** * The COLLADA element may contain any number of library_animations elements. * @see domLibrary_animations */ domLibrary_animations_Array elemLibrary_animations_array; /** * The COLLADA element may contain any number of library_animation_clips * elements. @see domLibrary_animation_clips */ domLibrary_animation_clips_Array elemLibrary_animation_clips_array; /** * The COLLADA element may contain any number of library_cameras elements. * @see domLibrary_cameras */ domLibrary_cameras_Array elemLibrary_cameras_array; /** * The COLLADA element may contain any number of library_controllerss elements. * @see domLibrary_controllers */ domLibrary_controllers_Array elemLibrary_controllers_array; /** * The COLLADA element may contain any number of library_geometriess elements. * @see domLibrary_geometries */ domLibrary_geometries_Array elemLibrary_geometries_array; /** * The COLLADA element may contain any number of library_effects elements. * @see domLibrary_effects */ domLibrary_effects_Array elemLibrary_effects_array; /** * The COLLADA element may contain any number of library_force_fields elements. * @see domLibrary_force_fields */ domLibrary_force_fields_Array elemLibrary_force_fields_array; /** * The COLLADA element may contain any number of library_images elements. * @see domLibrary_images */ domLibrary_images_Array elemLibrary_images_array; /** * The COLLADA element may contain any number of library_lights elements. * @see domLibrary_lights */ domLibrary_lights_Array elemLibrary_lights_array; /** * The COLLADA element may contain any number of library_materials elements. * @see domLibrary_materials */ domLibrary_materials_Array elemLibrary_materials_array; /** * The COLLADA element may contain any number of library_nodes elements. * @see domLibrary_nodes */ domLibrary_nodes_Array elemLibrary_nodes_array; /** * The COLLADA element may contain any number of library_materials elements. * @see domLibrary_physics_materials */ domLibrary_physics_materials_Array elemLibrary_physics_materials_array; /** * The COLLADA element may contain any number of library_physics_models elements. * @see domLibrary_physics_models */ domLibrary_physics_models_Array elemLibrary_physics_models_array; /** * The COLLADA element may contain any number of library_physics_scenes elements. * @see domLibrary_physics_scenes */ domLibrary_physics_scenes_Array elemLibrary_physics_scenes_array; /** * The COLLADA element may contain any number of library_visual_scenes elements. * @see domLibrary_visual_scenes */ domLibrary_visual_scenes_Array elemLibrary_visual_scenes_array; /** * The scene embodies the entire set of information that can be visualized * from the contents of a COLLADA resource. The scene element declares the * base of the scene hierarchy or scene graph. The scene contains elements * that comprise much of the visual and transformational information content * as created by the authoring tools. @see domScene */ domSceneRef elemScene; /** * The extra element may appear any number of times. @see domExtra */ domExtra_Array elemExtra_array; /** * Used to preserve order in elements that do not specify strict sequencing of sub-elements. */ daeElementRefArray _contents; /** * Used to preserve order in elements that have a complex content model. */ daeUIntArray _contentsOrder; public: //Accessors and Mutators /** * Gets the xmlns attribute. * @return Returns a xsAnyURI reference of the xmlns attribute. */ xsAnyURI &getXmlns() { return attrXmlns; } /** * Gets the xmlns attribute. * @return Returns a constant xsAnyURI reference of the xmlns attribute. */ const xsAnyURI &getXmlns() const { return attrXmlns; } /** * Sets the xmlns attribute. * @param xmlns The new value for the xmlns attribute. */ void setXmlns( const xsAnyURI &xmlns ) { attrXmlns = xmlns; _validAttributeArray[0] = true; } /** * Gets the version attribute. * @return Returns a domVersionType of the version attribute. */ domVersionType getVersion() const { return attrVersion; } /** * Sets the version attribute. * @param atVersion The new value for the version attribute. */ void setVersion( domVersionType atVersion ) { attrVersion = atVersion; _validAttributeArray[1] = true; } /** * Gets the xml_base attribute. * @return Returns a xsAnyURI reference of the xml_base attribute. */ xsAnyURI &getXml_base() { return attrXml_base; } /** * Gets the xml_base attribute. * @return Returns a constant xsAnyURI reference of the xml_base attribute. */ const xsAnyURI &getXml_base() const { return attrXml_base; } /** * Sets the xml_base attribute. * @param atXml_base The new value for the xml_base attribute. */ void setXml_base( const xsAnyURI &atXml_base ) { attrXml_base = atXml_base; _validAttributeArray[2] = true; } /** * Gets the asset element. * @return a daeSmartRef to the asset element. */ const domAssetRef getAsset() const { return elemAsset; } /** * Gets the library_animations element array. * @return Returns a reference to the array of library_animations elements. */ domLibrary_animations_Array &getLibrary_animations_array() { return elemLibrary_animations_array; } /** * Gets the library_animations element array. * @return Returns a constant reference to the array of library_animations elements. */ const domLibrary_animations_Array &getLibrary_animations_array() const { return elemLibrary_animations_array; } /** * Gets the library_animation_clips element array. * @return Returns a reference to the array of library_animation_clips elements. */ domLibrary_animation_clips_Array &getLibrary_animation_clips_array() { return elemLibrary_animation_clips_array; } /** * Gets the library_animation_clips element array. * @return Returns a constant reference to the array of library_animation_clips elements. */ const domLibrary_animation_clips_Array &getLibrary_animation_clips_array() const { return elemLibrary_animation_clips_array; } /** * Gets the library_cameras element array. * @return Returns a reference to the array of library_cameras elements. */ domLibrary_cameras_Array &getLibrary_cameras_array() { return elemLibrary_cameras_array; } /** * Gets the library_cameras element array. * @return Returns a constant reference to the array of library_cameras elements. */ const domLibrary_cameras_Array &getLibrary_cameras_array() const { return elemLibrary_cameras_array; } /** * Gets the library_controllers element array. * @return Returns a reference to the array of library_controllers elements. */ domLibrary_controllers_Array &getLibrary_controllers_array() { return elemLibrary_controllers_array; } /** * Gets the library_controllers element array. * @return Returns a constant reference to the array of library_controllers elements. */ const domLibrary_controllers_Array &getLibrary_controllers_array() const { return elemLibrary_controllers_array; } /** * Gets the library_geometries element array. * @return Returns a reference to the array of library_geometries elements. */ domLibrary_geometries_Array &getLibrary_geometries_array() { return elemLibrary_geometries_array; } /** * Gets the library_geometries element array. * @return Returns a constant reference to the array of library_geometries elements. */ const domLibrary_geometries_Array &getLibrary_geometries_array() const { return elemLibrary_geometries_array; } /** * Gets the library_effects element array. * @return Returns a reference to the array of library_effects elements. */ domLibrary_effects_Array &getLibrary_effects_array() { return elemLibrary_effects_array; } /** * Gets the library_effects element array. * @return Returns a constant reference to the array of library_effects elements. */ const domLibrary_effects_Array &getLibrary_effects_array() const { return elemLibrary_effects_array; } /** * Gets the library_force_fields element array. * @return Returns a reference to the array of library_force_fields elements. */ domLibrary_force_fields_Array &getLibrary_force_fields_array() { return elemLibrary_force_fields_array; } /** * Gets the library_force_fields element array. * @return Returns a constant reference to the array of library_force_fields elements. */ const domLibrary_force_fields_Array &getLibrary_force_fields_array() const { return elemLibrary_force_fields_array; } /** * Gets the library_images element array. * @return Returns a reference to the array of library_images elements. */ domLibrary_images_Array &getLibrary_images_array() { return elemLibrary_images_array; } /** * Gets the library_images element array. * @return Returns a constant reference to the array of library_images elements. */ const domLibrary_images_Array &getLibrary_images_array() const { return elemLibrary_images_array; } /** * Gets the library_lights element array. * @return Returns a reference to the array of library_lights elements. */ domLibrary_lights_Array &getLibrary_lights_array() { return elemLibrary_lights_array; } /** * Gets the library_lights element array. * @return Returns a constant reference to the array of library_lights elements. */ const domLibrary_lights_Array &getLibrary_lights_array() const { return elemLibrary_lights_array; } /** * Gets the library_materials element array. * @return Returns a reference to the array of library_materials elements. */ domLibrary_materials_Array &getLibrary_materials_array() { return elemLibrary_materials_array; } /** * Gets the library_materials element array. * @return Returns a constant reference to the array of library_materials elements. */ const domLibrary_materials_Array &getLibrary_materials_array() const { return elemLibrary_materials_array; } /** * Gets the library_nodes element array. * @return Returns a reference to the array of library_nodes elements. */ domLibrary_nodes_Array &getLibrary_nodes_array() { return elemLibrary_nodes_array; } /** * Gets the library_nodes element array. * @return Returns a constant reference to the array of library_nodes elements. */ const domLibrary_nodes_Array &getLibrary_nodes_array() const { return elemLibrary_nodes_array; } /** * Gets the library_physics_materials element array. * @return Returns a reference to the array of library_physics_materials elements. */ domLibrary_physics_materials_Array &getLibrary_physics_materials_array() { return elemLibrary_physics_materials_array; } /** * Gets the library_physics_materials element array. * @return Returns a constant reference to the array of library_physics_materials elements. */ const domLibrary_physics_materials_Array &getLibrary_physics_materials_array() const { return elemLibrary_physics_materials_array; } /** * Gets the library_physics_models element array. * @return Returns a reference to the array of library_physics_models elements. */ domLibrary_physics_models_Array &getLibrary_physics_models_array() { return elemLibrary_physics_models_array; } /** * Gets the library_physics_models element array. * @return Returns a constant reference to the array of library_physics_models elements. */ const domLibrary_physics_models_Array &getLibrary_physics_models_array() const { return elemLibrary_physics_models_array; } /** * Gets the library_physics_scenes element array. * @return Returns a reference to the array of library_physics_scenes elements. */ domLibrary_physics_scenes_Array &getLibrary_physics_scenes_array() { return elemLibrary_physics_scenes_array; } /** * Gets the library_physics_scenes element array. * @return Returns a constant reference to the array of library_physics_scenes elements. */ const domLibrary_physics_scenes_Array &getLibrary_physics_scenes_array() const { return elemLibrary_physics_scenes_array; } /** * Gets the library_visual_scenes element array. * @return Returns a reference to the array of library_visual_scenes elements. */ domLibrary_visual_scenes_Array &getLibrary_visual_scenes_array() { return elemLibrary_visual_scenes_array; } /** * Gets the library_visual_scenes element array. * @return Returns a constant reference to the array of library_visual_scenes elements. */ const domLibrary_visual_scenes_Array &getLibrary_visual_scenes_array() const { return elemLibrary_visual_scenes_array; } /** * Gets the scene element. * @return a daeSmartRef to the scene element. */ const domSceneRef getScene() const { return elemScene; } /** * Gets the extra element array. * @return Returns a reference to the array of extra elements. */ domExtra_Array &getExtra_array() { return elemExtra_array; } /** * Gets the extra element array. * @return Returns a constant reference to the array of extra elements. */ const domExtra_Array &getExtra_array() const { return elemExtra_array; } /** * Gets the _contents array. * @return Returns a reference to the _contents element array. */ daeElementRefArray &getContents() { return _contents; } /** * Gets the _contents array. * @return Returns a constant reference to the _contents element array. */ const daeElementRefArray &getContents() const { return _contents; } protected: /** * Constructor */ domCOLLADA() : attrVersion(), attrXml_base(), elemAsset(), elemLibrary_animations_array(), elemLibrary_animation_clips_array(), elemLibrary_cameras_array(), elemLibrary_controllers_array(), elemLibrary_geometries_array(), elemLibrary_effects_array(), elemLibrary_force_fields_array(), elemLibrary_images_array(), elemLibrary_lights_array(), elemLibrary_materials_array(), elemLibrary_nodes_array(), elemLibrary_physics_materials_array(), elemLibrary_physics_models_array(), elemLibrary_physics_scenes_array(), elemLibrary_visual_scenes_array(), elemScene(), elemExtra_array() {} /** * Destructor */ virtual ~domCOLLADA() {} /** * Copy Constructor */ domCOLLADA( const domCOLLADA &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domCOLLADA &operator=( const domCOLLADA &cpy ) { (void)cpy; return *this; } public: // STATIC METHODS /** * Creates an instance of this class and returns a daeElementRef referencing it. * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; #endif
domCOLLADA.h
Page URL
File URL
Prev
26/174
Next
Download
( 20 KB )
Note: The DriveHQ service banners will NOT be displayed if the file owner is a paid member.
Comments
Total ratings:
0
Average rating:
Not Rated
Would you like to comment?
Join DriveHQ
for a free account, or
Logon
if you are already a member.