Moved COLLADA_DOM,LibXML and BulletColladaConverter to http://dynamica.googlecode.com

This is the new location for the Dynamica Maya plugin
This commit is contained in:
erwin.coumans 2010-02-18 18:04:37 +00:00
parent 5c5ce9b4b3
commit 07ea2a71e2
625 changed files with 0 additions and 503487 deletions

View File

@ -1,24 +0,0 @@
INCLUDE_DIRECTORIES(
${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Extras/ConvexHull ${BULLET_PHYSICS_SOURCE_DIR}/Extras/BulletColladaConverter ${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include/1.4
)
ADD_LIBRARY(BulletColladaConverter
ColladaConverter.h
ColladaConverter.cpp
)
IF (BUILD_SHARED_LIBS)
TARGET_LINK_LIBRARIES(BulletColladaConverter ColladaDom BulletCollision BulletDynamics)
ENDIF (BUILD_SHARED_LIBS)
#INSTALL of other files requires CMake 2.6
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
IF(INSTALL_EXTRA_LIBS)
IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
INSTALL(TARGETS BulletColladaConverter DESTINATION .)
ELSE (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
INSTALL(TARGETS BulletColladaConverter DESTINATION lib)
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
ENDIF (INSTALL_EXTRA_LIBS)
ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)

File diff suppressed because it is too large Load Diff

View File

@ -1,269 +0,0 @@
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef COLLADA_CONVERTER_H
#define COLLADA_CONVERTER_H
#include "LinearMath/btTransform.h"
#include "LinearMath/btVector3.h"
#include "LinearMath/btAlignedObjectArray.h"
#include "LinearMath/btHashMap.h"
class btCollisionShape;
class btRigidBody;
class btTypedConstraint;
class btDynamicsWorld;
struct ConstraintInput;
class btRigidBodyColladaInfo;
class btRigidBodyColladaInfo
{
public:
class domNode* m_node;
class domRigid_body* m_domRigidBody;
class domInstance_rigid_body* m_instanceRigidBody;
btRigidBody* m_body;
int getUid();
btRigidBodyColladaInfo (btRigidBody* body, domNode* node, domRigid_body* rigidBody, domInstance_rigid_body* instanceRigidBody)
{
m_body = body;
m_node = node;
m_domRigidBody = rigidBody;
m_instanceRigidBody = instanceRigidBody;
}
};
class btRigidConstraintColladaInfo
{
public:
btTypedConstraint* m_typedConstraint;
class domRigid_constraint* m_domRigidConstraint;
class domInstance_rigid_constraint* m_domInstanceRigidConstraint;
int getUid();
btRigidConstraintColladaInfo (btTypedConstraint* constraint, domRigid_constraint* rigidConstraint, domInstance_rigid_constraint* domInstanceRigidConstraint)
{
m_typedConstraint = constraint;
m_domRigidConstraint = rigidConstraint;
m_domInstanceRigidConstraint = domInstanceRigidConstraint;
}
};
///ColladaConverter helps converting the physics assets from COLLADA DOM into physics objects
class ColladaConverter
{
public:
typedef enum {
SILENT,
NORMAL,
LOUD
} VerbosityLevel;
void setVerbosity( VerbosityLevel verbosity )
{
m_verbosity = verbosity;
}
VerbosityLevel getVerbosity() const
{
return( m_verbosity );
}
private:
char m_cleaned_filename[513];
protected:
btDynamicsWorld* m_dynamicsWorld;
btAlignedObjectArray<class btCollisionShape*> m_allocatedCollisionShapes;
btAlignedObjectArray<class btTriangleMesh*> m_allocatedTriangleMeshContainers;
btHashMap<btHashKeyPtr<btRigidBodyColladaInfo*>,btRigidBodyColladaInfo*> m_rbUserInfoHashMap;
btHashMap<btHashKeyPtr<btRigidConstraintColladaInfo*>,btRigidConstraintColladaInfo*> m_constraintUserInfoHashMap;
class DAE* m_collada;
class domCOLLADA* m_dom;
char* m_filename;
float m_unitMeterScaling;
bool m_use32bitIndices;
bool m_use4componentVertices;
VerbosityLevel m_verbosity;
void PreparePhysicsObject(struct btRigidBodyInput& input, bool isDynamics, float mass,btCollisionShape* colShape, const btVector3& linearVelocity, const btVector3& angularVelocity);
void prepareConstraints(ConstraintInput& input);
void ConvertRigidBodyRef( struct btRigidBodyInput& , struct btRigidBodyOutput& output );
bool convert ();
btRigidBodyColladaInfo* findRigidBodyColladaInfo(const btRigidBody* body);
btRigidConstraintColladaInfo* findRigidConstraintColladaInfo(btTypedConstraint* constraint);
bool instantiateDom ();
/* Searches based on matching name/id */
class domNode* findNode (const char* nodeName);
class domRigid_body* findRigid_body (const char* rigidBodyName);
class domInstance_rigid_body* findRigid_body_instance (const char* nodeName);
class domRigid_constraint* findRigid_constraint (const char* constraintName);
class domGeometry* findGeometry (const char* shapeName);
class domNode* findNode (btRigidBody* rb);
class domRigid_body* findRigid_body (const btRigidBody* rb);
class domInstance_rigid_body* findRigid_body_instance (btRigidBody* rb);
class domRigid_constraint* findRigid_constraint (btTypedConstraint* constraint);
//class domGeometry* findGeometry (btCollisionShape* shape);
/* These are the locations that NEW elements will be added to */
class domLibrary_geometries* getDefaultGeomLib ();
class domLibrary_physics_materials* getDefaultMaterialsLib ();
class domPhysics_model* getDefaultPhysicsModel ();
class domInstance_physics_model* getDefaultInstancePhysicsModel ();
/* Currently we assume that there is only a single physics and visual scene */
class domPhysics_scene* getDefaultPhysicsScene ();
class domVisual_scene* getDefaultVisualScene ();
void buildShapeNew(btCollisionShape* shape, void* domTechniqueCommon, const char* shapeName, bool isChild=false,const btTransform& childTrans=btTransform::getIdentity());
void addConvexHull (btCollisionShape* shape, const char* nodeName);
void addConvexMesh (btCollisionShape* shape, const char* nodeName);
void addConcaveMesh(btCollisionShape* shape, const char* nodeName);
void addScaledConcaveMesh(btCollisionShape* shape, const char* nodeName);
void addGimpactMesh(btCollisionShape* shape, const char* nodeName);
void addConcaveMeshInternal(class btStridingMeshInterface* meshInterface , const char* nodeName);
class domNode* addNode (btRigidBody* body, const char* nodeName, const char* shapeName);
class domRigid_constraint* addConstraint (btTypedConstraint* constraint, const char* constraintName);
class domInstance_rigid_constraint* addConstraintInstance (btTypedConstraint* constraint, const char* constraintName);
void addMaterial (btRigidBody* body, const char* nodeName);
class domRigid_body* addRigidBody (btRigidBody* body, const char* nodeName, const char* shapeName);
class domInstance_rigid_body* addRigidBodyInstance (btRigidBody* body, const char* nodeName);
void updateRigidBodyPosition (btRigidBody* body, class domNode* node);
void updateRigidBodyVelocity (btRigidBody* body);
void updateConstraint (btTypedConstraint* constraint, class domRigid_constraint* rigidConstraint);
void syncOrAddGeometry (btCollisionShape* shape, const char* nodeName);
void syncOrAddRigidBody (btRigidBody* body);
void syncOrAddConstraint (btTypedConstraint* constraint);
public:
ColladaConverter(btDynamicsWorld* dynaWorld);
virtual ~ColladaConverter ();
///load a COLLADA .dae file
bool load(const char* filename);
// resets the collada converter state
void reset ();
///save a snapshot in COLLADA physics .dae format.
///if the filename is left empty, modify the filename used during loading
bool save(const char* filename = 0);
void setUse32bitIndices(bool use32bitIndices)
{
m_use32bitIndices = use32bitIndices;
}
bool setUse32bitIndices() const
{
return m_use32bitIndices;
}
void setUse4componentVertices(bool use4componentVertices)
{
m_use4componentVertices = use4componentVertices;
}
bool getUse4componentVertices() const
{
return m_use4componentVertices;
}
void registerRigidBody(btRigidBody* body, const char* name);
void deRegisterRigidBody(btRigidBody* body);
const char* getName (btRigidBody* body);
void registerConstraint(btTypedConstraint* constraint, const char* name);
void deRegisterConstraint(btTypedConstraint* constraint);
const char* getName (btTypedConstraint* constraint);
///those virtuals are called by load and save.
virtual btTypedConstraint* createUniversalD6Constraint(
class btRigidBody* body0,class btRigidBody* otherBody,
btTransform& localAttachmentFrameRef,
btTransform& localAttachmentOther,
const btVector3& linearMinLimits,
const btVector3& linearMaxLimits,
const btVector3& angularMinLimits,
const btVector3& angularMaxLimits,
bool disableCollisionsBetweenLinkedBodies
);
virtual btRigidBody* createRigidBody(bool isDynamic,
float mass,
const btTransform& startTransform,
btCollisionShape* shape);
virtual int getNumRigidBodies ();
virtual btRigidBody* getRigidBody (int i);
virtual int getNumConstraints ();
virtual btTypedConstraint* getConstraint (int i);
virtual void setGravity(const btVector3& gravity);
virtual btVector3 getGravity ();
virtual void setCameraInfo(const btVector3& up, int forwardAxis);
virtual btCollisionShape* createPlaneShape(const btVector3& planeNormal,btScalar planeConstant);
virtual btCollisionShape* createBoxShape(const btVector3& halfExtents);
virtual btCollisionShape* createSphereShape(btScalar radius);
virtual btCollisionShape* createCylinderShapeY(btScalar radius,btScalar height);
virtual class btTriangleMesh* createTriangleMeshContainer();
virtual btCollisionShape* createBvhTriangleMeshShape(btTriangleMesh* trimesh);
virtual btCollisionShape* createConvexTriangleMeshShape(btTriangleMesh* trimesh);
virtual btCollisionShape* createGimpactShape(btTriangleMesh* trimesh);
virtual class btConvexHullShape* createConvexHullShape();
virtual class btCompoundShape* createCompoundShape();
int getNumCollisionShapes() const;
btCollisionShape* getCollisionShape(int shapeIndex);
void deleteAllocatedCollisionShapes();
void deleteShape(btCollisionShape* shape);
char* getLastFileName();
char* fixFileName(const char* lpCmdLine);
};
#endif //COLLADA_CONVERTER_H

View File

@ -1,20 +0,0 @@
SubDir TOP Extras BulletColladaConverter ;
#IncludeDir Extras/BulletColladaConverter ;
Library BulletColladaConverter : [ Wildcard . : *.h *.cpp ] : noinstall ;
CFlags BulletColladaConverter : [ FIncludes $(TOP)/Extras/BulletColladaConverter ] [ FIncludes $(TOP)/Extras/COLLADA_DOM/include ] [ FIncludes $(TOP)/Extras/COLLADA_DOM/include/1.4 ] [ FIncludes $(TOP)/Extras/LibXML ] [ FIncludes $(TOP)/Extras/LibXML/include ] [ FIncludes $(TOP)/Extras/ConvexHull ] ;
LibDepends BulletColladaConverter : colladadom libxml ;
MsvcIncDirs BulletColladaConverter :
"../../Extras/BulletColladaConverter"
"../../Extras/COLLADA_DOM/include"
"../../Extras/COLLADA_DOM/include/1.4"
"../../Extras/LibXML"
"../../Extras/LibXML/include"
"../../Extras/ConvexHull"
;
InstallHeader [ Wildcard *.h ] : BulletColladaConverter ;

View File

@ -1,227 +0,0 @@
INCLUDE_DIRECTORIES(
${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include/1.4
)
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS)
ADD_DEFINITIONS( -D_CRT_SECURE_NO_DEPRECATE)
ADD_LIBRARY(ColladaDom
src/1.4/dom/domAccessor.cpp
src/1.4/dom/domAnimation.cpp
src/1.4/dom/domAnimation_clip.cpp
src/1.4/dom/domAsset.cpp
src/1.4/dom/domBind_material.cpp
src/1.4/dom/domBool_array.cpp
src/1.4/dom/domBox.cpp
src/1.4/dom/domCamera.cpp
src/1.4/dom/domCapsule.cpp
src/1.4/dom/domCg_connect_param.cpp
src/1.4/dom/domCg_newarray_type.cpp
src/1.4/dom/domCg_newparam.cpp
src/1.4/dom/domCg_param_type.cpp
src/1.4/dom/domCg_sampler1D.cpp
src/1.4/dom/domCg_sampler2D.cpp
src/1.4/dom/domCg_sampler3D.cpp
src/1.4/dom/domCg_samplerCUBE.cpp
src/1.4/dom/domCg_samplerDEPTH.cpp
src/1.4/dom/domCg_samplerRECT.cpp
src/1.4/dom/domCg_setarray_type.cpp
src/1.4/dom/domCg_setparam.cpp
src/1.4/dom/domCg_setparam_simple.cpp
src/1.4/dom/domCg_setuser_type.cpp
src/1.4/dom/domCg_surface_type.cpp
src/1.4/dom/domChannel.cpp
src/1.4/dom/domCOLLADA.cpp
src/1.4/dom/domCommon_color_or_texture_type.cpp
src/1.4/dom/domCommon_float_or_param_type.cpp
src/1.4/dom/domCommon_newparam_type.cpp
src/1.4/dom/domCommon_transparent_type.cpp
src/1.4/dom/domConstants.cpp
src/1.4/dom/domController.cpp
src/1.4/dom/domConvex_mesh.cpp
src/1.4/dom/domCylinder.cpp
src/1.4/dom/domEffect.cpp
src/1.4/dom/domEllipsoid.cpp
src/1.4/dom/domExtra.cpp
src/1.4/dom/domFloat_array.cpp
src/1.4/dom/domForce_field.cpp
src/1.4/dom/domFx_annotate_common.cpp
src/1.4/dom/domFx_annotate_type_common.cpp
src/1.4/dom/domFx_basic_type_common.cpp
src/1.4/dom/domFx_clearcolor_common.cpp
src/1.4/dom/domFx_cleardepth_common.cpp
src/1.4/dom/domFx_clearstencil_common.cpp
src/1.4/dom/domFx_code_profile.cpp
src/1.4/dom/domFx_colortarget_common.cpp
src/1.4/dom/domFx_depthtarget_common.cpp
src/1.4/dom/domFx_include_common.cpp
src/1.4/dom/domFx_newparam_common.cpp
src/1.4/dom/domFx_profile_abstract.cpp
src/1.4/dom/domFx_sampler1D_common.cpp
src/1.4/dom/domFx_sampler2D_common.cpp
src/1.4/dom/domFx_sampler3D_common.cpp
src/1.4/dom/domFx_samplerCUBE_common.cpp
src/1.4/dom/domFx_samplerDEPTH_common.cpp
src/1.4/dom/domFx_samplerRECT_common.cpp
src/1.4/dom/domFx_stenciltarget_common.cpp
src/1.4/dom/domFx_surface_common.cpp
src/1.4/dom/domFx_surface_format_hint_common.cpp
src/1.4/dom/domFx_surface_init_common.cpp
src/1.4/dom/domFx_surface_init_cube_common.cpp
src/1.4/dom/domFx_surface_init_from_common.cpp
src/1.4/dom/domFx_surface_init_planar_common.cpp
src/1.4/dom/domFx_surface_init_volume_common.cpp
src/1.4/dom/domGeometry.cpp
src/1.4/dom/domGl_hook_abstract.cpp
src/1.4/dom/domGl_pipeline_settings.cpp
src/1.4/dom/domGl_sampler1D.cpp
src/1.4/dom/domGl_sampler2D.cpp
src/1.4/dom/domGl_sampler3D.cpp
src/1.4/dom/domGl_samplerCUBE.cpp
src/1.4/dom/domGl_samplerDEPTH.cpp
src/1.4/dom/domGl_samplerRECT.cpp
src/1.4/dom/domGles_basic_type_common.cpp
src/1.4/dom/domGles_newparam.cpp
src/1.4/dom/domGles_pipeline_settings.cpp
src/1.4/dom/domGles_sampler_state.cpp
src/1.4/dom/domGles_texcombiner_argumentAlpha_type.cpp
src/1.4/dom/domGles_texcombiner_argumentRGB_type.cpp
src/1.4/dom/domGles_texcombiner_command_type.cpp
src/1.4/dom/domGles_texcombiner_commandAlpha_type.cpp
src/1.4/dom/domGles_texcombiner_commandRGB_type.cpp
src/1.4/dom/domGles_texenv_command_type.cpp
src/1.4/dom/domGles_texture_constant_type.cpp
src/1.4/dom/domGles_texture_pipeline.cpp
src/1.4/dom/domGles_texture_unit.cpp
src/1.4/dom/domGlsl_newarray_type.cpp
src/1.4/dom/domGlsl_newparam.cpp
src/1.4/dom/domGlsl_param_type.cpp
src/1.4/dom/domGlsl_setarray_type.cpp
src/1.4/dom/domGlsl_setparam.cpp
src/1.4/dom/domGlsl_setparam_simple.cpp
src/1.4/dom/domGlsl_surface_type.cpp
src/1.4/dom/domIDREF_array.cpp
src/1.4/dom/domImage.cpp
src/1.4/dom/domInputGlobal.cpp
src/1.4/dom/domInputLocal.cpp
src/1.4/dom/domInputLocalOffset.cpp
src/1.4/dom/domInstance_camera.cpp
src/1.4/dom/domInstance_controller.cpp
src/1.4/dom/domInstance_effect.cpp
src/1.4/dom/domInstance_force_field.cpp
src/1.4/dom/domInstance_geometry.cpp
src/1.4/dom/domInstance_light.cpp
src/1.4/dom/domInstance_material.cpp
src/1.4/dom/domInstance_node.cpp
src/1.4/dom/domInstance_physics_material.cpp
src/1.4/dom/domInstance_physics_model.cpp
src/1.4/dom/domInstance_rigid_body.cpp
src/1.4/dom/domInstance_rigid_constraint.cpp
src/1.4/dom/domInstanceWithExtra.cpp
src/1.4/dom/domInt_array.cpp
src/1.4/dom/domLibrary_animation_clips.cpp
src/1.4/dom/domLibrary_animations.cpp
src/1.4/dom/domLibrary_cameras.cpp
src/1.4/dom/domLibrary_controllers.cpp
src/1.4/dom/domLibrary_effects.cpp
src/1.4/dom/domLibrary_force_fields.cpp
src/1.4/dom/domLibrary_geometries.cpp
src/1.4/dom/domLibrary_images.cpp
src/1.4/dom/domLibrary_lights.cpp
src/1.4/dom/domLibrary_materials.cpp
src/1.4/dom/domLibrary_nodes.cpp
src/1.4/dom/domLibrary_physics_materials.cpp
src/1.4/dom/domLibrary_physics_models.cpp
src/1.4/dom/domLibrary_physics_scenes.cpp
src/1.4/dom/domLibrary_visual_scenes.cpp
src/1.4/dom/domLight.cpp
src/1.4/dom/domLines.cpp
src/1.4/dom/domLinestrips.cpp
src/1.4/dom/domLookat.cpp
src/1.4/dom/domMaterial.cpp
src/1.4/dom/domMatrix.cpp
src/1.4/dom/domMesh.cpp
src/1.4/dom/domMorph.cpp
src/1.4/dom/domName_array.cpp
src/1.4/dom/domNode.cpp
src/1.4/dom/domP.cpp
src/1.4/dom/domParam.cpp
src/1.4/dom/domPhysics_material.cpp
src/1.4/dom/domPhysics_model.cpp
src/1.4/dom/domPhysics_scene.cpp
src/1.4/dom/domPlane.cpp
src/1.4/dom/domPolygons.cpp
src/1.4/dom/domPolylist.cpp
src/1.4/dom/domProfile_CG.cpp
src/1.4/dom/domProfile_COMMON.cpp
src/1.4/dom/domProfile_GLES.cpp
src/1.4/dom/domProfile_GLSL.cpp
src/1.4/dom/domRigid_body.cpp
src/1.4/dom/domRigid_constraint.cpp
src/1.4/dom/domRotate.cpp
src/1.4/dom/domSampler.cpp
src/1.4/dom/domScale.cpp
src/1.4/dom/domSkew.cpp
src/1.4/dom/domSkin.cpp
src/1.4/dom/domSource.cpp
src/1.4/dom/domSphere.cpp
src/1.4/dom/domSpline.cpp
src/1.4/dom/domTapered_capsule.cpp
src/1.4/dom/domTapered_cylinder.cpp
src/1.4/dom/domTargetableFloat.cpp
src/1.4/dom/domTargetableFloat3.cpp
src/1.4/dom/domTechnique.cpp
src/1.4/dom/domTranslate.cpp
src/1.4/dom/domTriangles.cpp
src/1.4/dom/domTrifans.cpp
src/1.4/dom/domTristrips.cpp
src/1.4/dom/domTypes.cpp
src/1.4/dom/domVertices.cpp
src/1.4/dom/domVisual_scene.cpp
src/dae/dae.cpp
src/dae/daeArray.cpp
src/dae/daeAtomicType.cpp
src/dae/daeDocument.cpp
src/dae/daeDom.cpp
src/dae/daeElement.cpp
src/dae/daeError.cpp
src/dae/daeErrorHandler.cpp
src/dae/daeIDRef.cpp
src/dae/daeMemorySystem.cpp
src/dae/daeMetaAny.cpp
src/dae/daeMetaAttribute.cpp
src/dae/daeMetaChoice.cpp
src/dae/daeMetaCMPolicy.cpp
src/dae/daeMetaElement.cpp
src/dae/daeMetaElementAttribute.cpp
src/dae/daeMetaGroup.cpp
src/dae/daeMetaSequence.cpp
src/dae/daeSIDResolver.cpp
src/dae/daeStringRef.cpp
src/dae/daeStringTable.cpp
src/dae/daeURI.cpp
src/dae/domAny.cpp
src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp
src/modules/LIBXMLPlugin/daeLIBXMLResolver.cpp
src/modules/stdErrPlugin/stdErrPlugin.cpp
src/modules/STLDatabase/daeSTLDatabase.cpp
)
IF (BUILD_SHARED_LIBS)
TARGET_LINK_LIBRARIES(ColladaDom XML)
ENDIF (BUILD_SHARED_LIBS)
#INSTALL of other files requires CMake 2.6
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
IF(INSTALL_EXTRA_LIBS)
IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
INSTALL(TARGETS ColladaDom DESTINATION .)
ELSE (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
INSTALL(TARGETS ColladaDom DESTINATION lib)
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/1.4 DESTINATION include/1.4 FILES_MATCHING PATTERN "*.h")
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/dae DESTINATION include/dae FILES_MATCHING PATTERN "*.h")
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/modules DESTINATION include/modules FILES_MATCHING PATTERN "*.h")
ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
ENDIF (INSTALL_EXTRA_LIBS)
ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)

View File

@ -1,38 +0,0 @@
SubDir TOP Extras COLLADA_DOM ;
#IncludeDir Extras/COLLADA_DOM/include ;
#IncludeDir Extras/COLLADA_DOM/include/1.4 ;
#IncludeDir Extras/LibXML/include ;
Library colladadom :
[ Wildcard src/dae : *.h *.cpp ]
[ Wildcard src/1.4/dom : *.h *.cpp ]
[ Wildcard src/modules/LIBXMLPlugin : *.h *.cpp ]
[ Wildcard src/modules/stdErrPlugin : *.h *.cpp ]
[ Wildcard src/modules/STLDatabase : *.h *.cpp ]
: noinstall
;
CFlags colladadom :
[ FIncludes $(TOP)/Extras/COLLADA_DOM/include ]
[ FIncludes $(TOP)/Extras/COLLADA_DOM/include/1.4 ]
[ FIncludes $(TOP)/Extras/LibXML/include ]
;
MsvcIncDirs colladadom : "../../Extras/Demos/OpenGL"
"../../Extras/COLLADA_DOM/include"
"../../Extras/COLLADA_DOM/include/1.4"
"../../Extras/LibXML"
"../../Extras/LibXML/include" ;
MsvcGenConfig colladadom.INCDIRS : $(TOP)/Extras/COLLADA_DOM/include ;
MsvcGenConfig colladadom.CFLAGS : $(TOP)/Extras/COLLADA_DOM/include ;
LibDepends colladadom : libxml ;
InstallHeader [ Wildcard *.h ] : COLLADA_DOM ;

View File

@ -1,164 +0,0 @@
/*
* 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 __domAccessor_h__
#define __domAccessor_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domParam.h>
/**
* The accessor element declares an access pattern to one of the array elements:
* float_array, int_array, Name_array, bool_array, and IDREF_array. The accessor
* element describes access to arrays that are organized in either an interleaved
* or non-interleaved manner, depending on the offset and stride attributes.
*/
class domAccessor : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ACCESSOR; }
protected: // Attributes
/**
* The count attribute indicates the number of times the array is accessed.
* Required attribute.
*/
domUint attrCount;
/**
* The offset attribute indicates the index of the first value to be read
* from the array. The default value is 0. Optional attribute.
*/
domUint attrOffset;
/**
* The source attribute indicates the location of the array to access using
* a URL expression. Required attribute.
*/
xsAnyURI attrSource;
/**
* The stride attribute indicates number of values to be considered a unit
* during each access to the array. The default value is 1, indicating that
* a single value is accessed. Optional attribute.
*/
domUint attrStride;
protected: // Element
/**
* The accessor element may have any number of param elements. @see domParam
*/
domParam_Array elemParam_array;
public: //Accessors and Mutators
/**
* Gets the count attribute.
* @return Returns a domUint of the count attribute.
*/
domUint getCount() const { return attrCount; }
/**
* Sets the count attribute.
* @param atCount The new value for the count attribute.
*/
void setCount( domUint atCount ) { attrCount = atCount;
_validAttributeArray[0] = true; }
/**
* Gets the offset attribute.
* @return Returns a domUint of the offset attribute.
*/
domUint getOffset() const { return attrOffset; }
/**
* Sets the offset attribute.
* @param atOffset The new value for the offset attribute.
*/
void setOffset( domUint atOffset ) { attrOffset = atOffset;
_validAttributeArray[1] = true; }
/**
* Gets the source attribute.
* @return Returns a xsAnyURI reference of the source attribute.
*/
xsAnyURI &getSource() { return attrSource; }
/**
* Gets the source attribute.
* @return Returns a constant xsAnyURI reference of the source attribute.
*/
const xsAnyURI &getSource() const { return attrSource; }
/**
* Sets the source attribute.
* @param atSource The new value for the source attribute.
*/
void setSource( const xsAnyURI &atSource ) { attrSource = atSource;
_validAttributeArray[2] = true; }
/**
* Gets the stride attribute.
* @return Returns a domUint of the stride attribute.
*/
domUint getStride() const { return attrStride; }
/**
* Sets the stride attribute.
* @param atStride The new value for the stride attribute.
*/
void setStride( domUint atStride ) { attrStride = atStride;
_validAttributeArray[3] = true; }
/**
* Gets the param element array.
* @return Returns a reference to the array of param elements.
*/
domParam_Array &getParam_array() { return elemParam_array; }
/**
* Gets the param element array.
* @return Returns a constant reference to the array of param elements.
*/
const domParam_Array &getParam_array() const { return elemParam_array; }
protected:
/**
* Constructor
*/
domAccessor() : attrCount(), attrOffset(), attrSource(), attrStride(), elemParam_array() {}
/**
* Destructor
*/
virtual ~domAccessor() {}
/**
* Copy Constructor
*/
domAccessor( const domAccessor &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domAccessor &operator=( const domAccessor &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

View File

@ -1,218 +0,0 @@
/*
* 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 __domAnimation_h__
#define __domAnimation_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domAsset.h>
#include <dom/domSource.h>
#include <dom/domSampler.h>
#include <dom/domChannel.h>
#include <dom/domAnimation.h>
#include <dom/domExtra.h>
/**
* The animation element categorizes the declaration of animation information.
* The animation hierarchy contains elements that describe the animations
* key-frame data and sampler functions, ordered in such a way to group together
* animations that should be executed together.
*/
class domAnimation : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ANIMATION; }
protected: // Attributes
/**
* The id attribute is a text string containing the unique identifier of
* this element. This value must be unique within the instance document.
* Optional attribute.
*/
xsID attrId;
/**
* The name attribute is the text string name of this element. Optional attribute.
*/
xsNCName attrName;
protected: // Elements
/**
* The animation element may contain an asset element. @see domAsset
*/
domAssetRef elemAsset;
/**
* The animation element may contain any number of source elements. @see
* domSource
*/
domSource_Array elemSource_array;
/**
* The animation element may contain any number of sampler elements. @see
* domSampler
*/
domSampler_Array elemSampler_array;
/**
* The animation element may contain any number of channel elements. @see
* domChannel
*/
domChannel_Array elemChannel_array;
/**
* The animation may be hierarchical and may contain any number of other
* animation elements. @see domAnimation
*/
domAnimation_Array elemAnimation_array;
/**
* 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 id attribute.
* @return Returns a xsID of the id attribute.
*/
xsID getId() const { return attrId; }
/**
* Sets the id attribute.
* @param atId The new value for the id attribute.
*/
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
_validAttributeArray[0] = true; }
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[1] = true; }
/**
* Gets the asset element.
* @return a daeSmartRef to the asset element.
*/
const domAssetRef getAsset() const { return elemAsset; }
/**
* Gets the source element array.
* @return Returns a reference to the array of source elements.
*/
domSource_Array &getSource_array() { return elemSource_array; }
/**
* Gets the source element array.
* @return Returns a constant reference to the array of source elements.
*/
const domSource_Array &getSource_array() const { return elemSource_array; }
/**
* Gets the sampler element array.
* @return Returns a reference to the array of sampler elements.
*/
domSampler_Array &getSampler_array() { return elemSampler_array; }
/**
* Gets the sampler element array.
* @return Returns a constant reference to the array of sampler elements.
*/
const domSampler_Array &getSampler_array() const { return elemSampler_array; }
/**
* Gets the channel element array.
* @return Returns a reference to the array of channel elements.
*/
domChannel_Array &getChannel_array() { return elemChannel_array; }
/**
* Gets the channel element array.
* @return Returns a constant reference to the array of channel elements.
*/
const domChannel_Array &getChannel_array() const { return elemChannel_array; }
/**
* Gets the animation element array.
* @return Returns a reference to the array of animation elements.
*/
domAnimation_Array &getAnimation_array() { return elemAnimation_array; }
/**
* Gets the animation element array.
* @return Returns a constant reference to the array of animation elements.
*/
const domAnimation_Array &getAnimation_array() const { return elemAnimation_array; }
/**
* 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
*/
domAnimation() : attrId(), attrName(), elemAsset(), elemSource_array(), elemSampler_array(), elemChannel_array(), elemAnimation_array(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domAnimation() {}
/**
* Copy Constructor
*/
domAnimation( const domAnimation &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domAnimation &operator=( const domAnimation &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

View File

@ -1,187 +0,0 @@
/*
* 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 __domAnimation_clip_h__
#define __domAnimation_clip_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domAsset.h>
#include <dom/domExtra.h>
#include <dom/domInstanceWithExtra.h>
/**
* The animation_clip element defines a section of the animation curves to
* be used together as an animation clip.
*/
class domAnimation_clip : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ANIMATION_CLIP; }
protected: // Attributes
/**
* The id attribute is a text string containing the unique identifier of
* this element. This value must be unique within the instance document.
* Optional attribute.
*/
xsID attrId;
/**
* The name attribute is the text string name of this element. Optional attribute.
*/
xsNCName attrName;
/**
* The start attribute is the time in seconds of the beginning of the clip.
* This time is the same as that used in the key-frame data and is used to
* determine which set of key-frames will be included in the clip. The start
* time does not specify when the clip will be played. If the time falls
* between two keyframes of a referenced animation, an interpolated value
* should be used. The default value is 0.0. Optional attribute.
*/
xsDouble attrStart;
/**
* The end attribute is the time in seconds of the end of the clip. This
* is used in the same way as the start time. If end is not specified, the
* value is taken to be the end time of the longest animation. Optional
* attribute.
*/
xsDouble attrEnd;
protected: // Elements
/**
* The animation_clip element may contain an asset element. @see domAsset
*/
domAssetRef elemAsset;
/**
* The animation_clip must instance at least one animation element. @see domInstance_animation
*/
domInstanceWithExtra_Array elemInstance_animation_array;
/**
* The extra element may appear any number of times. @see domExtra
*/
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the id attribute.
* @return Returns a xsID of the id attribute.
*/
xsID getId() const { return attrId; }
/**
* Sets the id attribute.
* @param atId The new value for the id attribute.
*/
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
_validAttributeArray[0] = true; }
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[1] = true; }
/**
* Gets the start attribute.
* @return Returns a xsDouble of the start attribute.
*/
xsDouble getStart() const { return attrStart; }
/**
* Sets the start attribute.
* @param atStart The new value for the start attribute.
*/
void setStart( xsDouble atStart ) { attrStart = atStart;
_validAttributeArray[2] = true; }
/**
* Gets the end attribute.
* @return Returns a xsDouble of the end attribute.
*/
xsDouble getEnd() const { return attrEnd; }
/**
* Sets the end attribute.
* @param atEnd The new value for the end attribute.
*/
void setEnd( xsDouble atEnd ) { attrEnd = atEnd;
_validAttributeArray[3] = true; }
/**
* Gets the asset element.
* @return a daeSmartRef to the asset element.
*/
const domAssetRef getAsset() const { return elemAsset; }
/**
* Gets the instance_animation element array.
* @return Returns a reference to the array of instance_animation elements.
*/
domInstanceWithExtra_Array &getInstance_animation_array() { return elemInstance_animation_array; }
/**
* Gets the instance_animation element array.
* @return Returns a constant reference to the array of instance_animation elements.
*/
const domInstanceWithExtra_Array &getInstance_animation_array() const { return elemInstance_animation_array; }
/**
* 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
*/
domAnimation_clip() : attrId(), attrName(), attrStart(), attrEnd(), elemAsset(), elemInstance_animation_array(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domAnimation_clip() {}
/**
* Copy Constructor
*/
domAnimation_clip( const domAnimation_clip &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domAnimation_clip &operator=( const domAnimation_clip &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

File diff suppressed because it is too large Load Diff

View File

@ -1,205 +0,0 @@
/*
* 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 __domBind_material_h__
#define __domBind_material_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domParam.h>
#include <dom/domTechnique.h>
#include <dom/domExtra.h>
#include <dom/domInstance_material.h>
/**
* Bind a specific material to a piece of geometry, binding varying and uniform
* parameters at the same time.
*/
class domBind_material : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BIND_MATERIAL; }
public:
class domTechnique_common;
typedef daeSmartRef<domTechnique_common> domTechnique_commonRef;
typedef daeTArray<domTechnique_commonRef> domTechnique_common_Array;
/**
* The technique_common element specifies the bind_material information for
* the common profile which all COLLADA implementations need to support.
*/
class domTechnique_common : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; }
protected: // Element
/**
* The instance_material element specifies the information needed to bind
* a geometry to a material. This element must appear at least once. @see
* domInstance_material
*/
domInstance_material_Array elemInstance_material_array;
public: //Accessors and Mutators
/**
* Gets the instance_material element array.
* @return Returns a reference to the array of instance_material elements.
*/
domInstance_material_Array &getInstance_material_array() { return elemInstance_material_array; }
/**
* Gets the instance_material element array.
* @return Returns a constant reference to the array of instance_material elements.
*/
const domInstance_material_Array &getInstance_material_array() const { return elemInstance_material_array; }
protected:
/**
* Constructor
*/
domTechnique_common() : elemInstance_material_array() {}
/**
* Destructor
*/
virtual ~domTechnique_common() {}
/**
* Copy Constructor
*/
domTechnique_common( const domTechnique_common &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domTechnique_common &operator=( const domTechnique_common &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: // Elements
/**
* The bind_material element may contain any number of param elements. @see
* domParam
*/
domParam_Array elemParam_array;
/**
* The technique_common element specifies the bind_material information for
* the common profile which all COLLADA implementations need to support.
* @see domTechnique_common
*/
domTechnique_commonRef elemTechnique_common;
/**
* This element may contain any number of non-common profile techniques.
* @see domTechnique
*/
domTechnique_Array elemTechnique_array;
/**
* The extra element may appear any number of times. @see domExtra
*/
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the param element array.
* @return Returns a reference to the array of param elements.
*/
domParam_Array &getParam_array() { return elemParam_array; }
/**
* Gets the param element array.
* @return Returns a constant reference to the array of param elements.
*/
const domParam_Array &getParam_array() const { return elemParam_array; }
/**
* Gets the technique_common element.
* @return a daeSmartRef to the technique_common element.
*/
const domTechnique_commonRef getTechnique_common() const { return elemTechnique_common; }
/**
* Gets the technique element array.
* @return Returns a reference to the array of technique elements.
*/
domTechnique_Array &getTechnique_array() { return elemTechnique_array; }
/**
* Gets the technique element array.
* @return Returns a constant reference to the array of technique elements.
*/
const domTechnique_Array &getTechnique_array() const { return elemTechnique_array; }
/**
* 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
*/
domBind_material() : elemParam_array(), elemTechnique_common(), elemTechnique_array(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domBind_material() {}
/**
* Copy Constructor
*/
domBind_material( const domBind_material &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domBind_material &operator=( const domBind_material &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

View File

@ -1,144 +0,0 @@
/*
* 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 __domBool_array_h__
#define __domBool_array_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
/**
* The bool_array element declares the storage for a homogenous array of boolean
* values.
*/
class domBool_array : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL_ARRAY; }
protected: // Attributes
/**
* The id attribute is a text string containing the unique identifier of
* this element. This value must be unique within the instance document.
* Optional attribute.
*/
xsID attrId;
/**
* The name attribute is the text string name of this element. Optional attribute.
*/
xsNCName attrName;
/**
* The count attribute indicates the number of values in the array. Required
* attribute.
*/
domUint attrCount;
protected: // Value
/**
* The domListOfBools value of the text data of this element.
*/
domListOfBools _value;
public: //Accessors and Mutators
/**
* Gets the id attribute.
* @return Returns a xsID of the id attribute.
*/
xsID getId() const { return attrId; }
/**
* Sets the id attribute.
* @param atId The new value for the id attribute.
*/
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
_validAttributeArray[0] = true; }
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[1] = true; }
/**
* Gets the count attribute.
* @return Returns a domUint of the count attribute.
*/
domUint getCount() const { return attrCount; }
/**
* Sets the count attribute.
* @param atCount The new value for the count attribute.
*/
void setCount( domUint atCount ) { attrCount = atCount;
_validAttributeArray[2] = true; }
/**
* Gets the _value array.
* @return Returns a domListOfBools reference of the _value array.
*/
domListOfBools &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domListOfBools reference of the _value array.
*/
const domListOfBools &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domListOfBools &val ) { _value = val; }
protected:
/**
* Constructor
*/
domBool_array() : attrId(), attrName(), attrCount(), _value() {}
/**
* Destructor
*/
virtual ~domBool_array() {}
/**
* Copy Constructor
*/
domBool_array( const domBool_array &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domBool_array &operator=( const domBool_array &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

View File

@ -1,172 +0,0 @@
/*
* 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 __domBox_h__
#define __domBox_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* An axis-aligned, centered box primitive.
*/
class domBox : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOX; }
public:
class domHalf_extents;
typedef daeSmartRef<domHalf_extents> domHalf_extentsRef;
typedef daeTArray<domHalf_extentsRef> domHalf_extents_Array;
/**
* 3 float values that represent the extents of the box
*/
class domHalf_extents : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF_EXTENTS; }
protected: // Value
/**
* The domFloat3 value of the text data of this element.
*/
domFloat3 _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domFloat3 reference of the _value array.
*/
domFloat3 &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFloat3 reference of the _value array.
*/
const domFloat3 &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFloat3 &val ) { _value = val; }
protected:
/**
* Constructor
*/
domHalf_extents() : _value() {}
/**
* Destructor
*/
virtual ~domHalf_extents() {}
/**
* Copy Constructor
*/
domHalf_extents( const domHalf_extents &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domHalf_extents &operator=( const domHalf_extents &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: // Elements
/**
* 3 float values that represent the extents of the box @see domHalf_extents
*/
domHalf_extentsRef elemHalf_extents;
/**
* The extra element may appear any number of times. @see domExtra
*/
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the half_extents element.
* @return a daeSmartRef to the half_extents element.
*/
const domHalf_extentsRef getHalf_extents() const { return elemHalf_extents; }
/**
* 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
*/
domBox() : elemHalf_extents(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domBox() {}
/**
* Copy Constructor
*/
domBox( const domBox &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domBox &operator=( const domBox &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

View File

@ -1,534 +0,0 @@
/*
* 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 <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domAsset.h>
#include <dom/domLibrary_animations.h>
#include <dom/domLibrary_animation_clips.h>
#include <dom/domLibrary_cameras.h>
#include <dom/domLibrary_controllers.h>
#include <dom/domLibrary_geometries.h>
#include <dom/domLibrary_effects.h>
#include <dom/domLibrary_force_fields.h>
#include <dom/domLibrary_images.h>
#include <dom/domLibrary_lights.h>
#include <dom/domLibrary_materials.h>
#include <dom/domLibrary_nodes.h>
#include <dom/domLibrary_physics_materials.h>
#include <dom/domLibrary_physics_models.h>
#include <dom/domLibrary_physics_scenes.h>
#include <dom/domLibrary_visual_scenes.h>
#include <dom/domExtra.h>
#include <dom/domInstanceWithExtra.h>
/**
* 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<domScene> domSceneRef;
typedef daeTArray<domSceneRef> 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

View File

@ -1,694 +0,0 @@
/*
* 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 __domCamera_h__
#define __domCamera_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domAsset.h>
#include <dom/domExtra.h>
#include <dom/domTechnique.h>
#include <dom/domTargetableFloat.h>
/**
* The camera element declares a view into the scene hierarchy or scene graph.
* The camera contains elements that describe the cameras optics and imager.
*/
class domCamera : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CAMERA; }
public:
class domOptics;
typedef daeSmartRef<domOptics> domOpticsRef;
typedef daeTArray<domOpticsRef> domOptics_Array;
/**
* Optics represents the apparatus on a camera that projects the image onto
* the image sensor.
*/
class domOptics : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::OPTICS; }
public:
class domTechnique_common;
typedef daeSmartRef<domTechnique_common> domTechnique_commonRef;
typedef daeTArray<domTechnique_commonRef> domTechnique_common_Array;
/**
* The technique_common element specifies the optics information for the common
* profile which all COLLADA implementations need to support.
*/
class domTechnique_common : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; }
public:
class domOrthographic;
typedef daeSmartRef<domOrthographic> domOrthographicRef;
typedef daeTArray<domOrthographicRef> domOrthographic_Array;
/**
* The orthographic element describes the field of view of an orthographic
* camera.
*/
class domOrthographic : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ORTHOGRAPHIC; }
protected: // Elements
/**
* The xmag element contains a floating point number describing the horizontal
* magnification of the view. @see domXmag
*/
domTargetableFloatRef elemXmag;
/**
* The ymag element contains a floating point number describing the vertical
* magnification of the view. It can also have a sid. @see domYmag
*/
domTargetableFloatRef elemYmag;
/**
* The aspect_ratio element contains a floating point number describing the
* aspect ratio of the field of view. If the aspect_ratio element is not
* present the aspect ratio is to be calculated from the xmag or ymag elements
* and the current viewport. @see domAspect_ratio
*/
domTargetableFloatRef elemAspect_ratio;
/**
* The znear element contains a floating point number that describes the distance
* to the near clipping plane. The znear element must occur exactly once.
* @see domZnear
*/
domTargetableFloatRef elemZnear;
/**
* The zfar element contains a floating point number that describes the distance
* to the far clipping plane. The zfar element must occur exactly once. @see
* domZfar
*/
domTargetableFloatRef elemZfar;
/**
* 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 xmag element.
* @return a daeSmartRef to the xmag element.
*/
const domTargetableFloatRef getXmag() const { return elemXmag; }
/**
* Gets the ymag element.
* @return a daeSmartRef to the ymag element.
*/
const domTargetableFloatRef getYmag() const { return elemYmag; }
/**
* Gets the aspect_ratio element.
* @return a daeSmartRef to the aspect_ratio element.
*/
const domTargetableFloatRef getAspect_ratio() const { return elemAspect_ratio; }
/**
* Gets the znear element.
* @return a daeSmartRef to the znear element.
*/
const domTargetableFloatRef getZnear() const { return elemZnear; }
/**
* Gets the zfar element.
* @return a daeSmartRef to the zfar element.
*/
const domTargetableFloatRef getZfar() const { return elemZfar; }
/**
* 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
*/
domOrthographic() : elemXmag(), elemYmag(), elemAspect_ratio(), elemZnear(), elemZfar() {}
/**
* Destructor
*/
virtual ~domOrthographic() {}
/**
* Copy Constructor
*/
domOrthographic( const domOrthographic &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domOrthographic &operator=( const domOrthographic &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;
};
class domPerspective;
typedef daeSmartRef<domPerspective> domPerspectiveRef;
typedef daeTArray<domPerspectiveRef> domPerspective_Array;
/**
* The perspective element describes the optics of a perspective camera.
*/
class domPerspective : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PERSPECTIVE; }
protected: // Elements
/**
* The xfov element contains a floating point number describing the horizontal
* field of view in degrees. @see domXfov
*/
domTargetableFloatRef elemXfov;
/**
* The yfov element contains a floating point number describing the verticle
* field of view in degrees. @see domYfov
*/
domTargetableFloatRef elemYfov;
/**
* The aspect_ratio element contains a floating point number describing the
* aspect ratio of the field of view. If the aspect_ratio element is not
* present the aspect ratio is to be calculated from the xfov or yfov elements
* and the current viewport. @see domAspect_ratio
*/
domTargetableFloatRef elemAspect_ratio;
/**
* The znear element contains a floating point number that describes the distance
* to the near clipping plane. The znear element must occur exactly once.
* @see domZnear
*/
domTargetableFloatRef elemZnear;
/**
* The zfar element contains a floating point number that describes the distance
* to the far clipping plane. The zfar element must occur exactly once. @see
* domZfar
*/
domTargetableFloatRef elemZfar;
/**
* 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 xfov element.
* @return a daeSmartRef to the xfov element.
*/
const domTargetableFloatRef getXfov() const { return elemXfov; }
/**
* Gets the yfov element.
* @return a daeSmartRef to the yfov element.
*/
const domTargetableFloatRef getYfov() const { return elemYfov; }
/**
* Gets the aspect_ratio element.
* @return a daeSmartRef to the aspect_ratio element.
*/
const domTargetableFloatRef getAspect_ratio() const { return elemAspect_ratio; }
/**
* Gets the znear element.
* @return a daeSmartRef to the znear element.
*/
const domTargetableFloatRef getZnear() const { return elemZnear; }
/**
* Gets the zfar element.
* @return a daeSmartRef to the zfar element.
*/
const domTargetableFloatRef getZfar() const { return elemZfar; }
/**
* 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
*/
domPerspective() : elemXfov(), elemYfov(), elemAspect_ratio(), elemZnear(), elemZfar() {}
/**
* Destructor
*/
virtual ~domPerspective() {}
/**
* Copy Constructor
*/
domPerspective( const domPerspective &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domPerspective &operator=( const domPerspective &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: // Elements
/**
* The orthographic element describes the field of view of an orthographic
* camera. @see domOrthographic
*/
domOrthographicRef elemOrthographic;
/**
* The perspective element describes the optics of a perspective camera. @see
* domPerspective
*/
domPerspectiveRef elemPerspective;
/**
* 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 orthographic element.
* @return a daeSmartRef to the orthographic element.
*/
const domOrthographicRef getOrthographic() const { return elemOrthographic; }
/**
* Gets the perspective element.
* @return a daeSmartRef to the perspective element.
*/
const domPerspectiveRef getPerspective() const { return elemPerspective; }
/**
* 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
*/
domTechnique_common() : elemOrthographic(), elemPerspective() {}
/**
* Destructor
*/
virtual ~domTechnique_common() {}
/**
* Copy Constructor
*/
domTechnique_common( const domTechnique_common &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domTechnique_common &operator=( const domTechnique_common &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: // Elements
/**
* The technique_common element specifies the optics information for the common
* profile which all COLLADA implementations need to support. @see domTechnique_common
*/
domTechnique_commonRef elemTechnique_common;
/**
* This element may contain any number of non-common profile techniques.
* @see domTechnique
*/
domTechnique_Array elemTechnique_array;
/**
* The extra element may appear any number of times. @see domExtra
*/
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the technique_common element.
* @return a daeSmartRef to the technique_common element.
*/
const domTechnique_commonRef getTechnique_common() const { return elemTechnique_common; }
/**
* Gets the technique element array.
* @return Returns a reference to the array of technique elements.
*/
domTechnique_Array &getTechnique_array() { return elemTechnique_array; }
/**
* Gets the technique element array.
* @return Returns a constant reference to the array of technique elements.
*/
const domTechnique_Array &getTechnique_array() const { return elemTechnique_array; }
/**
* 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
*/
domOptics() : elemTechnique_common(), elemTechnique_array(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domOptics() {}
/**
* Copy Constructor
*/
domOptics( const domOptics &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domOptics &operator=( const domOptics &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;
};
class domImager;
typedef daeSmartRef<domImager> domImagerRef;
typedef daeTArray<domImagerRef> domImager_Array;
/**
* Imagers represent the image sensor of a camera (for example film or CCD).
*/
class domImager : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::IMAGER; }
protected: // Elements
/**
* This element may contain any number of non-common profile techniques.
* There is no common technique for imager. @see domTechnique
*/
domTechnique_Array elemTechnique_array;
/**
* The extra element may appear any number of times. @see domExtra
*/
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the technique element array.
* @return Returns a reference to the array of technique elements.
*/
domTechnique_Array &getTechnique_array() { return elemTechnique_array; }
/**
* Gets the technique element array.
* @return Returns a constant reference to the array of technique elements.
*/
const domTechnique_Array &getTechnique_array() const { return elemTechnique_array; }
/**
* 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
*/
domImager() : elemTechnique_array(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domImager() {}
/**
* Copy Constructor
*/
domImager( const domImager &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domImager &operator=( const domImager &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
/**
* The id attribute is a text string containing the unique identifier of
* this element. This value must be unique within the instance document.
* Optional attribute.
*/
xsID attrId;
/**
* The name attribute is the text string name of this element. Optional attribute.
*/
xsNCName attrName;
protected: // Elements
/**
* The camera element may contain an asset element. @see domAsset
*/
domAssetRef elemAsset;
/**
* Optics represents the apparatus on a camera that projects the image onto
* the image sensor. @see domOptics
*/
domOpticsRef elemOptics;
/**
* Imagers represent the image sensor of a camera (for example film or CCD).
* @see domImager
*/
domImagerRef elemImager;
/**
* The extra element may appear any number of times. @see domExtra
*/
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the id attribute.
* @return Returns a xsID of the id attribute.
*/
xsID getId() const { return attrId; }
/**
* Sets the id attribute.
* @param atId The new value for the id attribute.
*/
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
_validAttributeArray[0] = true; }
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[1] = true; }
/**
* Gets the asset element.
* @return a daeSmartRef to the asset element.
*/
const domAssetRef getAsset() const { return elemAsset; }
/**
* Gets the optics element.
* @return a daeSmartRef to the optics element.
*/
const domOpticsRef getOptics() const { return elemOptics; }
/**
* Gets the imager element.
* @return a daeSmartRef to the imager element.
*/
const domImagerRef getImager() const { return elemImager; }
/**
* 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
*/
domCamera() : attrId(), attrName(), elemAsset(), elemOptics(), elemImager(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domCamera() {}
/**
* Copy Constructor
*/
domCamera( const domCamera &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCamera &operator=( const domCamera &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

View File

@ -1,254 +0,0 @@
/*
* 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 __domCapsule_h__
#define __domCapsule_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* A capsule primitive that is centered on and aligned with the local Y axis.
*/
class domCapsule : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CAPSULE; }
public:
class domHeight;
typedef daeSmartRef<domHeight> domHeightRef;
typedef daeTArray<domHeightRef> domHeight_Array;
/**
* A float value that represents the length of the line segment connecting
* the centers of the capping hemispheres.
*/
class domHeight : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HEIGHT; }
protected: // Value
/**
* The domFloat value of the text data of this element.
*/
domFloat _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFloat of the value.
*/
domFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domHeight() : _value() {}
/**
* Destructor
*/
virtual ~domHeight() {}
/**
* Copy Constructor
*/
domHeight( const domHeight &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domHeight &operator=( const domHeight &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;
};
class domRadius;
typedef daeSmartRef<domRadius> domRadiusRef;
typedef daeTArray<domRadiusRef> domRadius_Array;
/**
* Two float values that represent the radii of the capsule (it may be elliptical)
*/
class domRadius : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS; }
protected: // Value
/**
* The domFloat2 value of the text data of this element.
*/
domFloat2 _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domFloat2 reference of the _value array.
*/
domFloat2 &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFloat2 reference of the _value array.
*/
const domFloat2 &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFloat2 &val ) { _value = val; }
protected:
/**
* Constructor
*/
domRadius() : _value() {}
/**
* Destructor
*/
virtual ~domRadius() {}
/**
* Copy Constructor
*/
domRadius( const domRadius &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domRadius &operator=( const domRadius &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: // Elements
/**
* A float value that represents the length of the line segment connecting
* the centers of the capping hemispheres. @see domHeight
*/
domHeightRef elemHeight;
/**
* Two float values that represent the radii of the capsule (it may be elliptical)
* @see domRadius
*/
domRadiusRef elemRadius;
/**
* The extra element may appear any number of times. @see domExtra
*/
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the height element.
* @return a daeSmartRef to the height element.
*/
const domHeightRef getHeight() const { return elemHeight; }
/**
* Gets the radius element.
* @return a daeSmartRef to the radius element.
*/
const domRadiusRef getRadius() const { return elemRadius; }
/**
* 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
*/
domCapsule() : elemHeight(), elemRadius(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domCapsule() {}
/**
* Copy Constructor
*/
domCapsule( const domCapsule &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCapsule &operator=( const domCapsule &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

View File

@ -1,121 +0,0 @@
/*
* 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 __domCg_connect_param_h__
#define __domCg_connect_param_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
/**
* Creates a symbolic connection between two previously defined parameters.
*/
class domCg_connect_param_complexType
{
protected: // Attribute
domCg_identifier attrRef;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a domCg_identifier of the ref attribute.
*/
domCg_identifier getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( domCg_identifier atRef ) { attrRef = atRef; }
protected:
/**
* Constructor
*/
domCg_connect_param_complexType() : attrRef() {}
/**
* Destructor
*/
virtual ~domCg_connect_param_complexType() {}
/**
* Copy Constructor
*/
domCg_connect_param_complexType( const domCg_connect_param_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_connect_param_complexType &operator=( const domCg_connect_param_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_connect_param_complexType.
*/
class domCg_connect_param : public daeElement, public domCg_connect_param_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_CONNECT_PARAM; }
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a domCg_identifier of the ref attribute.
*/
domCg_identifier getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( domCg_identifier atRef ) { attrRef = atRef;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domCg_connect_param() {}
/**
* Destructor
*/
virtual ~domCg_connect_param() {}
/**
* Copy Constructor
*/
domCg_connect_param( const domCg_connect_param &cpy ) : daeElement(), domCg_connect_param_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_connect_param &operator=( const domCg_connect_param &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

View File

@ -1,200 +0,0 @@
/*
* 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 __domCg_newarray_type_h__
#define __domCg_newarray_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domCg_param_type.h>
#include <dom/domCg_newarray_type.h>
#include <dom/domCg_setuser_type.h>
#include <dom/domCg_connect_param.h>
/**
* Creates a parameter of a one-dimensional array type.
*/
class domCg_newarray_type_complexType
{
protected: // Attribute
/**
* The length attribute specifies the length of the array.
*/
xsPositiveInteger attrLength;
protected: // Elements
domCg_param_type_Array elemCg_param_type_array;
/**
* Nested array elements allow you to create multidemensional arrays. @see
* domArray
*/
domCg_newarray_type_Array elemArray_array;
/**
* The usertype element allows you to create arrays of usertypes. @see domUsertype
*/
domCg_setuser_type_Array elemUsertype_array;
domCg_connect_param_Array elemConnect_param_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 length attribute.
* @return Returns a xsPositiveInteger of the length attribute.
*/
xsPositiveInteger getLength() const { return attrLength; }
/**
* Sets the length attribute.
* @param atLength The new value for the length attribute.
*/
void setLength( xsPositiveInteger atLength ) { attrLength = atLength; }
/**
* Gets the cg_param_type element array.
* @return Returns a reference to the array of cg_param_type elements.
*/
domCg_param_type_Array &getCg_param_type_array() { return elemCg_param_type_array; }
/**
* Gets the cg_param_type element array.
* @return Returns a constant reference to the array of cg_param_type elements.
*/
const domCg_param_type_Array &getCg_param_type_array() const { return elemCg_param_type_array; }
/**
* Gets the array element array.
* @return Returns a reference to the array of array elements.
*/
domCg_newarray_type_Array &getArray_array() { return elemArray_array; }
/**
* Gets the array element array.
* @return Returns a constant reference to the array of array elements.
*/
const domCg_newarray_type_Array &getArray_array() const { return elemArray_array; }
/**
* Gets the usertype element array.
* @return Returns a reference to the array of usertype elements.
*/
domCg_setuser_type_Array &getUsertype_array() { return elemUsertype_array; }
/**
* Gets the usertype element array.
* @return Returns a constant reference to the array of usertype elements.
*/
const domCg_setuser_type_Array &getUsertype_array() const { return elemUsertype_array; }
/**
* Gets the connect_param element array.
* @return Returns a reference to the array of connect_param elements.
*/
domCg_connect_param_Array &getConnect_param_array() { return elemConnect_param_array; }
/**
* Gets the connect_param element array.
* @return Returns a constant reference to the array of connect_param elements.
*/
const domCg_connect_param_Array &getConnect_param_array() const { return elemConnect_param_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
*/
domCg_newarray_type_complexType() : attrLength(), elemCg_param_type_array(), elemArray_array(), elemUsertype_array(), elemConnect_param_array() {}
/**
* Destructor
*/
virtual ~domCg_newarray_type_complexType() {}
/**
* Copy Constructor
*/
domCg_newarray_type_complexType( const domCg_newarray_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_newarray_type_complexType &operator=( const domCg_newarray_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_newarray_type_complexType.
*/
class domCg_newarray_type : public daeElement, public domCg_newarray_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_NEWARRAY_TYPE; }
public: //Accessors and Mutators
/**
* Gets the length attribute.
* @return Returns a xsPositiveInteger of the length attribute.
*/
xsPositiveInteger getLength() const { return attrLength; }
/**
* Sets the length attribute.
* @param atLength The new value for the length attribute.
*/
void setLength( xsPositiveInteger atLength ) { attrLength = atLength;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domCg_newarray_type() {}
/**
* Destructor
*/
virtual ~domCg_newarray_type() {}
/**
* Copy Constructor
*/
domCg_newarray_type( const domCg_newarray_type &cpy ) : daeElement(), domCg_newarray_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_newarray_type &operator=( const domCg_newarray_type &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

View File

@ -1,342 +0,0 @@
/*
* 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 __domCg_newparam_h__
#define __domCg_newparam_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domCg_param_type.h>
#include <dom/domFx_annotate_common.h>
#include <dom/domCg_setuser_type.h>
#include <dom/domCg_newarray_type.h>
/**
* Create a new, named param object in the CG Runtime, assign it a type, an
* initial value, and additional attributes at declaration time.
*/
class domCg_newparam_complexType
{
public:
class domSemantic;
typedef daeSmartRef<domSemantic> domSemanticRef;
typedef daeTArray<domSemanticRef> domSemantic_Array;
/**
* The semantic element allows you to specify a semantic for this new param.
*/
class domSemantic : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SEMANTIC; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSemantic() : _value() {}
/**
* Destructor
*/
virtual ~domSemantic() {}
/**
* Copy Constructor
*/
domSemantic( const domSemantic &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSemantic &operator=( const domSemantic &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;
};
class domModifier;
typedef daeSmartRef<domModifier> domModifierRef;
typedef daeTArray<domModifierRef> domModifier_Array;
/**
* The modifier element allows you to specify a modifier for this new param.
*/
class domModifier : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIER; }
protected: // Value
/**
* The domFx_modifier_enum_common value of the text data of this element.
*/
domFx_modifier_enum_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_modifier_enum_common of the value.
*/
domFx_modifier_enum_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_modifier_enum_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domModifier() : _value() {}
/**
* Destructor
*/
virtual ~domModifier() {}
/**
* Copy Constructor
*/
domModifier( const domModifier &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domModifier &operator=( const domModifier &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: // Attribute
domCg_identifier attrSid;
protected: // Elements
/**
* The annotate element allows you to specify an annotation for this new param.
* @see domAnnotate
*/
domFx_annotate_common_Array elemAnnotate_array;
/**
* The semantic element allows you to specify a semantic for this new param.
* @see domSemantic
*/
domSemanticRef elemSemantic;
/**
* The modifier element allows you to specify a modifier for this new param.
* @see domModifier
*/
domModifierRef elemModifier;
domCg_param_typeRef elemCg_param_type;
domCg_setuser_typeRef elemUsertype;
domCg_newarray_typeRef elemArray;
/**
* 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 sid attribute.
* @return Returns a domCg_identifier of the sid attribute.
*/
domCg_identifier getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( domCg_identifier atSid ) { attrSid = atSid; }
/**
* Gets the annotate element array.
* @return Returns a reference to the array of annotate elements.
*/
domFx_annotate_common_Array &getAnnotate_array() { return elemAnnotate_array; }
/**
* Gets the annotate element array.
* @return Returns a constant reference to the array of annotate elements.
*/
const domFx_annotate_common_Array &getAnnotate_array() const { return elemAnnotate_array; }
/**
* Gets the semantic element.
* @return a daeSmartRef to the semantic element.
*/
const domSemanticRef getSemantic() const { return elemSemantic; }
/**
* Gets the modifier element.
* @return a daeSmartRef to the modifier element.
*/
const domModifierRef getModifier() const { return elemModifier; }
/**
* Gets the cg_param_type element.
* @return a daeSmartRef to the cg_param_type element.
*/
const domCg_param_typeRef getCg_param_type() const { return elemCg_param_type; }
/**
* Gets the usertype element.
* @return a daeSmartRef to the usertype element.
*/
const domCg_setuser_typeRef getUsertype() const { return elemUsertype; }
/**
* Gets the array element.
* @return a daeSmartRef to the array element.
*/
const domCg_newarray_typeRef getArray() const { return elemArray; }
/**
* 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
*/
domCg_newparam_complexType() : attrSid(), elemAnnotate_array(), elemSemantic(), elemModifier(), elemCg_param_type(), elemUsertype(), elemArray() {}
/**
* Destructor
*/
virtual ~domCg_newparam_complexType() {}
/**
* Copy Constructor
*/
domCg_newparam_complexType( const domCg_newparam_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_newparam_complexType &operator=( const domCg_newparam_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_newparam_complexType.
*/
class domCg_newparam : public daeElement, public domCg_newparam_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_NEWPARAM; }
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a domCg_identifier of the sid attribute.
*/
domCg_identifier getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( domCg_identifier atSid ) { attrSid = atSid;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domCg_newparam() {}
/**
* Destructor
*/
virtual ~domCg_newparam() {}
/**
* Copy Constructor
*/
domCg_newparam( const domCg_newparam &cpy ) : daeElement(), domCg_newparam_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_newparam &operator=( const domCg_newparam &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

File diff suppressed because it is too large Load Diff

View File

@ -1,90 +0,0 @@
/*
* 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 __domCg_sampler1D_h__
#define __domCg_sampler1D_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_sampler1D_common.h>
class domCg_sampler1D_complexType : public domFx_sampler1D_common_complexType
{
protected:
/**
* Constructor
*/
domCg_sampler1D_complexType() {}
/**
* Destructor
*/
virtual ~domCg_sampler1D_complexType() {}
/**
* Copy Constructor
*/
domCg_sampler1D_complexType( const domCg_sampler1D_complexType &cpy ) : domFx_sampler1D_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_sampler1D_complexType &operator=( const domCg_sampler1D_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_sampler1D_complexType.
*/
class domCg_sampler1D : public daeElement, public domCg_sampler1D_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLER1D; }
protected:
/**
* Constructor
*/
domCg_sampler1D() {}
/**
* Destructor
*/
virtual ~domCg_sampler1D() {}
/**
* Copy Constructor
*/
domCg_sampler1D( const domCg_sampler1D &cpy ) : daeElement(), domCg_sampler1D_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_sampler1D &operator=( const domCg_sampler1D &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

View File

@ -1,90 +0,0 @@
/*
* 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 __domCg_sampler2D_h__
#define __domCg_sampler2D_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_sampler2D_common.h>
class domCg_sampler2D_complexType : public domFx_sampler2D_common_complexType
{
protected:
/**
* Constructor
*/
domCg_sampler2D_complexType() {}
/**
* Destructor
*/
virtual ~domCg_sampler2D_complexType() {}
/**
* Copy Constructor
*/
domCg_sampler2D_complexType( const domCg_sampler2D_complexType &cpy ) : domFx_sampler2D_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_sampler2D_complexType &operator=( const domCg_sampler2D_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_sampler2D_complexType.
*/
class domCg_sampler2D : public daeElement, public domCg_sampler2D_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLER2D; }
protected:
/**
* Constructor
*/
domCg_sampler2D() {}
/**
* Destructor
*/
virtual ~domCg_sampler2D() {}
/**
* Copy Constructor
*/
domCg_sampler2D( const domCg_sampler2D &cpy ) : daeElement(), domCg_sampler2D_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_sampler2D &operator=( const domCg_sampler2D &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

View File

@ -1,90 +0,0 @@
/*
* 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 __domCg_sampler3D_h__
#define __domCg_sampler3D_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_sampler3D_common.h>
class domCg_sampler3D_complexType : public domFx_sampler3D_common_complexType
{
protected:
/**
* Constructor
*/
domCg_sampler3D_complexType() {}
/**
* Destructor
*/
virtual ~domCg_sampler3D_complexType() {}
/**
* Copy Constructor
*/
domCg_sampler3D_complexType( const domCg_sampler3D_complexType &cpy ) : domFx_sampler3D_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_sampler3D_complexType &operator=( const domCg_sampler3D_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_sampler3D_complexType.
*/
class domCg_sampler3D : public daeElement, public domCg_sampler3D_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLER3D; }
protected:
/**
* Constructor
*/
domCg_sampler3D() {}
/**
* Destructor
*/
virtual ~domCg_sampler3D() {}
/**
* Copy Constructor
*/
domCg_sampler3D( const domCg_sampler3D &cpy ) : daeElement(), domCg_sampler3D_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_sampler3D &operator=( const domCg_sampler3D &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

View File

@ -1,90 +0,0 @@
/*
* 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 __domCg_samplerCUBE_h__
#define __domCg_samplerCUBE_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_samplerCUBE_common.h>
class domCg_samplerCUBE_complexType : public domFx_samplerCUBE_common_complexType
{
protected:
/**
* Constructor
*/
domCg_samplerCUBE_complexType() {}
/**
* Destructor
*/
virtual ~domCg_samplerCUBE_complexType() {}
/**
* Copy Constructor
*/
domCg_samplerCUBE_complexType( const domCg_samplerCUBE_complexType &cpy ) : domFx_samplerCUBE_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_samplerCUBE_complexType &operator=( const domCg_samplerCUBE_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_samplerCUBE_complexType.
*/
class domCg_samplerCUBE : public daeElement, public domCg_samplerCUBE_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLERCUBE; }
protected:
/**
* Constructor
*/
domCg_samplerCUBE() {}
/**
* Destructor
*/
virtual ~domCg_samplerCUBE() {}
/**
* Copy Constructor
*/
domCg_samplerCUBE( const domCg_samplerCUBE &cpy ) : daeElement(), domCg_samplerCUBE_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_samplerCUBE &operator=( const domCg_samplerCUBE &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

View File

@ -1,90 +0,0 @@
/*
* 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 __domCg_samplerDEPTH_h__
#define __domCg_samplerDEPTH_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_samplerDEPTH_common.h>
class domCg_samplerDEPTH_complexType : public domFx_samplerDEPTH_common_complexType
{
protected:
/**
* Constructor
*/
domCg_samplerDEPTH_complexType() {}
/**
* Destructor
*/
virtual ~domCg_samplerDEPTH_complexType() {}
/**
* Copy Constructor
*/
domCg_samplerDEPTH_complexType( const domCg_samplerDEPTH_complexType &cpy ) : domFx_samplerDEPTH_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_samplerDEPTH_complexType &operator=( const domCg_samplerDEPTH_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_samplerDEPTH_complexType.
*/
class domCg_samplerDEPTH : public daeElement, public domCg_samplerDEPTH_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLERDEPTH; }
protected:
/**
* Constructor
*/
domCg_samplerDEPTH() {}
/**
* Destructor
*/
virtual ~domCg_samplerDEPTH() {}
/**
* Copy Constructor
*/
domCg_samplerDEPTH( const domCg_samplerDEPTH &cpy ) : daeElement(), domCg_samplerDEPTH_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_samplerDEPTH &operator=( const domCg_samplerDEPTH &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

View File

@ -1,90 +0,0 @@
/*
* 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 __domCg_samplerRECT_h__
#define __domCg_samplerRECT_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_samplerRECT_common.h>
class domCg_samplerRECT_complexType : public domFx_samplerRECT_common_complexType
{
protected:
/**
* Constructor
*/
domCg_samplerRECT_complexType() {}
/**
* Destructor
*/
virtual ~domCg_samplerRECT_complexType() {}
/**
* Copy Constructor
*/
domCg_samplerRECT_complexType( const domCg_samplerRECT_complexType &cpy ) : domFx_samplerRECT_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_samplerRECT_complexType &operator=( const domCg_samplerRECT_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_samplerRECT_complexType.
*/
class domCg_samplerRECT : public daeElement, public domCg_samplerRECT_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLERRECT; }
protected:
/**
* Constructor
*/
domCg_samplerRECT() {}
/**
* Destructor
*/
virtual ~domCg_samplerRECT() {}
/**
* Copy Constructor
*/
domCg_samplerRECT( const domCg_samplerRECT &cpy ) : daeElement(), domCg_samplerRECT_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_samplerRECT &operator=( const domCg_samplerRECT &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

View File

@ -1,188 +0,0 @@
/*
* 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 __domCg_setarray_type_h__
#define __domCg_setarray_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domCg_param_type.h>
#include <dom/domCg_setarray_type.h>
#include <dom/domCg_setuser_type.h>
/**
* Creates a parameter of a one-dimensional array type.
*/
class domCg_setarray_type_complexType
{
protected: // Attribute
/**
* The length attribute specifies the length of the array.
*/
xsPositiveInteger attrLength;
protected: // Elements
domCg_param_type_Array elemCg_param_type_array;
/**
* Nested array elements allow you to create multidemensional arrays. @see
* domArray
*/
domCg_setarray_type_Array elemArray_array;
/**
* The usertype element allows you to create arrays of usertypes. @see domUsertype
*/
domCg_setuser_type_Array elemUsertype_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 length attribute.
* @return Returns a xsPositiveInteger of the length attribute.
*/
xsPositiveInteger getLength() const { return attrLength; }
/**
* Sets the length attribute.
* @param atLength The new value for the length attribute.
*/
void setLength( xsPositiveInteger atLength ) { attrLength = atLength; }
/**
* Gets the cg_param_type element array.
* @return Returns a reference to the array of cg_param_type elements.
*/
domCg_param_type_Array &getCg_param_type_array() { return elemCg_param_type_array; }
/**
* Gets the cg_param_type element array.
* @return Returns a constant reference to the array of cg_param_type elements.
*/
const domCg_param_type_Array &getCg_param_type_array() const { return elemCg_param_type_array; }
/**
* Gets the array element array.
* @return Returns a reference to the array of array elements.
*/
domCg_setarray_type_Array &getArray_array() { return elemArray_array; }
/**
* Gets the array element array.
* @return Returns a constant reference to the array of array elements.
*/
const domCg_setarray_type_Array &getArray_array() const { return elemArray_array; }
/**
* Gets the usertype element array.
* @return Returns a reference to the array of usertype elements.
*/
domCg_setuser_type_Array &getUsertype_array() { return elemUsertype_array; }
/**
* Gets the usertype element array.
* @return Returns a constant reference to the array of usertype elements.
*/
const domCg_setuser_type_Array &getUsertype_array() const { return elemUsertype_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
*/
domCg_setarray_type_complexType() : attrLength(), elemCg_param_type_array(), elemArray_array(), elemUsertype_array() {}
/**
* Destructor
*/
virtual ~domCg_setarray_type_complexType() {}
/**
* Copy Constructor
*/
domCg_setarray_type_complexType( const domCg_setarray_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_setarray_type_complexType &operator=( const domCg_setarray_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_setarray_type_complexType.
*/
class domCg_setarray_type : public daeElement, public domCg_setarray_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SETARRAY_TYPE; }
public: //Accessors and Mutators
/**
* Gets the length attribute.
* @return Returns a xsPositiveInteger of the length attribute.
*/
xsPositiveInteger getLength() const { return attrLength; }
/**
* Sets the length attribute.
* @param atLength The new value for the length attribute.
*/
void setLength( xsPositiveInteger atLength ) { attrLength = atLength;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domCg_setarray_type() {}
/**
* Destructor
*/
virtual ~domCg_setarray_type() {}
/**
* Copy Constructor
*/
domCg_setarray_type( const domCg_setarray_type &cpy ) : daeElement(), domCg_setarray_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_setarray_type &operator=( const domCg_setarray_type &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

View File

@ -1,194 +0,0 @@
/*
* 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 __domCg_setparam_h__
#define __domCg_setparam_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domCg_param_type.h>
#include <dom/domCg_setuser_type.h>
#include <dom/domCg_setarray_type.h>
#include <dom/domCg_connect_param.h>
/**
* Assigns a new value to a previously defined parameter.
*/
class domCg_setparam_complexType
{
protected: // Attributes
domCg_identifier attrRef;
xsNCName attrProgram;
protected: // Elements
domCg_param_typeRef elemCg_param_type;
domCg_setuser_typeRef elemUsertype;
domCg_setarray_typeRef elemArray;
domCg_connect_paramRef elemConnect_param;
/**
* 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 ref attribute.
* @return Returns a domCg_identifier of the ref attribute.
*/
domCg_identifier getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( domCg_identifier atRef ) { attrRef = atRef; }
/**
* Gets the program attribute.
* @return Returns a xsNCName of the program attribute.
*/
xsNCName getProgram() const { return attrProgram; }
/**
* Sets the program attribute.
* @param atProgram The new value for the program attribute.
*/
void setProgram( xsNCName atProgram ) { *(daeStringRef*)&attrProgram = atProgram; }
/**
* Gets the cg_param_type element.
* @return a daeSmartRef to the cg_param_type element.
*/
const domCg_param_typeRef getCg_param_type() const { return elemCg_param_type; }
/**
* Gets the usertype element.
* @return a daeSmartRef to the usertype element.
*/
const domCg_setuser_typeRef getUsertype() const { return elemUsertype; }
/**
* Gets the array element.
* @return a daeSmartRef to the array element.
*/
const domCg_setarray_typeRef getArray() const { return elemArray; }
/**
* Gets the connect_param element.
* @return a daeSmartRef to the connect_param element.
*/
const domCg_connect_paramRef getConnect_param() const { return elemConnect_param; }
/**
* 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
*/
domCg_setparam_complexType() : attrRef(), attrProgram(), elemCg_param_type(), elemUsertype(), elemArray(), elemConnect_param() {}
/**
* Destructor
*/
virtual ~domCg_setparam_complexType() {}
/**
* Copy Constructor
*/
domCg_setparam_complexType( const domCg_setparam_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_setparam_complexType &operator=( const domCg_setparam_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_setparam_complexType.
*/
class domCg_setparam : public daeElement, public domCg_setparam_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SETPARAM; }
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a domCg_identifier of the ref attribute.
*/
domCg_identifier getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( domCg_identifier atRef ) { attrRef = atRef;
_validAttributeArray[0] = true; }
/**
* Gets the program attribute.
* @return Returns a xsNCName of the program attribute.
*/
xsNCName getProgram() const { return attrProgram; }
/**
* Sets the program attribute.
* @param atProgram The new value for the program attribute.
*/
void setProgram( xsNCName atProgram ) { *(daeStringRef*)&attrProgram = atProgram;
_validAttributeArray[1] = true; }
protected:
/**
* Constructor
*/
domCg_setparam() {}
/**
* Destructor
*/
virtual ~domCg_setparam() {}
/**
* Copy Constructor
*/
domCg_setparam( const domCg_setparam &cpy ) : daeElement(), domCg_setparam_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_setparam &operator=( const domCg_setparam &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

View File

@ -1,138 +0,0 @@
/*
* 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 __domCg_setparam_simple_h__
#define __domCg_setparam_simple_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domCg_param_type.h>
#include <dom/domFx_annotate_common.h>
class domCg_setparam_simple_complexType
{
protected: // Attribute
domCg_identifier attrRef;
protected: // Elements
domFx_annotate_common_Array elemAnnotate_array;
domCg_param_typeRef elemCg_param_type;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a domCg_identifier of the ref attribute.
*/
domCg_identifier getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( domCg_identifier atRef ) { attrRef = atRef; }
/**
* Gets the annotate element array.
* @return Returns a reference to the array of annotate elements.
*/
domFx_annotate_common_Array &getAnnotate_array() { return elemAnnotate_array; }
/**
* Gets the annotate element array.
* @return Returns a constant reference to the array of annotate elements.
*/
const domFx_annotate_common_Array &getAnnotate_array() const { return elemAnnotate_array; }
/**
* Gets the cg_param_type element.
* @return a daeSmartRef to the cg_param_type element.
*/
const domCg_param_typeRef getCg_param_type() const { return elemCg_param_type; }
protected:
/**
* Constructor
*/
domCg_setparam_simple_complexType() : attrRef(), elemAnnotate_array(), elemCg_param_type() {}
/**
* Destructor
*/
virtual ~domCg_setparam_simple_complexType() {}
/**
* Copy Constructor
*/
domCg_setparam_simple_complexType( const domCg_setparam_simple_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_setparam_simple_complexType &operator=( const domCg_setparam_simple_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_setparam_simple_complexType.
*/
class domCg_setparam_simple : public daeElement, public domCg_setparam_simple_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SETPARAM_SIMPLE; }
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a domCg_identifier of the ref attribute.
*/
domCg_identifier getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( domCg_identifier atRef ) { attrRef = atRef;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domCg_setparam_simple() {}
/**
* Destructor
*/
virtual ~domCg_setparam_simple() {}
/**
* Copy Constructor
*/
domCg_setparam_simple( const domCg_setparam_simple &cpy ) : daeElement(), domCg_setparam_simple_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_setparam_simple &operator=( const domCg_setparam_simple &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

View File

@ -1,233 +0,0 @@
/*
* 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 __domCg_setuser_type_h__
#define __domCg_setuser_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domCg_param_type.h>
#include <dom/domCg_setarray_type.h>
#include <dom/domCg_setuser_type.h>
#include <dom/domCg_connect_param.h>
#include <dom/domCg_setparam.h>
/**
* Creates an instance of a structured class.
*/
class domCg_setuser_type_complexType
{
protected: // Attributes
domCg_identifier attrName;
/**
* Reference a code or include element which defines the usertype
*/
xsNCName attrSource;
protected: // Elements
domCg_param_type_Array elemCg_param_type_array;
domCg_setarray_type_Array elemArray_array;
domCg_setuser_type_Array elemUsertype_array;
domCg_connect_param_Array elemConnect_param_array;
/**
* Use a series of these to set the members by name. The ref attribute will
* be relative to the usertype you are in right now. @see domSetparam
*/
domCg_setparam_Array elemSetparam_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 name attribute.
* @return Returns a domCg_identifier of the name attribute.
*/
domCg_identifier getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( domCg_identifier atName ) { attrName = atName; }
/**
* Gets the source attribute.
* @return Returns a xsNCName of the source attribute.
*/
xsNCName getSource() const { return attrSource; }
/**
* Sets the source attribute.
* @param atSource The new value for the source attribute.
*/
void setSource( xsNCName atSource ) { *(daeStringRef*)&attrSource = atSource; }
/**
* Gets the cg_param_type element array.
* @return Returns a reference to the array of cg_param_type elements.
*/
domCg_param_type_Array &getCg_param_type_array() { return elemCg_param_type_array; }
/**
* Gets the cg_param_type element array.
* @return Returns a constant reference to the array of cg_param_type elements.
*/
const domCg_param_type_Array &getCg_param_type_array() const { return elemCg_param_type_array; }
/**
* Gets the array element array.
* @return Returns a reference to the array of array elements.
*/
domCg_setarray_type_Array &getArray_array() { return elemArray_array; }
/**
* Gets the array element array.
* @return Returns a constant reference to the array of array elements.
*/
const domCg_setarray_type_Array &getArray_array() const { return elemArray_array; }
/**
* Gets the usertype element array.
* @return Returns a reference to the array of usertype elements.
*/
domCg_setuser_type_Array &getUsertype_array() { return elemUsertype_array; }
/**
* Gets the usertype element array.
* @return Returns a constant reference to the array of usertype elements.
*/
const domCg_setuser_type_Array &getUsertype_array() const { return elemUsertype_array; }
/**
* Gets the connect_param element array.
* @return Returns a reference to the array of connect_param elements.
*/
domCg_connect_param_Array &getConnect_param_array() { return elemConnect_param_array; }
/**
* Gets the connect_param element array.
* @return Returns a constant reference to the array of connect_param elements.
*/
const domCg_connect_param_Array &getConnect_param_array() const { return elemConnect_param_array; }
/**
* Gets the setparam element array.
* @return Returns a reference to the array of setparam elements.
*/
domCg_setparam_Array &getSetparam_array() { return elemSetparam_array; }
/**
* Gets the setparam element array.
* @return Returns a constant reference to the array of setparam elements.
*/
const domCg_setparam_Array &getSetparam_array() const { return elemSetparam_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
*/
domCg_setuser_type_complexType() : attrName(), attrSource(), elemCg_param_type_array(), elemArray_array(), elemUsertype_array(), elemConnect_param_array(), elemSetparam_array() {}
/**
* Destructor
*/
virtual ~domCg_setuser_type_complexType() {}
/**
* Copy Constructor
*/
domCg_setuser_type_complexType( const domCg_setuser_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_setuser_type_complexType &operator=( const domCg_setuser_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_setuser_type_complexType.
*/
class domCg_setuser_type : public daeElement, public domCg_setuser_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SETUSER_TYPE; }
public: //Accessors and Mutators
/**
* Gets the name attribute.
* @return Returns a domCg_identifier of the name attribute.
*/
domCg_identifier getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( domCg_identifier atName ) { attrName = atName;
_validAttributeArray[0] = true; }
/**
* Gets the source attribute.
* @return Returns a xsNCName of the source attribute.
*/
xsNCName getSource() const { return attrSource; }
/**
* Sets the source attribute.
* @param atSource The new value for the source attribute.
*/
void setSource( xsNCName atSource ) { *(daeStringRef*)&attrSource = atSource;
_validAttributeArray[1] = true; }
protected:
/**
* Constructor
*/
domCg_setuser_type() {}
/**
* Destructor
*/
virtual ~domCg_setuser_type() {}
/**
* Copy Constructor
*/
domCg_setuser_type( const domCg_setuser_type &cpy ) : daeElement(), domCg_setuser_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_setuser_type &operator=( const domCg_setuser_type &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

View File

@ -1,341 +0,0 @@
/*
* 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 __domCg_surface_type_h__
#define __domCg_surface_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_surface_common.h>
#include <dom/domFx_annotate_common.h>
#include <dom/domFx_code_profile.h>
#include <dom/domFx_include_common.h>
#include <dom/domCg_setparam_simple.h>
/**
* Declares a resource that can be used both as the source for texture samples
* and as the target of a rendering pass.
*/
class domCg_surface_type_complexType : public domFx_surface_common_complexType
{
public:
class domGenerator;
typedef daeSmartRef<domGenerator> domGeneratorRef;
typedef daeTArray<domGeneratorRef> domGenerator_Array;
/**
* A procedural surface generator for the cg profile.
*/
class domGenerator : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GENERATOR; }
public:
class domName;
typedef daeSmartRef<domName> domNameRef;
typedef daeTArray<domNameRef> domName_Array;
/**
* The entry symbol for the shader function.
*/
class domName : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::NAME; }
protected: // Attribute
xsNCName attrSource;
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the source attribute.
* @return Returns a xsNCName of the source attribute.
*/
xsNCName getSource() const { return attrSource; }
/**
* Sets the source attribute.
* @param atSource The new value for the source attribute.
*/
void setSource( xsNCName atSource ) { *(daeStringRef*)&attrSource = atSource;
_validAttributeArray[0] = true; }
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domName() : attrSource(), _value() {}
/**
* Destructor
*/
virtual ~domName() {}
/**
* Copy Constructor
*/
domName( const domName &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domName &operator=( const domName &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: // Elements
/**
* The annotate element allows you to specify an annotation for this generator.
* @see domAnnotate
*/
domFx_annotate_common_Array elemAnnotate_array;
/**
* The code element allows you to embed cg sourcecode for the surface generator.
* @see domCode
*/
domFx_code_profile_Array elemCode_array;
/**
* The include element imports cg source code or precompiled binary shaders
* into the FX Runtime by referencing an external resource. @see domInclude
*/
domFx_include_common_Array elemInclude_array;
/**
* The entry symbol for the shader function. @see domName
*/
domNameRef elemName;
/**
* Assigns a new value to a previously defined parameter. @see domSetparam
*/
domCg_setparam_simple_Array elemSetparam_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 annotate element array.
* @return Returns a reference to the array of annotate elements.
*/
domFx_annotate_common_Array &getAnnotate_array() { return elemAnnotate_array; }
/**
* Gets the annotate element array.
* @return Returns a constant reference to the array of annotate elements.
*/
const domFx_annotate_common_Array &getAnnotate_array() const { return elemAnnotate_array; }
/**
* Gets the code element array.
* @return Returns a reference to the array of code elements.
*/
domFx_code_profile_Array &getCode_array() { return elemCode_array; }
/**
* Gets the code element array.
* @return Returns a constant reference to the array of code elements.
*/
const domFx_code_profile_Array &getCode_array() const { return elemCode_array; }
/**
* Gets the include element array.
* @return Returns a reference to the array of include elements.
*/
domFx_include_common_Array &getInclude_array() { return elemInclude_array; }
/**
* Gets the include element array.
* @return Returns a constant reference to the array of include elements.
*/
const domFx_include_common_Array &getInclude_array() const { return elemInclude_array; }
/**
* Gets the name element.
* @return a daeSmartRef to the name element.
*/
const domNameRef getName() const { return elemName; }
/**
* Gets the setparam element array.
* @return Returns a reference to the array of setparam elements.
*/
domCg_setparam_simple_Array &getSetparam_array() { return elemSetparam_array; }
/**
* Gets the setparam element array.
* @return Returns a constant reference to the array of setparam elements.
*/
const domCg_setparam_simple_Array &getSetparam_array() const { return elemSetparam_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
*/
domGenerator() : elemAnnotate_array(), elemCode_array(), elemInclude_array(), elemName(), elemSetparam_array() {}
/**
* Destructor
*/
virtual ~domGenerator() {}
/**
* Copy Constructor
*/
domGenerator( const domGenerator &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGenerator &operator=( const domGenerator &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: // Element
/**
* A procedural surface generator for the cg profile. @see domGenerator
*/
domGeneratorRef elemGenerator;
public: //Accessors and Mutators
/**
* Gets the generator element.
* @return a daeSmartRef to the generator element.
*/
const domGeneratorRef getGenerator() const { return elemGenerator; }
protected:
/**
* Constructor
*/
domCg_surface_type_complexType() : elemGenerator() {}
/**
* Destructor
*/
virtual ~domCg_surface_type_complexType() {}
/**
* Copy Constructor
*/
domCg_surface_type_complexType( const domCg_surface_type_complexType &cpy ) : domFx_surface_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_surface_type_complexType &operator=( const domCg_surface_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCg_surface_type_complexType.
*/
class domCg_surface_type : public daeElement, public domCg_surface_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SURFACE_TYPE; }
protected:
/**
* Constructor
*/
domCg_surface_type() {}
/**
* Destructor
*/
virtual ~domCg_surface_type() {}
/**
* Copy Constructor
*/
domCg_surface_type( const domCg_surface_type &cpy ) : daeElement(), domCg_surface_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCg_surface_type &operator=( const domCg_surface_type &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

View File

@ -1,112 +0,0 @@
/*
* 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 __domChannel_h__
#define __domChannel_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
/**
* The channel element declares an output channel of an animation.
*/
class domChannel : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CHANNEL; }
protected: // Attributes
/**
* The source attribute indicates the location of the sampler using a URL
* expression. The sampler must be declared within the same document. Required
* attribute.
*/
domURIFragmentType attrSource;
/**
* The target attribute indicates the location of the element bound to the
* output of the sampler. This text string is a path-name following a simple
* syntax described in Address Syntax. Required attribute.
*/
xsToken attrTarget;
public: //Accessors and Mutators
/**
* Gets the source attribute.
* @return Returns a domURIFragmentType reference of the source attribute.
*/
domURIFragmentType &getSource() { return attrSource; }
/**
* Gets the source attribute.
* @return Returns a constant domURIFragmentType reference of the source attribute.
*/
const domURIFragmentType &getSource() const { return attrSource; }
/**
* Sets the source attribute.
* @param atSource The new value for the source attribute.
*/
void setSource( const domURIFragmentType &atSource ) { attrSource = atSource;
_validAttributeArray[0] = true; }
/**
* Gets the target attribute.
* @return Returns a xsToken of the target attribute.
*/
xsToken getTarget() const { return attrTarget; }
/**
* Sets the target attribute.
* @param atTarget The new value for the target attribute.
*/
void setTarget( xsToken atTarget ) { *(daeStringRef*)&attrTarget = atTarget;
_validAttributeArray[1] = true; }
protected:
/**
* Constructor
*/
domChannel() : attrSource(), attrTarget() {}
/**
* Destructor
*/
virtual ~domChannel() {}
/**
* Copy Constructor
*/
domChannel( const domChannel &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domChannel &operator=( const domChannel &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

View File

@ -1,369 +0,0 @@
/*
* 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 __domCommon_color_or_texture_type_h__
#define __domCommon_color_or_texture_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
class domCommon_color_or_texture_type_complexType
{
public:
class domColor;
typedef daeSmartRef<domColor> domColorRef;
typedef daeTArray<domColorRef> domColor_Array;
class domColor : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR; }
protected: // Attribute
xsNCName attrSid;
protected: // Value
/**
* The domFx_color_common value of the text data of this element.
*/
domFx_color_common _value;
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
_validAttributeArray[0] = true; }
/**
* Gets the _value array.
* @return Returns a domFx_color_common reference of the _value array.
*/
domFx_color_common &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFx_color_common reference of the _value array.
*/
const domFx_color_common &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFx_color_common &val ) { _value = val; }
protected:
/**
* Constructor
*/
domColor() : attrSid(), _value() {}
/**
* Destructor
*/
virtual ~domColor() {}
/**
* Copy Constructor
*/
domColor( const domColor &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domColor &operator=( const domColor &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;
};
class domParam;
typedef daeSmartRef<domParam> domParamRef;
typedef daeTArray<domParamRef> domParam_Array;
class domParam : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; }
protected: // Attribute
xsNCName attrRef;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a xsNCName of the ref attribute.
*/
xsNCName getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( xsNCName atRef ) { *(daeStringRef*)&attrRef = atRef;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domParam() : attrRef() {}
/**
* Destructor
*/
virtual ~domParam() {}
/**
* Copy Constructor
*/
domParam( const domParam &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domParam &operator=( const domParam &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;
};
class domTexture;
typedef daeSmartRef<domTexture> domTextureRef;
typedef daeTArray<domTextureRef> domTexture_Array;
class domTexture : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE; }
protected: // Attributes
xsNCName attrTexture;
xsNCName attrTexcoord;
protected: // Element
domExtraRef elemExtra;
public: //Accessors and Mutators
/**
* Gets the texture attribute.
* @return Returns a xsNCName of the texture attribute.
*/
xsNCName getTexture() const { return attrTexture; }
/**
* Sets the texture attribute.
* @param atTexture The new value for the texture attribute.
*/
void setTexture( xsNCName atTexture ) { *(daeStringRef*)&attrTexture = atTexture;
_validAttributeArray[0] = true; }
/**
* Gets the texcoord attribute.
* @return Returns a xsNCName of the texcoord attribute.
*/
xsNCName getTexcoord() const { return attrTexcoord; }
/**
* Sets the texcoord attribute.
* @param atTexcoord The new value for the texcoord attribute.
*/
void setTexcoord( xsNCName atTexcoord ) { *(daeStringRef*)&attrTexcoord = atTexcoord;
_validAttributeArray[1] = true; }
/**
* Gets the extra element.
* @return a daeSmartRef to the extra element.
*/
const domExtraRef getExtra() const { return elemExtra; }
protected:
/**
* Constructor
*/
domTexture() : attrTexture(), attrTexcoord(), elemExtra() {}
/**
* Destructor
*/
virtual ~domTexture() {}
/**
* Copy Constructor
*/
domTexture( const domTexture &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domTexture &operator=( const domTexture &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: // Elements
domColorRef elemColor;
domParamRef elemParam;
domTextureRef elemTexture;
/**
* 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 color element.
* @return a daeSmartRef to the color element.
*/
const domColorRef getColor() const { return elemColor; }
/**
* Gets the param element.
* @return a daeSmartRef to the param element.
*/
const domParamRef getParam() const { return elemParam; }
/**
* Gets the texture element.
* @return a daeSmartRef to the texture element.
*/
const domTextureRef getTexture() const { return elemTexture; }
/**
* 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
*/
domCommon_color_or_texture_type_complexType() : elemColor(), elemParam(), elemTexture() {}
/**
* Destructor
*/
virtual ~domCommon_color_or_texture_type_complexType() {}
/**
* Copy Constructor
*/
domCommon_color_or_texture_type_complexType( const domCommon_color_or_texture_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCommon_color_or_texture_type_complexType &operator=( const domCommon_color_or_texture_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCommon_color_or_texture_type_complexType.
*/
class domCommon_color_or_texture_type : public daeElement, public domCommon_color_or_texture_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMON_COLOR_OR_TEXTURE_TYPE; }
protected:
/**
* Constructor
*/
domCommon_color_or_texture_type() {}
/**
* Destructor
*/
virtual ~domCommon_color_or_texture_type() {}
/**
* Copy Constructor
*/
domCommon_color_or_texture_type( const domCommon_color_or_texture_type &cpy ) : daeElement(), domCommon_color_or_texture_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCommon_color_or_texture_type &operator=( const domCommon_color_or_texture_type &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

View File

@ -1,272 +0,0 @@
/*
* 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 __domCommon_float_or_param_type_h__
#define __domCommon_float_or_param_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domCommon_float_or_param_type_complexType
{
public:
class domFloat;
typedef daeSmartRef<domFloat> domFloatRef;
typedef daeTArray<domFloatRef> domFloat_Array;
class domFloat : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; }
protected: // Attribute
xsNCName attrSid;
protected: // Value
/**
* The ::domFloat value of the text data of this element.
*/
::domFloat _value;
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
_validAttributeArray[0] = true; }
/**
* Gets the value of this element.
* @return a ::domFloat of the value.
*/
::domFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( ::domFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domFloat() : attrSid(), _value() {}
/**
* Destructor
*/
virtual ~domFloat() {}
/**
* Copy Constructor
*/
domFloat( const domFloat &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFloat &operator=( const domFloat &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;
};
class domParam;
typedef daeSmartRef<domParam> domParamRef;
typedef daeTArray<domParamRef> domParam_Array;
class domParam : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; }
protected: // Attribute
xsNCName attrRef;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a xsNCName of the ref attribute.
*/
xsNCName getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( xsNCName atRef ) { *(daeStringRef*)&attrRef = atRef;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domParam() : attrRef() {}
/**
* Destructor
*/
virtual ~domParam() {}
/**
* Copy Constructor
*/
domParam( const domParam &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domParam &operator=( const domParam &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: // Elements
domFloatRef elemFloat;
domParamRef elemParam;
/**
* 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 float element.
* @return a daeSmartRef to the float element.
*/
const domFloatRef getFloat() const { return elemFloat; }
/**
* Gets the param element.
* @return a daeSmartRef to the param element.
*/
const domParamRef getParam() const { return elemParam; }
/**
* 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
*/
domCommon_float_or_param_type_complexType() : elemFloat(), elemParam() {}
/**
* Destructor
*/
virtual ~domCommon_float_or_param_type_complexType() {}
/**
* Copy Constructor
*/
domCommon_float_or_param_type_complexType( const domCommon_float_or_param_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCommon_float_or_param_type_complexType &operator=( const domCommon_float_or_param_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCommon_float_or_param_type_complexType.
*/
class domCommon_float_or_param_type : public daeElement, public domCommon_float_or_param_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMON_FLOAT_OR_PARAM_TYPE; }
protected:
/**
* Constructor
*/
domCommon_float_or_param_type() {}
/**
* Destructor
*/
virtual ~domCommon_float_or_param_type() {}
/**
* Copy Constructor
*/
domCommon_float_or_param_type( const domCommon_float_or_param_type &cpy ) : daeElement(), domCommon_float_or_param_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCommon_float_or_param_type &operator=( const domCommon_float_or_param_type &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

View File

@ -1,540 +0,0 @@
/*
* 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 __domCommon_newparam_type_h__
#define __domCommon_newparam_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_surface_common.h>
#include <dom/domFx_sampler2D_common.h>
class domCommon_newparam_type_complexType
{
public:
class domSemantic;
typedef daeSmartRef<domSemantic> domSemanticRef;
typedef daeTArray<domSemanticRef> domSemantic_Array;
class domSemantic : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SEMANTIC; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSemantic() : _value() {}
/**
* Destructor
*/
virtual ~domSemantic() {}
/**
* Copy Constructor
*/
domSemantic( const domSemantic &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSemantic &operator=( const domSemantic &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;
};
class domFloat;
typedef daeSmartRef<domFloat> domFloatRef;
typedef daeTArray<domFloatRef> domFloat_Array;
class domFloat : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; }
protected: // Value
/**
* The ::domFloat value of the text data of this element.
*/
::domFloat _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a ::domFloat of the value.
*/
::domFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( ::domFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domFloat() : _value() {}
/**
* Destructor
*/
virtual ~domFloat() {}
/**
* Copy Constructor
*/
domFloat( const domFloat &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFloat &operator=( const domFloat &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;
};
class domFloat2;
typedef daeSmartRef<domFloat2> domFloat2Ref;
typedef daeTArray<domFloat2Ref> domFloat2_Array;
class domFloat2 : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; }
protected: // Value
/**
* The ::domFloat2 value of the text data of this element.
*/
::domFloat2 _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a ::domFloat2 reference of the _value array.
*/
::domFloat2 &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant ::domFloat2 reference of the _value array.
*/
const ::domFloat2 &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const ::domFloat2 &val ) { _value = val; }
protected:
/**
* Constructor
*/
domFloat2() : _value() {}
/**
* Destructor
*/
virtual ~domFloat2() {}
/**
* Copy Constructor
*/
domFloat2( const domFloat2 &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFloat2 &operator=( const domFloat2 &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;
};
class domFloat3;
typedef daeSmartRef<domFloat3> domFloat3Ref;
typedef daeTArray<domFloat3Ref> domFloat3_Array;
class domFloat3 : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; }
protected: // Value
/**
* The ::domFloat3 value of the text data of this element.
*/
::domFloat3 _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a ::domFloat3 reference of the _value array.
*/
::domFloat3 &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant ::domFloat3 reference of the _value array.
*/
const ::domFloat3 &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const ::domFloat3 &val ) { _value = val; }
protected:
/**
* Constructor
*/
domFloat3() : _value() {}
/**
* Destructor
*/
virtual ~domFloat3() {}
/**
* Copy Constructor
*/
domFloat3( const domFloat3 &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFloat3 &operator=( const domFloat3 &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;
};
class domFloat4;
typedef daeSmartRef<domFloat4> domFloat4Ref;
typedef daeTArray<domFloat4Ref> domFloat4_Array;
class domFloat4 : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; }
protected: // Value
/**
* The ::domFloat4 value of the text data of this element.
*/
::domFloat4 _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a ::domFloat4 reference of the _value array.
*/
::domFloat4 &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant ::domFloat4 reference of the _value array.
*/
const ::domFloat4 &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const ::domFloat4 &val ) { _value = val; }
protected:
/**
* Constructor
*/
domFloat4() : _value() {}
/**
* Destructor
*/
virtual ~domFloat4() {}
/**
* Copy Constructor
*/
domFloat4( const domFloat4 &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFloat4 &operator=( const domFloat4 &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: // Attribute
/**
* The sid attribute is a text string value containing the sub-identifier
* of this element. This value must be unique within the scope of the parent
* element. Optional attribute.
*/
xsNCName attrSid;
protected: // Elements
domSemanticRef elemSemantic;
domFloatRef elemFloat;
domFloat2Ref elemFloat2;
domFloat3Ref elemFloat3;
domFloat4Ref elemFloat4;
domFx_surface_commonRef elemSurface;
domFx_sampler2D_commonRef elemSampler2D;
/**
* 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 sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
/**
* Gets the semantic element.
* @return a daeSmartRef to the semantic element.
*/
const domSemanticRef getSemantic() const { return elemSemantic; }
/**
* Gets the float element.
* @return a daeSmartRef to the float element.
*/
const domFloatRef getFloat() const { return elemFloat; }
/**
* Gets the float2 element.
* @return a daeSmartRef to the float2 element.
*/
const domFloat2Ref getFloat2() const { return elemFloat2; }
/**
* Gets the float3 element.
* @return a daeSmartRef to the float3 element.
*/
const domFloat3Ref getFloat3() const { return elemFloat3; }
/**
* Gets the float4 element.
* @return a daeSmartRef to the float4 element.
*/
const domFloat4Ref getFloat4() const { return elemFloat4; }
/**
* Gets the surface element.
* @return a daeSmartRef to the surface element.
*/
const domFx_surface_commonRef getSurface() const { return elemSurface; }
/**
* Gets the sampler2D element.
* @return a daeSmartRef to the sampler2D element.
*/
const domFx_sampler2D_commonRef getSampler2D() const { return elemSampler2D; }
/**
* 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
*/
domCommon_newparam_type_complexType() : attrSid(), elemSemantic(), elemFloat(), elemFloat2(), elemFloat3(), elemFloat4(), elemSurface(), elemSampler2D() {}
/**
* Destructor
*/
virtual ~domCommon_newparam_type_complexType() {}
/**
* Copy Constructor
*/
domCommon_newparam_type_complexType( const domCommon_newparam_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCommon_newparam_type_complexType &operator=( const domCommon_newparam_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domCommon_newparam_type_complexType.
*/
class domCommon_newparam_type : public daeElement, public domCommon_newparam_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMON_NEWPARAM_TYPE; }
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domCommon_newparam_type() {}
/**
* Destructor
*/
virtual ~domCommon_newparam_type() {}
/**
* Copy Constructor
*/
domCommon_newparam_type( const domCommon_newparam_type &cpy ) : daeElement(), domCommon_newparam_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCommon_newparam_type &operator=( const domCommon_newparam_type &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

View File

@ -1,85 +0,0 @@
/*
* 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 __domCommon_transparent_type_h__
#define __domCommon_transparent_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domCommon_color_or_texture_type.h>
/**
* An element of type domCommon_transparent_type_complexType.
*/
class domCommon_transparent_type : public domCommon_color_or_texture_type
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMON_TRANSPARENT_TYPE; }
protected: // Attribute
domFx_opaque_enum attrOpaque;
public: //Accessors and Mutators
/**
* Gets the opaque attribute.
* @return Returns a domFx_opaque_enum of the opaque attribute.
*/
domFx_opaque_enum getOpaque() const { return attrOpaque; }
/**
* Sets the opaque attribute.
* @param atOpaque The new value for the opaque attribute.
*/
void setOpaque( domFx_opaque_enum atOpaque ) { attrOpaque = atOpaque;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domCommon_transparent_type() {}
/**
* Destructor
*/
virtual ~domCommon_transparent_type() {}
/**
* Copy Constructor
*/
domCommon_transparent_type( const domCommon_transparent_type &cpy ) : domCommon_color_or_texture_type() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCommon_transparent_type &operator=( const domCommon_transparent_type &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

File diff suppressed because it is too large Load Diff

View File

@ -1,175 +0,0 @@
/*
* 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 __domController_h__
#define __domController_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domAsset.h>
#include <dom/domSkin.h>
#include <dom/domMorph.h>
#include <dom/domExtra.h>
/**
* The controller element categorizes the declaration of generic control information.
* A controller is a device or mechanism that manages and directs the operations
* of another object.
*/
class domController : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CONTROLLER; }
protected: // Attributes
/**
* The id attribute is a text string containing the unique identifier of
* this element. This value must be unique within the instance document.
* Optional attribute.
*/
xsID attrId;
/**
* The name attribute is the text string name of this element. Optional attribute.
*/
xsNCName attrName;
protected: // Elements
/**
* The controller element may contain an asset element. @see domAsset
*/
domAssetRef elemAsset;
/**
* The controller element may contain either a skin element or a morph element.
* @see domSkin
*/
domSkinRef elemSkin;
/**
* The controller element may contain either a skin element or a morph element.
* @see domMorph
*/
domMorphRef elemMorph;
/**
* 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 id attribute.
* @return Returns a xsID of the id attribute.
*/
xsID getId() const { return attrId; }
/**
* Sets the id attribute.
* @param atId The new value for the id attribute.
*/
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
_validAttributeArray[0] = true; }
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[1] = true; }
/**
* Gets the asset element.
* @return a daeSmartRef to the asset element.
*/
const domAssetRef getAsset() const { return elemAsset; }
/**
* Gets the skin element.
* @return a daeSmartRef to the skin element.
*/
const domSkinRef getSkin() const { return elemSkin; }
/**
* Gets the morph element.
* @return a daeSmartRef to the morph element.
*/
const domMorphRef getMorph() const { return elemMorph; }
/**
* 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
*/
domController() : attrId(), attrName(), elemAsset(), elemSkin(), elemMorph(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domController() {}
/**
* Copy Constructor
*/
domController( const domController &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domController &operator=( const domController &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

View File

@ -1,236 +0,0 @@
/*
* 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 __domConvex_mesh_h__
#define __domConvex_mesh_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domSource.h>
#include <dom/domVertices.h>
#include <dom/domLines.h>
#include <dom/domLinestrips.h>
#include <dom/domPolygons.h>
#include <dom/domPolylist.h>
#include <dom/domTriangles.h>
#include <dom/domTrifans.h>
#include <dom/domTristrips.h>
#include <dom/domExtra.h>
/**
* The definition of the convex_mesh element is identical to the mesh element
* with the exception that instead of a complete description (source, vertices,
* polygons etc.), it may simply point to another geometry to derive its
* shape. The latter case means that the convex hull of that geometry should
* be computed and is indicated by the optional convex_hull_of attribute.
*/
class domConvex_mesh : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CONVEX_MESH; }
protected: // Attribute
/**
* The convex_hull_of attribute is a URI string of geometry to compute the
* convex hull of. Optional attribute.
*/
xsAnyURI attrConvex_hull_of;
protected: // Elements
domSource_Array elemSource_array;
domVerticesRef elemVertices;
domLines_Array elemLines_array;
domLinestrips_Array elemLinestrips_array;
domPolygons_Array elemPolygons_array;
domPolylist_Array elemPolylist_array;
domTriangles_Array elemTriangles_array;
domTrifans_Array elemTrifans_array;
domTristrips_Array elemTristrips_array;
/**
* 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 convex_hull_of attribute.
* @return Returns a xsAnyURI reference of the convex_hull_of attribute.
*/
xsAnyURI &getConvex_hull_of() { return attrConvex_hull_of; }
/**
* Gets the convex_hull_of attribute.
* @return Returns a constant xsAnyURI reference of the convex_hull_of attribute.
*/
const xsAnyURI &getConvex_hull_of() const { return attrConvex_hull_of; }
/**
* Sets the convex_hull_of attribute.
* @param atConvex_hull_of The new value for the convex_hull_of attribute.
*/
void setConvex_hull_of( const xsAnyURI &atConvex_hull_of ) { attrConvex_hull_of = atConvex_hull_of;
_validAttributeArray[0] = true; }
/**
* Gets the source element array.
* @return Returns a reference to the array of source elements.
*/
domSource_Array &getSource_array() { return elemSource_array; }
/**
* Gets the source element array.
* @return Returns a constant reference to the array of source elements.
*/
const domSource_Array &getSource_array() const { return elemSource_array; }
/**
* Gets the vertices element.
* @return a daeSmartRef to the vertices element.
*/
const domVerticesRef getVertices() const { return elemVertices; }
/**
* Gets the lines element array.
* @return Returns a reference to the array of lines elements.
*/
domLines_Array &getLines_array() { return elemLines_array; }
/**
* Gets the lines element array.
* @return Returns a constant reference to the array of lines elements.
*/
const domLines_Array &getLines_array() const { return elemLines_array; }
/**
* Gets the linestrips element array.
* @return Returns a reference to the array of linestrips elements.
*/
domLinestrips_Array &getLinestrips_array() { return elemLinestrips_array; }
/**
* Gets the linestrips element array.
* @return Returns a constant reference to the array of linestrips elements.
*/
const domLinestrips_Array &getLinestrips_array() const { return elemLinestrips_array; }
/**
* Gets the polygons element array.
* @return Returns a reference to the array of polygons elements.
*/
domPolygons_Array &getPolygons_array() { return elemPolygons_array; }
/**
* Gets the polygons element array.
* @return Returns a constant reference to the array of polygons elements.
*/
const domPolygons_Array &getPolygons_array() const { return elemPolygons_array; }
/**
* Gets the polylist element array.
* @return Returns a reference to the array of polylist elements.
*/
domPolylist_Array &getPolylist_array() { return elemPolylist_array; }
/**
* Gets the polylist element array.
* @return Returns a constant reference to the array of polylist elements.
*/
const domPolylist_Array &getPolylist_array() const { return elemPolylist_array; }
/**
* Gets the triangles element array.
* @return Returns a reference to the array of triangles elements.
*/
domTriangles_Array &getTriangles_array() { return elemTriangles_array; }
/**
* Gets the triangles element array.
* @return Returns a constant reference to the array of triangles elements.
*/
const domTriangles_Array &getTriangles_array() const { return elemTriangles_array; }
/**
* Gets the trifans element array.
* @return Returns a reference to the array of trifans elements.
*/
domTrifans_Array &getTrifans_array() { return elemTrifans_array; }
/**
* Gets the trifans element array.
* @return Returns a constant reference to the array of trifans elements.
*/
const domTrifans_Array &getTrifans_array() const { return elemTrifans_array; }
/**
* Gets the tristrips element array.
* @return Returns a reference to the array of tristrips elements.
*/
domTristrips_Array &getTristrips_array() { return elemTristrips_array; }
/**
* Gets the tristrips element array.
* @return Returns a constant reference to the array of tristrips elements.
*/
const domTristrips_Array &getTristrips_array() const { return elemTristrips_array; }
/**
* 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
*/
domConvex_mesh() : attrConvex_hull_of(), elemSource_array(), elemVertices(), elemLines_array(), elemLinestrips_array(), elemPolygons_array(), elemPolylist_array(), elemTriangles_array(), elemTrifans_array(), elemTristrips_array(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domConvex_mesh() {}
/**
* Copy Constructor
*/
domConvex_mesh( const domConvex_mesh &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domConvex_mesh &operator=( const domConvex_mesh &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

View File

@ -1,253 +0,0 @@
/*
* 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 __domCylinder_h__
#define __domCylinder_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* A cylinder primitive that is centered on, and aligned with. the local Y
* axis.
*/
class domCylinder : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CYLINDER; }
public:
class domHeight;
typedef daeSmartRef<domHeight> domHeightRef;
typedef daeTArray<domHeightRef> domHeight_Array;
/**
* A float value that represents the length of the cylinder along the Y axis.
*/
class domHeight : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HEIGHT; }
protected: // Value
/**
* The domFloat value of the text data of this element.
*/
domFloat _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFloat of the value.
*/
domFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domHeight() : _value() {}
/**
* Destructor
*/
virtual ~domHeight() {}
/**
* Copy Constructor
*/
domHeight( const domHeight &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domHeight &operator=( const domHeight &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;
};
class domRadius;
typedef daeSmartRef<domRadius> domRadiusRef;
typedef daeTArray<domRadiusRef> domRadius_Array;
/**
* float2 values that represent the radii of the cylinder.
*/
class domRadius : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS; }
protected: // Value
/**
* The domFloat2 value of the text data of this element.
*/
domFloat2 _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domFloat2 reference of the _value array.
*/
domFloat2 &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFloat2 reference of the _value array.
*/
const domFloat2 &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFloat2 &val ) { _value = val; }
protected:
/**
* Constructor
*/
domRadius() : _value() {}
/**
* Destructor
*/
virtual ~domRadius() {}
/**
* Copy Constructor
*/
domRadius( const domRadius &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domRadius &operator=( const domRadius &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: // Elements
/**
* A float value that represents the length of the cylinder along the Y axis.
* @see domHeight
*/
domHeightRef elemHeight;
/**
* float2 values that represent the radii of the cylinder. @see domRadius
*/
domRadiusRef elemRadius;
/**
* The extra element may appear any number of times. @see domExtra
*/
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the height element.
* @return a daeSmartRef to the height element.
*/
const domHeightRef getHeight() const { return elemHeight; }
/**
* Gets the radius element.
* @return a daeSmartRef to the radius element.
*/
const domRadiusRef getRadius() const { return elemRadius; }
/**
* 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
*/
domCylinder() : elemHeight(), elemRadius(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domCylinder() {}
/**
* Copy Constructor
*/
domCylinder( const domCylinder &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domCylinder &operator=( const domCylinder &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

View File

@ -1,215 +0,0 @@
/*
* 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 __domEffect_h__
#define __domEffect_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domAsset.h>
#include <dom/domImage.h>
#include <dom/domFx_profile_abstract.h>
#include <dom/domExtra.h>
#include <dom/domFx_annotate_common.h>
#include <dom/domFx_newparam_common.h>
/**
* A self contained description of a shader effect.
*/
class domEffect : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::EFFECT; }
protected: // Attributes
/**
* The id attribute is a text string containing the unique identifier of
* this element. This value must be unique within the instance document.
* Optional attribute.
*/
xsID attrId;
/**
* The name attribute is the text string name of this element. Optional attribute.
*/
xsNCName attrName;
protected: // Elements
/**
* The effect element may contain an asset element. @see domAsset
*/
domAssetRef elemAsset;
/**
* The annotate element allows you to specify an annotation on this effect.
* @see domAnnotate
*/
domFx_annotate_common_Array elemAnnotate_array;
/**
* The image element allows you to create image resources which can be shared
* by multipe profiles. @see domImage
*/
domImage_Array elemImage_array;
/**
* The newparam element allows you to create new effect parameters which can
* be shared by multipe profiles. @see domNewparam
*/
domFx_newparam_common_Array elemNewparam_array;
/**
* This is the substituion group hook which allows you to swap in other COLLADA
* FX profiles. @see domFx_profile_abstract
*/
domFx_profile_abstract_Array elemFx_profile_abstract_array;
/**
* 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 id attribute.
* @return Returns a xsID of the id attribute.
*/
xsID getId() const { return attrId; }
/**
* Sets the id attribute.
* @param atId The new value for the id attribute.
*/
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
_validAttributeArray[0] = true; }
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[1] = true; }
/**
* Gets the asset element.
* @return a daeSmartRef to the asset element.
*/
const domAssetRef getAsset() const { return elemAsset; }
/**
* Gets the annotate element array.
* @return Returns a reference to the array of annotate elements.
*/
domFx_annotate_common_Array &getAnnotate_array() { return elemAnnotate_array; }
/**
* Gets the annotate element array.
* @return Returns a constant reference to the array of annotate elements.
*/
const domFx_annotate_common_Array &getAnnotate_array() const { return elemAnnotate_array; }
/**
* Gets the image element array.
* @return Returns a reference to the array of image elements.
*/
domImage_Array &getImage_array() { return elemImage_array; }
/**
* Gets the image element array.
* @return Returns a constant reference to the array of image elements.
*/
const domImage_Array &getImage_array() const { return elemImage_array; }
/**
* Gets the newparam element array.
* @return Returns a reference to the array of newparam elements.
*/
domFx_newparam_common_Array &getNewparam_array() { return elemNewparam_array; }
/**
* Gets the newparam element array.
* @return Returns a constant reference to the array of newparam elements.
*/
const domFx_newparam_common_Array &getNewparam_array() const { return elemNewparam_array; }
/**
* Gets the fx_profile_abstract element array.
* @return Returns a reference to the array of fx_profile_abstract elements.
*/
domFx_profile_abstract_Array &getFx_profile_abstract_array() { return elemFx_profile_abstract_array; }
/**
* Gets the fx_profile_abstract element array.
* @return Returns a constant reference to the array of fx_profile_abstract elements.
*/
const domFx_profile_abstract_Array &getFx_profile_abstract_array() const { return elemFx_profile_abstract_array; }
/**
* 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
*/
domEffect() : attrId(), attrName(), elemAsset(), elemAnnotate_array(), elemImage_array(), elemNewparam_array(), elemFx_profile_abstract_array(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domEffect() {}
/**
* Copy Constructor
*/
domEffect( const domEffect &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domEffect &operator=( const domEffect &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

View File

@ -1,871 +0,0 @@
/*
* 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 __DOM_ELEMENTS_H__
#define __DOM_ELEMENTS_H__
#include <dom/domTypes.h>
class domInputGlobal;
typedef daeSmartRef<domInputGlobal> domInputGlobalRef;
typedef daeTArray<domInputGlobalRef> domInputGlobal_Array;
class domInputLocal;
typedef daeSmartRef<domInputLocal> domInputLocalRef;
typedef daeTArray<domInputLocalRef> domInputLocal_Array;
class domInputLocalOffset;
typedef daeSmartRef<domInputLocalOffset> domInputLocalOffsetRef;
typedef daeTArray<domInputLocalOffsetRef> domInputLocalOffset_Array;
class domInstanceWithExtra;
typedef daeSmartRef<domInstanceWithExtra> domInstanceWithExtraRef;
typedef daeTArray<domInstanceWithExtraRef> domInstanceWithExtra_Array;
class domTargetableFloat;
typedef daeSmartRef<domTargetableFloat> domTargetableFloatRef;
typedef daeTArray<domTargetableFloatRef> domTargetableFloat_Array;
class domTargetableFloat3;
typedef daeSmartRef<domTargetableFloat3> domTargetableFloat3Ref;
typedef daeTArray<domTargetableFloat3Ref> domTargetableFloat3_Array;
class domFx_surface_format_hint_common;
typedef daeSmartRef<domFx_surface_format_hint_common> domFx_surface_format_hint_commonRef;
typedef daeTArray<domFx_surface_format_hint_commonRef> domFx_surface_format_hint_common_Array;
class domFx_surface_init_planar_common;
typedef daeSmartRef<domFx_surface_init_planar_common> domFx_surface_init_planar_commonRef;
typedef daeTArray<domFx_surface_init_planar_commonRef> domFx_surface_init_planar_common_Array;
class domFx_surface_init_volume_common;
typedef daeSmartRef<domFx_surface_init_volume_common> domFx_surface_init_volume_commonRef;
typedef daeTArray<domFx_surface_init_volume_commonRef> domFx_surface_init_volume_common_Array;
class domFx_surface_init_cube_common;
typedef daeSmartRef<domFx_surface_init_cube_common> domFx_surface_init_cube_commonRef;
typedef daeTArray<domFx_surface_init_cube_commonRef> domFx_surface_init_cube_common_Array;
class domFx_surface_init_from_common;
typedef daeSmartRef<domFx_surface_init_from_common> domFx_surface_init_from_commonRef;
typedef daeTArray<domFx_surface_init_from_commonRef> domFx_surface_init_from_common_Array;
class domFx_surface_common;
typedef daeSmartRef<domFx_surface_common> domFx_surface_commonRef;
typedef daeTArray<domFx_surface_commonRef> domFx_surface_common_Array;
class domFx_sampler1D_common;
typedef daeSmartRef<domFx_sampler1D_common> domFx_sampler1D_commonRef;
typedef daeTArray<domFx_sampler1D_commonRef> domFx_sampler1D_common_Array;
class domFx_sampler2D_common;
typedef daeSmartRef<domFx_sampler2D_common> domFx_sampler2D_commonRef;
typedef daeTArray<domFx_sampler2D_commonRef> domFx_sampler2D_common_Array;
class domFx_sampler3D_common;
typedef daeSmartRef<domFx_sampler3D_common> domFx_sampler3D_commonRef;
typedef daeTArray<domFx_sampler3D_commonRef> domFx_sampler3D_common_Array;
class domFx_samplerCUBE_common;
typedef daeSmartRef<domFx_samplerCUBE_common> domFx_samplerCUBE_commonRef;
typedef daeTArray<domFx_samplerCUBE_commonRef> domFx_samplerCUBE_common_Array;
class domFx_samplerRECT_common;
typedef daeSmartRef<domFx_samplerRECT_common> domFx_samplerRECT_commonRef;
typedef daeTArray<domFx_samplerRECT_commonRef> domFx_samplerRECT_common_Array;
class domFx_samplerDEPTH_common;
typedef daeSmartRef<domFx_samplerDEPTH_common> domFx_samplerDEPTH_commonRef;
typedef daeTArray<domFx_samplerDEPTH_commonRef> domFx_samplerDEPTH_common_Array;
class domFx_colortarget_common;
typedef daeSmartRef<domFx_colortarget_common> domFx_colortarget_commonRef;
typedef daeTArray<domFx_colortarget_commonRef> domFx_colortarget_common_Array;
class domFx_depthtarget_common;
typedef daeSmartRef<domFx_depthtarget_common> domFx_depthtarget_commonRef;
typedef daeTArray<domFx_depthtarget_commonRef> domFx_depthtarget_common_Array;
class domFx_stenciltarget_common;
typedef daeSmartRef<domFx_stenciltarget_common> domFx_stenciltarget_commonRef;
typedef daeTArray<domFx_stenciltarget_commonRef> domFx_stenciltarget_common_Array;
class domFx_clearcolor_common;
typedef daeSmartRef<domFx_clearcolor_common> domFx_clearcolor_commonRef;
typedef daeTArray<domFx_clearcolor_commonRef> domFx_clearcolor_common_Array;
class domFx_cleardepth_common;
typedef daeSmartRef<domFx_cleardepth_common> domFx_cleardepth_commonRef;
typedef daeTArray<domFx_cleardepth_commonRef> domFx_cleardepth_common_Array;
class domFx_clearstencil_common;
typedef daeSmartRef<domFx_clearstencil_common> domFx_clearstencil_commonRef;
typedef daeTArray<domFx_clearstencil_commonRef> domFx_clearstencil_common_Array;
class domFx_annotate_common;
typedef daeSmartRef<domFx_annotate_common> domFx_annotate_commonRef;
typedef daeTArray<domFx_annotate_commonRef> domFx_annotate_common_Array;
class domFx_include_common;
typedef daeSmartRef<domFx_include_common> domFx_include_commonRef;
typedef daeTArray<domFx_include_commonRef> domFx_include_common_Array;
class domFx_newparam_common;
typedef daeSmartRef<domFx_newparam_common> domFx_newparam_commonRef;
typedef daeTArray<domFx_newparam_commonRef> domFx_newparam_common_Array;
class domFx_code_profile;
typedef daeSmartRef<domFx_code_profile> domFx_code_profileRef;
typedef daeTArray<domFx_code_profileRef> domFx_code_profile_Array;
class domGl_sampler1D;
typedef daeSmartRef<domGl_sampler1D> domGl_sampler1DRef;
typedef daeTArray<domGl_sampler1DRef> domGl_sampler1D_Array;
class domGl_sampler2D;
typedef daeSmartRef<domGl_sampler2D> domGl_sampler2DRef;
typedef daeTArray<domGl_sampler2DRef> domGl_sampler2D_Array;
class domGl_sampler3D;
typedef daeSmartRef<domGl_sampler3D> domGl_sampler3DRef;
typedef daeTArray<domGl_sampler3DRef> domGl_sampler3D_Array;
class domGl_samplerCUBE;
typedef daeSmartRef<domGl_samplerCUBE> domGl_samplerCUBERef;
typedef daeTArray<domGl_samplerCUBERef> domGl_samplerCUBE_Array;
class domGl_samplerRECT;
typedef daeSmartRef<domGl_samplerRECT> domGl_samplerRECTRef;
typedef daeTArray<domGl_samplerRECTRef> domGl_samplerRECT_Array;
class domGl_samplerDEPTH;
typedef daeSmartRef<domGl_samplerDEPTH> domGl_samplerDEPTHRef;
typedef daeTArray<domGl_samplerDEPTHRef> domGl_samplerDEPTH_Array;
class domGlsl_newarray_type;
typedef daeSmartRef<domGlsl_newarray_type> domGlsl_newarray_typeRef;
typedef daeTArray<domGlsl_newarray_typeRef> domGlsl_newarray_type_Array;
class domGlsl_setarray_type;
typedef daeSmartRef<domGlsl_setarray_type> domGlsl_setarray_typeRef;
typedef daeTArray<domGlsl_setarray_typeRef> domGlsl_setarray_type_Array;
class domGlsl_surface_type;
typedef daeSmartRef<domGlsl_surface_type> domGlsl_surface_typeRef;
typedef daeTArray<domGlsl_surface_typeRef> domGlsl_surface_type_Array;
class domGlsl_newparam;
typedef daeSmartRef<domGlsl_newparam> domGlsl_newparamRef;
typedef daeTArray<domGlsl_newparamRef> domGlsl_newparam_Array;
class domGlsl_setparam_simple;
typedef daeSmartRef<domGlsl_setparam_simple> domGlsl_setparam_simpleRef;
typedef daeTArray<domGlsl_setparam_simpleRef> domGlsl_setparam_simple_Array;
class domGlsl_setparam;
typedef daeSmartRef<domGlsl_setparam> domGlsl_setparamRef;
typedef daeTArray<domGlsl_setparamRef> domGlsl_setparam_Array;
class domCommon_float_or_param_type;
typedef daeSmartRef<domCommon_float_or_param_type> domCommon_float_or_param_typeRef;
typedef daeTArray<domCommon_float_or_param_typeRef> domCommon_float_or_param_type_Array;
class domCommon_color_or_texture_type;
typedef daeSmartRef<domCommon_color_or_texture_type> domCommon_color_or_texture_typeRef;
typedef daeTArray<domCommon_color_or_texture_typeRef> domCommon_color_or_texture_type_Array;
class domCommon_transparent_type;
typedef daeSmartRef<domCommon_transparent_type> domCommon_transparent_typeRef;
typedef daeTArray<domCommon_transparent_typeRef> domCommon_transparent_type_Array;
class domCommon_newparam_type;
typedef daeSmartRef<domCommon_newparam_type> domCommon_newparam_typeRef;
typedef daeTArray<domCommon_newparam_typeRef> domCommon_newparam_type_Array;
class domCg_sampler1D;
typedef daeSmartRef<domCg_sampler1D> domCg_sampler1DRef;
typedef daeTArray<domCg_sampler1DRef> domCg_sampler1D_Array;
class domCg_sampler2D;
typedef daeSmartRef<domCg_sampler2D> domCg_sampler2DRef;
typedef daeTArray<domCg_sampler2DRef> domCg_sampler2D_Array;
class domCg_sampler3D;
typedef daeSmartRef<domCg_sampler3D> domCg_sampler3DRef;
typedef daeTArray<domCg_sampler3DRef> domCg_sampler3D_Array;
class domCg_samplerCUBE;
typedef daeSmartRef<domCg_samplerCUBE> domCg_samplerCUBERef;
typedef daeTArray<domCg_samplerCUBERef> domCg_samplerCUBE_Array;
class domCg_samplerRECT;
typedef daeSmartRef<domCg_samplerRECT> domCg_samplerRECTRef;
typedef daeTArray<domCg_samplerRECTRef> domCg_samplerRECT_Array;
class domCg_samplerDEPTH;
typedef daeSmartRef<domCg_samplerDEPTH> domCg_samplerDEPTHRef;
typedef daeTArray<domCg_samplerDEPTHRef> domCg_samplerDEPTH_Array;
class domCg_connect_param;
typedef daeSmartRef<domCg_connect_param> domCg_connect_paramRef;
typedef daeTArray<domCg_connect_paramRef> domCg_connect_param_Array;
class domCg_newarray_type;
typedef daeSmartRef<domCg_newarray_type> domCg_newarray_typeRef;
typedef daeTArray<domCg_newarray_typeRef> domCg_newarray_type_Array;
class domCg_setarray_type;
typedef daeSmartRef<domCg_setarray_type> domCg_setarray_typeRef;
typedef daeTArray<domCg_setarray_typeRef> domCg_setarray_type_Array;
class domCg_setuser_type;
typedef daeSmartRef<domCg_setuser_type> domCg_setuser_typeRef;
typedef daeTArray<domCg_setuser_typeRef> domCg_setuser_type_Array;
class domCg_surface_type;
typedef daeSmartRef<domCg_surface_type> domCg_surface_typeRef;
typedef daeTArray<domCg_surface_typeRef> domCg_surface_type_Array;
class domCg_newparam;
typedef daeSmartRef<domCg_newparam> domCg_newparamRef;
typedef daeTArray<domCg_newparamRef> domCg_newparam_Array;
class domCg_setparam_simple;
typedef daeSmartRef<domCg_setparam_simple> domCg_setparam_simpleRef;
typedef daeTArray<domCg_setparam_simpleRef> domCg_setparam_simple_Array;
class domCg_setparam;
typedef daeSmartRef<domCg_setparam> domCg_setparamRef;
typedef daeTArray<domCg_setparamRef> domCg_setparam_Array;
class domGles_texture_constant_type;
typedef daeSmartRef<domGles_texture_constant_type> domGles_texture_constant_typeRef;
typedef daeTArray<domGles_texture_constant_typeRef> domGles_texture_constant_type_Array;
class domGles_texenv_command_type;
typedef daeSmartRef<domGles_texenv_command_type> domGles_texenv_command_typeRef;
typedef daeTArray<domGles_texenv_command_typeRef> domGles_texenv_command_type_Array;
class domGles_texcombiner_argumentRGB_type;
typedef daeSmartRef<domGles_texcombiner_argumentRGB_type> domGles_texcombiner_argumentRGB_typeRef;
typedef daeTArray<domGles_texcombiner_argumentRGB_typeRef> domGles_texcombiner_argumentRGB_type_Array;
class domGles_texcombiner_argumentAlpha_type;
typedef daeSmartRef<domGles_texcombiner_argumentAlpha_type> domGles_texcombiner_argumentAlpha_typeRef;
typedef daeTArray<domGles_texcombiner_argumentAlpha_typeRef> domGles_texcombiner_argumentAlpha_type_Array;
class domGles_texcombiner_commandRGB_type;
typedef daeSmartRef<domGles_texcombiner_commandRGB_type> domGles_texcombiner_commandRGB_typeRef;
typedef daeTArray<domGles_texcombiner_commandRGB_typeRef> domGles_texcombiner_commandRGB_type_Array;
class domGles_texcombiner_commandAlpha_type;
typedef daeSmartRef<domGles_texcombiner_commandAlpha_type> domGles_texcombiner_commandAlpha_typeRef;
typedef daeTArray<domGles_texcombiner_commandAlpha_typeRef> domGles_texcombiner_commandAlpha_type_Array;
class domGles_texcombiner_command_type;
typedef daeSmartRef<domGles_texcombiner_command_type> domGles_texcombiner_command_typeRef;
typedef daeTArray<domGles_texcombiner_command_typeRef> domGles_texcombiner_command_type_Array;
class domGles_texture_pipeline;
typedef daeSmartRef<domGles_texture_pipeline> domGles_texture_pipelineRef;
typedef daeTArray<domGles_texture_pipelineRef> domGles_texture_pipeline_Array;
class domGles_texture_unit;
typedef daeSmartRef<domGles_texture_unit> domGles_texture_unitRef;
typedef daeTArray<domGles_texture_unitRef> domGles_texture_unit_Array;
class domGles_sampler_state;
typedef daeSmartRef<domGles_sampler_state> domGles_sampler_stateRef;
typedef daeTArray<domGles_sampler_stateRef> domGles_sampler_state_Array;
class domGles_newparam;
typedef daeSmartRef<domGles_newparam> domGles_newparamRef;
typedef daeTArray<domGles_newparamRef> domGles_newparam_Array;
class domFx_surface_init_common;
typedef daeSmartRef<domFx_surface_init_common> domFx_surface_init_commonRef;
typedef daeTArray<domFx_surface_init_commonRef> domFx_surface_init_common_Array;
class domFx_annotate_type_common;
typedef daeSmartRef<domFx_annotate_type_common> domFx_annotate_type_commonRef;
typedef daeTArray<domFx_annotate_type_commonRef> domFx_annotate_type_common_Array;
class domFx_basic_type_common;
typedef daeSmartRef<domFx_basic_type_common> domFx_basic_type_commonRef;
typedef daeTArray<domFx_basic_type_commonRef> domFx_basic_type_common_Array;
class domGl_pipeline_settings;
typedef daeSmartRef<domGl_pipeline_settings> domGl_pipeline_settingsRef;
typedef daeTArray<domGl_pipeline_settingsRef> domGl_pipeline_settings_Array;
class domGlsl_param_type;
typedef daeSmartRef<domGlsl_param_type> domGlsl_param_typeRef;
typedef daeTArray<domGlsl_param_typeRef> domGlsl_param_type_Array;
class domCg_param_type;
typedef daeSmartRef<domCg_param_type> domCg_param_typeRef;
typedef daeTArray<domCg_param_typeRef> domCg_param_type_Array;
class domGles_pipeline_settings;
typedef daeSmartRef<domGles_pipeline_settings> domGles_pipeline_settingsRef;
typedef daeTArray<domGles_pipeline_settingsRef> domGles_pipeline_settings_Array;
class domGles_basic_type_common;
typedef daeSmartRef<domGles_basic_type_common> domGles_basic_type_commonRef;
typedef daeTArray<domGles_basic_type_commonRef> domGles_basic_type_common_Array;
class domCOLLADA;
typedef daeSmartRef<domCOLLADA> domCOLLADARef;
typedef daeTArray<domCOLLADARef> domCOLLADA_Array;
class domIDREF_array;
typedef daeSmartRef<domIDREF_array> domIDREF_arrayRef;
typedef daeTArray<domIDREF_arrayRef> domIDREF_array_Array;
class domName_array;
typedef daeSmartRef<domName_array> domName_arrayRef;
typedef daeTArray<domName_arrayRef> domName_array_Array;
class domBool_array;
typedef daeSmartRef<domBool_array> domBool_arrayRef;
typedef daeTArray<domBool_arrayRef> domBool_array_Array;
class domFloat_array;
typedef daeSmartRef<domFloat_array> domFloat_arrayRef;
typedef daeTArray<domFloat_arrayRef> domFloat_array_Array;
class domInt_array;
typedef daeSmartRef<domInt_array> domInt_arrayRef;
typedef daeTArray<domInt_arrayRef> domInt_array_Array;
class domAccessor;
typedef daeSmartRef<domAccessor> domAccessorRef;
typedef daeTArray<domAccessorRef> domAccessor_Array;
class domParam;
typedef daeSmartRef<domParam> domParamRef;
typedef daeTArray<domParamRef> domParam_Array;
class domSource;
typedef daeSmartRef<domSource> domSourceRef;
typedef daeTArray<domSourceRef> domSource_Array;
class domGeometry;
typedef daeSmartRef<domGeometry> domGeometryRef;
typedef daeTArray<domGeometryRef> domGeometry_Array;
class domMesh;
typedef daeSmartRef<domMesh> domMeshRef;
typedef daeTArray<domMeshRef> domMesh_Array;
class domSpline;
typedef daeSmartRef<domSpline> domSplineRef;
typedef daeTArray<domSplineRef> domSpline_Array;
class domP;
typedef daeSmartRef<domP> domPRef;
typedef daeTArray<domPRef> domP_Array;
class domLines;
typedef daeSmartRef<domLines> domLinesRef;
typedef daeTArray<domLinesRef> domLines_Array;
class domLinestrips;
typedef daeSmartRef<domLinestrips> domLinestripsRef;
typedef daeTArray<domLinestripsRef> domLinestrips_Array;
class domPolygons;
typedef daeSmartRef<domPolygons> domPolygonsRef;
typedef daeTArray<domPolygonsRef> domPolygons_Array;
class domPolylist;
typedef daeSmartRef<domPolylist> domPolylistRef;
typedef daeTArray<domPolylistRef> domPolylist_Array;
class domTriangles;
typedef daeSmartRef<domTriangles> domTrianglesRef;
typedef daeTArray<domTrianglesRef> domTriangles_Array;
class domTrifans;
typedef daeSmartRef<domTrifans> domTrifansRef;
typedef daeTArray<domTrifansRef> domTrifans_Array;
class domTristrips;
typedef daeSmartRef<domTristrips> domTristripsRef;
typedef daeTArray<domTristripsRef> domTristrips_Array;
class domVertices;
typedef daeSmartRef<domVertices> domVerticesRef;
typedef daeTArray<domVerticesRef> domVertices_Array;
class domLookat;
typedef daeSmartRef<domLookat> domLookatRef;
typedef daeTArray<domLookatRef> domLookat_Array;
class domMatrix;
typedef daeSmartRef<domMatrix> domMatrixRef;
typedef daeTArray<domMatrixRef> domMatrix_Array;
class domRotate;
typedef daeSmartRef<domRotate> domRotateRef;
typedef daeTArray<domRotateRef> domRotate_Array;
class domScale;
typedef daeSmartRef<domScale> domScaleRef;
typedef daeTArray<domScaleRef> domScale_Array;
class domSkew;
typedef daeSmartRef<domSkew> domSkewRef;
typedef daeTArray<domSkewRef> domSkew_Array;
class domTranslate;
typedef daeSmartRef<domTranslate> domTranslateRef;
typedef daeTArray<domTranslateRef> domTranslate_Array;
class domImage;
typedef daeSmartRef<domImage> domImageRef;
typedef daeTArray<domImageRef> domImage_Array;
class domLight;
typedef daeSmartRef<domLight> domLightRef;
typedef daeTArray<domLightRef> domLight_Array;
class domMaterial;
typedef daeSmartRef<domMaterial> domMaterialRef;
typedef daeTArray<domMaterialRef> domMaterial_Array;
class domCamera;
typedef daeSmartRef<domCamera> domCameraRef;
typedef daeTArray<domCameraRef> domCamera_Array;
class domAnimation;
typedef daeSmartRef<domAnimation> domAnimationRef;
typedef daeTArray<domAnimationRef> domAnimation_Array;
class domAnimation_clip;
typedef daeSmartRef<domAnimation_clip> domAnimation_clipRef;
typedef daeTArray<domAnimation_clipRef> domAnimation_clip_Array;
class domChannel;
typedef daeSmartRef<domChannel> domChannelRef;
typedef daeTArray<domChannelRef> domChannel_Array;
class domSampler;
typedef daeSmartRef<domSampler> domSamplerRef;
typedef daeTArray<domSamplerRef> domSampler_Array;
class domController;
typedef daeSmartRef<domController> domControllerRef;
typedef daeTArray<domControllerRef> domController_Array;
class domSkin;
typedef daeSmartRef<domSkin> domSkinRef;
typedef daeTArray<domSkinRef> domSkin_Array;
class domMorph;
typedef daeSmartRef<domMorph> domMorphRef;
typedef daeTArray<domMorphRef> domMorph_Array;
class domAsset;
typedef daeSmartRef<domAsset> domAssetRef;
typedef daeTArray<domAssetRef> domAsset_Array;
class domExtra;
typedef daeSmartRef<domExtra> domExtraRef;
typedef daeTArray<domExtraRef> domExtra_Array;
class domTechnique;
typedef daeSmartRef<domTechnique> domTechniqueRef;
typedef daeTArray<domTechniqueRef> domTechnique_Array;
class domNode;
typedef daeSmartRef<domNode> domNodeRef;
typedef daeTArray<domNodeRef> domNode_Array;
class domVisual_scene;
typedef daeSmartRef<domVisual_scene> domVisual_sceneRef;
typedef daeTArray<domVisual_sceneRef> domVisual_scene_Array;
class domBind_material;
typedef daeSmartRef<domBind_material> domBind_materialRef;
typedef daeTArray<domBind_materialRef> domBind_material_Array;
class domInstance_camera;
typedef daeSmartRef<domInstance_camera> domInstance_cameraRef;
typedef daeTArray<domInstance_cameraRef> domInstance_camera_Array;
class domInstance_controller;
typedef daeSmartRef<domInstance_controller> domInstance_controllerRef;
typedef daeTArray<domInstance_controllerRef> domInstance_controller_Array;
class domInstance_effect;
typedef daeSmartRef<domInstance_effect> domInstance_effectRef;
typedef daeTArray<domInstance_effectRef> domInstance_effect_Array;
class domInstance_force_field;
typedef daeSmartRef<domInstance_force_field> domInstance_force_fieldRef;
typedef daeTArray<domInstance_force_fieldRef> domInstance_force_field_Array;
class domInstance_geometry;
typedef daeSmartRef<domInstance_geometry> domInstance_geometryRef;
typedef daeTArray<domInstance_geometryRef> domInstance_geometry_Array;
class domInstance_light;
typedef daeSmartRef<domInstance_light> domInstance_lightRef;
typedef daeTArray<domInstance_lightRef> domInstance_light_Array;
class domInstance_material;
typedef daeSmartRef<domInstance_material> domInstance_materialRef;
typedef daeTArray<domInstance_materialRef> domInstance_material_Array;
class domInstance_node;
typedef daeSmartRef<domInstance_node> domInstance_nodeRef;
typedef daeTArray<domInstance_nodeRef> domInstance_node_Array;
class domInstance_physics_material;
typedef daeSmartRef<domInstance_physics_material> domInstance_physics_materialRef;
typedef daeTArray<domInstance_physics_materialRef> domInstance_physics_material_Array;
class domInstance_physics_model;
typedef daeSmartRef<domInstance_physics_model> domInstance_physics_modelRef;
typedef daeTArray<domInstance_physics_modelRef> domInstance_physics_model_Array;
class domInstance_rigid_body;
typedef daeSmartRef<domInstance_rigid_body> domInstance_rigid_bodyRef;
typedef daeTArray<domInstance_rigid_bodyRef> domInstance_rigid_body_Array;
class domInstance_rigid_constraint;
typedef daeSmartRef<domInstance_rigid_constraint> domInstance_rigid_constraintRef;
typedef daeTArray<domInstance_rigid_constraintRef> domInstance_rigid_constraint_Array;
class domLibrary_animations;
typedef daeSmartRef<domLibrary_animations> domLibrary_animationsRef;
typedef daeTArray<domLibrary_animationsRef> domLibrary_animations_Array;
class domLibrary_animation_clips;
typedef daeSmartRef<domLibrary_animation_clips> domLibrary_animation_clipsRef;
typedef daeTArray<domLibrary_animation_clipsRef> domLibrary_animation_clips_Array;
class domLibrary_cameras;
typedef daeSmartRef<domLibrary_cameras> domLibrary_camerasRef;
typedef daeTArray<domLibrary_camerasRef> domLibrary_cameras_Array;
class domLibrary_controllers;
typedef daeSmartRef<domLibrary_controllers> domLibrary_controllersRef;
typedef daeTArray<domLibrary_controllersRef> domLibrary_controllers_Array;
class domLibrary_geometries;
typedef daeSmartRef<domLibrary_geometries> domLibrary_geometriesRef;
typedef daeTArray<domLibrary_geometriesRef> domLibrary_geometries_Array;
class domLibrary_effects;
typedef daeSmartRef<domLibrary_effects> domLibrary_effectsRef;
typedef daeTArray<domLibrary_effectsRef> domLibrary_effects_Array;
class domLibrary_force_fields;
typedef daeSmartRef<domLibrary_force_fields> domLibrary_force_fieldsRef;
typedef daeTArray<domLibrary_force_fieldsRef> domLibrary_force_fields_Array;
class domLibrary_images;
typedef daeSmartRef<domLibrary_images> domLibrary_imagesRef;
typedef daeTArray<domLibrary_imagesRef> domLibrary_images_Array;
class domLibrary_lights;
typedef daeSmartRef<domLibrary_lights> domLibrary_lightsRef;
typedef daeTArray<domLibrary_lightsRef> domLibrary_lights_Array;
class domLibrary_materials;
typedef daeSmartRef<domLibrary_materials> domLibrary_materialsRef;
typedef daeTArray<domLibrary_materialsRef> domLibrary_materials_Array;
class domLibrary_nodes;
typedef daeSmartRef<domLibrary_nodes> domLibrary_nodesRef;
typedef daeTArray<domLibrary_nodesRef> domLibrary_nodes_Array;
class domLibrary_physics_materials;
typedef daeSmartRef<domLibrary_physics_materials> domLibrary_physics_materialsRef;
typedef daeTArray<domLibrary_physics_materialsRef> domLibrary_physics_materials_Array;
class domLibrary_physics_models;
typedef daeSmartRef<domLibrary_physics_models> domLibrary_physics_modelsRef;
typedef daeTArray<domLibrary_physics_modelsRef> domLibrary_physics_models_Array;
class domLibrary_physics_scenes;
typedef daeSmartRef<domLibrary_physics_scenes> domLibrary_physics_scenesRef;
typedef daeTArray<domLibrary_physics_scenesRef> domLibrary_physics_scenes_Array;
class domLibrary_visual_scenes;
typedef daeSmartRef<domLibrary_visual_scenes> domLibrary_visual_scenesRef;
typedef daeTArray<domLibrary_visual_scenesRef> domLibrary_visual_scenes_Array;
class domFx_profile_abstract;
typedef daeSmartRef<domFx_profile_abstract> domFx_profile_abstractRef;
typedef daeTArray<domFx_profile_abstractRef> domFx_profile_abstract_Array;
class domEffect;
typedef daeSmartRef<domEffect> domEffectRef;
typedef daeTArray<domEffectRef> domEffect_Array;
class domGl_hook_abstract;
typedef daeSmartRef<domGl_hook_abstract> domGl_hook_abstractRef;
typedef daeTArray<domGl_hook_abstractRef> domGl_hook_abstract_Array;
class domProfile_GLSL;
typedef daeSmartRef<domProfile_GLSL> domProfile_GLSLRef;
typedef daeTArray<domProfile_GLSLRef> domProfile_GLSL_Array;
class domProfile_COMMON;
typedef daeSmartRef<domProfile_COMMON> domProfile_COMMONRef;
typedef daeTArray<domProfile_COMMONRef> domProfile_COMMON_Array;
class domProfile_CG;
typedef daeSmartRef<domProfile_CG> domProfile_CGRef;
typedef daeTArray<domProfile_CGRef> domProfile_CG_Array;
class domProfile_GLES;
typedef daeSmartRef<domProfile_GLES> domProfile_GLESRef;
typedef daeTArray<domProfile_GLESRef> domProfile_GLES_Array;
class domBox;
typedef daeSmartRef<domBox> domBoxRef;
typedef daeTArray<domBoxRef> domBox_Array;
class domPlane;
typedef daeSmartRef<domPlane> domPlaneRef;
typedef daeTArray<domPlaneRef> domPlane_Array;
class domSphere;
typedef daeSmartRef<domSphere> domSphereRef;
typedef daeTArray<domSphereRef> domSphere_Array;
class domEllipsoid;
typedef daeSmartRef<domEllipsoid> domEllipsoidRef;
typedef daeTArray<domEllipsoidRef> domEllipsoid_Array;
class domCylinder;
typedef daeSmartRef<domCylinder> domCylinderRef;
typedef daeTArray<domCylinderRef> domCylinder_Array;
class domTapered_cylinder;
typedef daeSmartRef<domTapered_cylinder> domTapered_cylinderRef;
typedef daeTArray<domTapered_cylinderRef> domTapered_cylinder_Array;
class domCapsule;
typedef daeSmartRef<domCapsule> domCapsuleRef;
typedef daeTArray<domCapsuleRef> domCapsule_Array;
class domTapered_capsule;
typedef daeSmartRef<domTapered_capsule> domTapered_capsuleRef;
typedef daeTArray<domTapered_capsuleRef> domTapered_capsule_Array;
class domConvex_mesh;
typedef daeSmartRef<domConvex_mesh> domConvex_meshRef;
typedef daeTArray<domConvex_meshRef> domConvex_mesh_Array;
class domForce_field;
typedef daeSmartRef<domForce_field> domForce_fieldRef;
typedef daeTArray<domForce_fieldRef> domForce_field_Array;
class domPhysics_material;
typedef daeSmartRef<domPhysics_material> domPhysics_materialRef;
typedef daeTArray<domPhysics_materialRef> domPhysics_material_Array;
class domPhysics_scene;
typedef daeSmartRef<domPhysics_scene> domPhysics_sceneRef;
typedef daeTArray<domPhysics_sceneRef> domPhysics_scene_Array;
class domRigid_body;
typedef daeSmartRef<domRigid_body> domRigid_bodyRef;
typedef daeTArray<domRigid_bodyRef> domRigid_body_Array;
class domRigid_constraint;
typedef daeSmartRef<domRigid_constraint> domRigid_constraintRef;
typedef daeTArray<domRigid_constraintRef> domRigid_constraint_Array;
class domPhysics_model;
typedef daeSmartRef<domPhysics_model> domPhysics_modelRef;
typedef daeTArray<domPhysics_modelRef> domPhysics_model_Array;
#endif //__DOM_ELEMENTS_H__

View File

@ -1,148 +0,0 @@
/*
* 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 __domEllipsoid_h__
#define __domEllipsoid_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domEllipsoid : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ELLIPSOID; }
public:
class domSize;
typedef daeSmartRef<domSize> domSizeRef;
typedef daeTArray<domSizeRef> domSize_Array;
class domSize : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SIZE; }
protected: // Value
/**
* The domFloat3 value of the text data of this element.
*/
domFloat3 _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domFloat3 reference of the _value array.
*/
domFloat3 &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFloat3 reference of the _value array.
*/
const domFloat3 &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFloat3 &val ) { _value = val; }
protected:
/**
* Constructor
*/
domSize() : _value() {}
/**
* Destructor
*/
virtual ~domSize() {}
/**
* Copy Constructor
*/
domSize( const domSize &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSize &operator=( const domSize &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: // Element
domSizeRef elemSize;
public: //Accessors and Mutators
/**
* Gets the size element.
* @return a daeSmartRef to the size element.
*/
const domSizeRef getSize() const { return elemSize; }
protected:
/**
* Constructor
*/
domEllipsoid() : elemSize() {}
/**
* Destructor
*/
virtual ~domEllipsoid() {}
/**
* Copy Constructor
*/
domEllipsoid( const domEllipsoid &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domEllipsoid &operator=( const domEllipsoid &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

View File

@ -1,150 +0,0 @@
/*
* 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 __domExtra_h__
#define __domExtra_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domAsset.h>
#include <dom/domTechnique.h>
/**
* The extra element declares additional information regarding its parent
* element.
*/
class domExtra : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::EXTRA; }
protected: // Attributes
/**
* The id attribute is a text string containing the unique identifier of
* this element. This value must be unique within the instance document.
* Optional attribute.
*/
xsID attrId;
/**
* The name attribute is the text string name of this element. Optional attribute.
*/
xsNCName attrName;
/**
* The type attribute indicates the type of the value data. This text string
* must be understood by the application. Optional attribute.
*/
xsNMTOKEN attrType;
protected: // Elements
/**
* The extra element may contain an asset element. @see domAsset
*/
domAssetRef elemAsset;
/**
* This element must contain at least one non-common profile technique.
* @see domTechnique
*/
domTechnique_Array elemTechnique_array;
public: //Accessors and Mutators
/**
* Gets the id attribute.
* @return Returns a xsID of the id attribute.
*/
xsID getId() const { return attrId; }
/**
* Sets the id attribute.
* @param atId The new value for the id attribute.
*/
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
_validAttributeArray[0] = true; }
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[1] = true; }
/**
* Gets the type attribute.
* @return Returns a xsNMTOKEN of the type attribute.
*/
xsNMTOKEN getType() const { return attrType; }
/**
* Sets the type attribute.
* @param atType The new value for the type attribute.
*/
void setType( xsNMTOKEN atType ) { *(daeStringRef*)&attrType = atType;
_validAttributeArray[2] = true; }
/**
* Gets the asset element.
* @return a daeSmartRef to the asset element.
*/
const domAssetRef getAsset() const { return elemAsset; }
/**
* Gets the technique element array.
* @return Returns a reference to the array of technique elements.
*/
domTechnique_Array &getTechnique_array() { return elemTechnique_array; }
/**
* Gets the technique element array.
* @return Returns a constant reference to the array of technique elements.
*/
const domTechnique_Array &getTechnique_array() const { return elemTechnique_array; }
protected:
/**
* Constructor
*/
domExtra() : attrId(), attrName(), attrType(), elemAsset(), elemTechnique_array() {}
/**
* Destructor
*/
virtual ~domExtra() {}
/**
* Copy Constructor
*/
domExtra( const domExtra &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domExtra &operator=( const domExtra &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

View File

@ -1,180 +0,0 @@
/*
* 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 __domFloat_array_h__
#define __domFloat_array_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
/**
* The float_array element declares the storage for a homogenous array of
* floating point values.
*/
class domFloat_array : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT_ARRAY; }
protected: // Attributes
/**
* The id attribute is a text string containing the unique identifier of
* this element. This value must be unique within the instance document.
* Optional attribute.
*/
xsID attrId;
/**
* The name attribute is the text string name of this element. Optional attribute.
*/
xsNCName attrName;
/**
* The count attribute indicates the number of values in the array. Required
* attribute.
*/
domUint attrCount;
/**
* The digits attribute indicates the number of significant decimal digits
* of the float values that can be contained in the array. The default value
* is 6. Optional attribute.
*/
xsShort attrDigits;
/**
* The magnitude attribute indicates the largest exponent of the float values
* that can be contained in the array. The default value is 38. Optional
* attribute.
*/
xsShort attrMagnitude;
protected: // Value
/**
* The domListOfFloats value of the text data of this element.
*/
domListOfFloats _value;
public: //Accessors and Mutators
/**
* Gets the id attribute.
* @return Returns a xsID of the id attribute.
*/
xsID getId() const { return attrId; }
/**
* Sets the id attribute.
* @param atId The new value for the id attribute.
*/
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
_validAttributeArray[0] = true; }
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[1] = true; }
/**
* Gets the count attribute.
* @return Returns a domUint of the count attribute.
*/
domUint getCount() const { return attrCount; }
/**
* Sets the count attribute.
* @param atCount The new value for the count attribute.
*/
void setCount( domUint atCount ) { attrCount = atCount;
_validAttributeArray[2] = true; }
/**
* Gets the digits attribute.
* @return Returns a xsShort of the digits attribute.
*/
xsShort getDigits() const { return attrDigits; }
/**
* Sets the digits attribute.
* @param atDigits The new value for the digits attribute.
*/
void setDigits( xsShort atDigits ) { attrDigits = atDigits;
_validAttributeArray[3] = true; }
/**
* Gets the magnitude attribute.
* @return Returns a xsShort of the magnitude attribute.
*/
xsShort getMagnitude() const { return attrMagnitude; }
/**
* Sets the magnitude attribute.
* @param atMagnitude The new value for the magnitude attribute.
*/
void setMagnitude( xsShort atMagnitude ) { attrMagnitude = atMagnitude;
_validAttributeArray[4] = true; }
/**
* Gets the _value array.
* @return Returns a domListOfFloats reference of the _value array.
*/
domListOfFloats &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domListOfFloats reference of the _value array.
*/
const domListOfFloats &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domListOfFloats &val ) { _value = val; }
protected:
/**
* Constructor
*/
domFloat_array() : attrId(), attrName(), attrCount(), attrDigits(), attrMagnitude(), _value() {}
/**
* Destructor
*/
virtual ~domFloat_array() {}
/**
* Copy Constructor
*/
domFloat_array( const domFloat_array &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFloat_array &operator=( const domFloat_array &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

View File

@ -1,148 +0,0 @@
/*
* 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 __domForce_field_h__
#define __domForce_field_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domAsset.h>
#include <dom/domTechnique.h>
#include <dom/domExtra.h>
/**
* A general container for force-fields. At the moment, it only has techniques
* and extra elements.
*/
class domForce_field : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FORCE_FIELD; }
protected: // Attributes
/**
* The id attribute is a text string containing the unique identifier of
* this element. This value must be unique within the instance document.
* Optional attribute.
*/
xsID attrId;
/**
* The name attribute is the text string name of this element. Optional attribute.
*/
xsNCName attrName;
protected: // Elements
/**
* The force_field element may contain an asset element. @see domAsset
*/
domAssetRef elemAsset;
/**
* This element must contain at least one non-common profile technique.
* @see domTechnique
*/
domTechnique_Array elemTechnique_array;
/**
* The extra element may appear any number of times. @see domExtra
*/
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the id attribute.
* @return Returns a xsID of the id attribute.
*/
xsID getId() const { return attrId; }
/**
* Sets the id attribute.
* @param atId The new value for the id attribute.
*/
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
_validAttributeArray[0] = true; }
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[1] = true; }
/**
* Gets the asset element.
* @return a daeSmartRef to the asset element.
*/
const domAssetRef getAsset() const { return elemAsset; }
/**
* Gets the technique element array.
* @return Returns a reference to the array of technique elements.
*/
domTechnique_Array &getTechnique_array() { return elemTechnique_array; }
/**
* Gets the technique element array.
* @return Returns a constant reference to the array of technique elements.
*/
const domTechnique_Array &getTechnique_array() const { return elemTechnique_array; }
/**
* 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
*/
domForce_field() : attrId(), attrName(), elemAsset(), elemTechnique_array(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domForce_field() {}
/**
* Copy Constructor
*/
domForce_field( const domForce_field &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domForce_field &operator=( const domForce_field &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

View File

@ -1,126 +0,0 @@
/*
* 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 __domFx_annotate_common_h__
#define __domFx_annotate_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_annotate_type_common.h>
class domFx_annotate_common_complexType
{
protected: // Attribute
xsNCName attrName;
protected: // Element
domFx_annotate_type_commonRef elemFx_annotate_type_common;
public: //Accessors and Mutators
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName; }
/**
* Gets the fx_annotate_type_common element.
* @return a daeSmartRef to the fx_annotate_type_common element.
*/
const domFx_annotate_type_commonRef getFx_annotate_type_common() const { return elemFx_annotate_type_common; }
protected:
/**
* Constructor
*/
domFx_annotate_common_complexType() : attrName(), elemFx_annotate_type_common() {}
/**
* Destructor
*/
virtual ~domFx_annotate_common_complexType() {}
/**
* Copy Constructor
*/
domFx_annotate_common_complexType( const domFx_annotate_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_annotate_common_complexType &operator=( const domFx_annotate_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_annotate_common_complexType.
*/
class domFx_annotate_common : public daeElement, public domFx_annotate_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_ANNOTATE_COMMON; }
public: //Accessors and Mutators
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domFx_annotate_common() {}
/**
* Destructor
*/
virtual ~domFx_annotate_common() {}
/**
* Copy Constructor
*/
domFx_annotate_common( const domFx_annotate_common &cpy ) : daeElement(), domFx_annotate_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_annotate_common &operator=( const domFx_annotate_common &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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,139 +0,0 @@
/*
* 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 __domFx_clearcolor_common_h__
#define __domFx_clearcolor_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domFx_clearcolor_common_complexType
{
protected: // Attribute
xsNonNegativeInteger attrIndex;
protected: // Value
/**
* The domFx_color_common value of the text data of this element.
*/
domFx_color_common _value;
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex; }
/**
* Gets the _value array.
* @return Returns a domFx_color_common reference of the _value array.
*/
domFx_color_common &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFx_color_common reference of the _value array.
*/
const domFx_color_common &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFx_color_common &val ) { _value = val; }
protected:
/**
* Constructor
*/
domFx_clearcolor_common_complexType() : attrIndex(), _value() {}
/**
* Destructor
*/
virtual ~domFx_clearcolor_common_complexType() {}
/**
* Copy Constructor
*/
domFx_clearcolor_common_complexType( const domFx_clearcolor_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_clearcolor_common_complexType &operator=( const domFx_clearcolor_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_clearcolor_common_complexType.
*/
class domFx_clearcolor_common : public daeElement, public domFx_clearcolor_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_CLEARCOLOR_COMMON; }
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domFx_clearcolor_common() {}
/**
* Destructor
*/
virtual ~domFx_clearcolor_common() {}
/**
* Copy Constructor
*/
domFx_clearcolor_common( const domFx_clearcolor_common &cpy ) : daeElement(), domFx_clearcolor_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_clearcolor_common &operator=( const domFx_clearcolor_common &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

View File

@ -1,134 +0,0 @@
/*
* 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 __domFx_cleardepth_common_h__
#define __domFx_cleardepth_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domFx_cleardepth_common_complexType
{
protected: // Attribute
xsNonNegativeInteger attrIndex;
protected: // Value
/**
* The domFloat value of the text data of this element.
*/
domFloat _value;
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex; }
/**
* Gets the value of this element.
* @return a domFloat of the value.
*/
domFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domFx_cleardepth_common_complexType() : attrIndex(), _value() {}
/**
* Destructor
*/
virtual ~domFx_cleardepth_common_complexType() {}
/**
* Copy Constructor
*/
domFx_cleardepth_common_complexType( const domFx_cleardepth_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_cleardepth_common_complexType &operator=( const domFx_cleardepth_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_cleardepth_common_complexType.
*/
class domFx_cleardepth_common : public daeElement, public domFx_cleardepth_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_CLEARDEPTH_COMMON; }
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domFx_cleardepth_common() {}
/**
* Destructor
*/
virtual ~domFx_cleardepth_common() {}
/**
* Copy Constructor
*/
domFx_cleardepth_common( const domFx_cleardepth_common &cpy ) : daeElement(), domFx_cleardepth_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_cleardepth_common &operator=( const domFx_cleardepth_common &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

View File

@ -1,134 +0,0 @@
/*
* 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 __domFx_clearstencil_common_h__
#define __domFx_clearstencil_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domFx_clearstencil_common_complexType
{
protected: // Attribute
xsNonNegativeInteger attrIndex;
protected: // Value
/**
* The xsByte value of the text data of this element.
*/
xsByte _value;
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex; }
/**
* Gets the value of this element.
* @return a xsByte of the value.
*/
xsByte getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsByte val ) { _value = val; }
protected:
/**
* Constructor
*/
domFx_clearstencil_common_complexType() : attrIndex(), _value() {}
/**
* Destructor
*/
virtual ~domFx_clearstencil_common_complexType() {}
/**
* Copy Constructor
*/
domFx_clearstencil_common_complexType( const domFx_clearstencil_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_clearstencil_common_complexType &operator=( const domFx_clearstencil_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_clearstencil_common_complexType.
*/
class domFx_clearstencil_common : public daeElement, public domFx_clearstencil_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_CLEARSTENCIL_COMMON; }
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domFx_clearstencil_common() {}
/**
* Destructor
*/
virtual ~domFx_clearstencil_common() {}
/**
* Copy Constructor
*/
domFx_clearstencil_common( const domFx_clearstencil_common &cpy ) : daeElement(), domFx_clearstencil_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_clearstencil_common &operator=( const domFx_clearstencil_common &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

View File

@ -1,143 +0,0 @@
/*
* 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 __domFx_code_profile_h__
#define __domFx_code_profile_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
/**
* The fx_code_profile type allows you to specify an inline block of source
* code.
*/
class domFx_code_profile_complexType
{
protected: // Attribute
/**
* The sid attribute is a text string value containing the sub-identifier
* of this element. This value must be unique within the scope of the parent
* element. Optional attribute.
*/
xsNCName attrSid;
protected: // Value
/**
* The xsString value of the text data of this element.
*/
xsString _value;
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
/**
* Gets the value of this element.
* @return Returns a xsString of the value.
*/
xsString getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domFx_code_profile_complexType() : attrSid(), _value() {}
/**
* Destructor
*/
virtual ~domFx_code_profile_complexType() {}
/**
* Copy Constructor
*/
domFx_code_profile_complexType( const domFx_code_profile_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_code_profile_complexType &operator=( const domFx_code_profile_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_code_profile_complexType.
*/
class domFx_code_profile : public daeElement, public domFx_code_profile_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_CODE_PROFILE; }
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domFx_code_profile() {}
/**
* Destructor
*/
virtual ~domFx_code_profile() {}
/**
* Copy Constructor
*/
domFx_code_profile( const domFx_code_profile &cpy ) : daeElement(), domFx_code_profile_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_code_profile &operator=( const domFx_code_profile &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

View File

@ -1,206 +0,0 @@
/*
* 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 __domFx_colortarget_common_h__
#define __domFx_colortarget_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domFx_colortarget_common_complexType
{
protected: // Attributes
xsNonNegativeInteger attrIndex;
domFx_surface_face_enum attrFace;
xsNonNegativeInteger attrMip;
xsNonNegativeInteger attrSlice;
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex; }
/**
* Gets the face attribute.
* @return Returns a domFx_surface_face_enum of the face attribute.
*/
domFx_surface_face_enum getFace() const { return attrFace; }
/**
* Sets the face attribute.
* @param atFace The new value for the face attribute.
*/
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace; }
/**
* Gets the mip attribute.
* @return Returns a xsNonNegativeInteger of the mip attribute.
*/
xsNonNegativeInteger getMip() const { return attrMip; }
/**
* Sets the mip attribute.
* @param atMip The new value for the mip attribute.
*/
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip; }
/**
* Gets the slice attribute.
* @return Returns a xsNonNegativeInteger of the slice attribute.
*/
xsNonNegativeInteger getSlice() const { return attrSlice; }
/**
* Sets the slice attribute.
* @param atSlice The new value for the slice attribute.
*/
void setSlice( xsNonNegativeInteger atSlice ) { attrSlice = atSlice; }
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domFx_colortarget_common_complexType() : attrIndex(), attrFace(), attrMip(), attrSlice(), _value() {}
/**
* Destructor
*/
virtual ~domFx_colortarget_common_complexType() {}
/**
* Copy Constructor
*/
domFx_colortarget_common_complexType( const domFx_colortarget_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_colortarget_common_complexType &operator=( const domFx_colortarget_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_colortarget_common_complexType.
*/
class domFx_colortarget_common : public daeElement, public domFx_colortarget_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_COLORTARGET_COMMON; }
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
_validAttributeArray[0] = true; }
/**
* Gets the face attribute.
* @return Returns a domFx_surface_face_enum of the face attribute.
*/
domFx_surface_face_enum getFace() const { return attrFace; }
/**
* Sets the face attribute.
* @param atFace The new value for the face attribute.
*/
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace;
_validAttributeArray[1] = true; }
/**
* Gets the mip attribute.
* @return Returns a xsNonNegativeInteger of the mip attribute.
*/
xsNonNegativeInteger getMip() const { return attrMip; }
/**
* Sets the mip attribute.
* @param atMip The new value for the mip attribute.
*/
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip;
_validAttributeArray[2] = true; }
/**
* Gets the slice attribute.
* @return Returns a xsNonNegativeInteger of the slice attribute.
*/
xsNonNegativeInteger getSlice() const { return attrSlice; }
/**
* Sets the slice attribute.
* @param atSlice The new value for the slice attribute.
*/
void setSlice( xsNonNegativeInteger atSlice ) { attrSlice = atSlice;
_validAttributeArray[3] = true; }
protected:
/**
* Constructor
*/
domFx_colortarget_common() {}
/**
* Destructor
*/
virtual ~domFx_colortarget_common() {}
/**
* Copy Constructor
*/
domFx_colortarget_common( const domFx_colortarget_common &cpy ) : daeElement(), domFx_colortarget_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_colortarget_common &operator=( const domFx_colortarget_common &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

View File

@ -1,206 +0,0 @@
/*
* 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 __domFx_depthtarget_common_h__
#define __domFx_depthtarget_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domFx_depthtarget_common_complexType
{
protected: // Attributes
xsNonNegativeInteger attrIndex;
domFx_surface_face_enum attrFace;
xsNonNegativeInteger attrMip;
xsNonNegativeInteger attrSlice;
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex; }
/**
* Gets the face attribute.
* @return Returns a domFx_surface_face_enum of the face attribute.
*/
domFx_surface_face_enum getFace() const { return attrFace; }
/**
* Sets the face attribute.
* @param atFace The new value for the face attribute.
*/
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace; }
/**
* Gets the mip attribute.
* @return Returns a xsNonNegativeInteger of the mip attribute.
*/
xsNonNegativeInteger getMip() const { return attrMip; }
/**
* Sets the mip attribute.
* @param atMip The new value for the mip attribute.
*/
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip; }
/**
* Gets the slice attribute.
* @return Returns a xsNonNegativeInteger of the slice attribute.
*/
xsNonNegativeInteger getSlice() const { return attrSlice; }
/**
* Sets the slice attribute.
* @param atSlice The new value for the slice attribute.
*/
void setSlice( xsNonNegativeInteger atSlice ) { attrSlice = atSlice; }
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domFx_depthtarget_common_complexType() : attrIndex(), attrFace(), attrMip(), attrSlice(), _value() {}
/**
* Destructor
*/
virtual ~domFx_depthtarget_common_complexType() {}
/**
* Copy Constructor
*/
domFx_depthtarget_common_complexType( const domFx_depthtarget_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_depthtarget_common_complexType &operator=( const domFx_depthtarget_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_depthtarget_common_complexType.
*/
class domFx_depthtarget_common : public daeElement, public domFx_depthtarget_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_DEPTHTARGET_COMMON; }
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
_validAttributeArray[0] = true; }
/**
* Gets the face attribute.
* @return Returns a domFx_surface_face_enum of the face attribute.
*/
domFx_surface_face_enum getFace() const { return attrFace; }
/**
* Sets the face attribute.
* @param atFace The new value for the face attribute.
*/
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace;
_validAttributeArray[1] = true; }
/**
* Gets the mip attribute.
* @return Returns a xsNonNegativeInteger of the mip attribute.
*/
xsNonNegativeInteger getMip() const { return attrMip; }
/**
* Sets the mip attribute.
* @param atMip The new value for the mip attribute.
*/
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip;
_validAttributeArray[2] = true; }
/**
* Gets the slice attribute.
* @return Returns a xsNonNegativeInteger of the slice attribute.
*/
xsNonNegativeInteger getSlice() const { return attrSlice; }
/**
* Sets the slice attribute.
* @param atSlice The new value for the slice attribute.
*/
void setSlice( xsNonNegativeInteger atSlice ) { attrSlice = atSlice;
_validAttributeArray[3] = true; }
protected:
/**
* Constructor
*/
domFx_depthtarget_common() {}
/**
* Destructor
*/
virtual ~domFx_depthtarget_common() {}
/**
* Copy Constructor
*/
domFx_depthtarget_common( const domFx_depthtarget_common &cpy ) : daeElement(), domFx_depthtarget_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_depthtarget_common &operator=( const domFx_depthtarget_common &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

View File

@ -1,167 +0,0 @@
/*
* 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 __domFx_include_common_h__
#define __domFx_include_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
/**
* The include element is used to import source code or precompiled binary
* shaders into the FX Runtime by referencing an external resource.
*/
class domFx_include_common_complexType
{
protected: // Attributes
/**
* The sid attribute is a text string value containing the sub-identifier
* of this element. This value must be unique within the scope of the parent
* element. Optional attribute.
*/
xsNCName attrSid;
/**
* The url attribute refers to resource. This may refer to a local resource
* using a relative URL fragment identifier that begins with the #
* character. The url attribute may refer to an external resource using an
* absolute or relative URL.
*/
xsAnyURI attrUrl;
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
/**
* Gets the url attribute.
* @return Returns a xsAnyURI reference of the url attribute.
*/
xsAnyURI &getUrl() { return attrUrl; }
/**
* Gets the url attribute.
* @return Returns a constant xsAnyURI reference of the url attribute.
*/
const xsAnyURI &getUrl() const { return attrUrl; }
/**
* Sets the url attribute.
* @param atUrl The new value for the url attribute.
*/
void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; }
protected:
/**
* Constructor
*/
domFx_include_common_complexType() : attrSid(), attrUrl() {}
/**
* Destructor
*/
virtual ~domFx_include_common_complexType() {}
/**
* Copy Constructor
*/
domFx_include_common_complexType( const domFx_include_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_include_common_complexType &operator=( const domFx_include_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_include_common_complexType.
*/
class domFx_include_common : public daeElement, public domFx_include_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_INCLUDE_COMMON; }
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
_validAttributeArray[0] = true; }
/**
* Gets the url attribute.
* @return Returns a xsAnyURI reference of the url attribute.
*/
xsAnyURI &getUrl() { return attrUrl; }
/**
* Gets the url attribute.
* @return Returns a constant xsAnyURI reference of the url attribute.
*/
const xsAnyURI &getUrl() const { return attrUrl; }
/**
* Sets the url attribute.
* @param atUrl The new value for the url attribute.
*/
void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl;
_validAttributeArray[1] = true; }
protected:
/**
* Constructor
*/
domFx_include_common() {}
/**
* Destructor
*/
virtual ~domFx_include_common() {}
/**
* Copy Constructor
*/
domFx_include_common( const domFx_include_common &cpy ) : daeElement(), domFx_include_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_include_common &operator=( const domFx_include_common &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

View File

@ -1,313 +0,0 @@
/*
* 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 __domFx_newparam_common_h__
#define __domFx_newparam_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_basic_type_common.h>
#include <dom/domFx_annotate_common.h>
/**
* This element creates a new, named param object in the FX Runtime, assigns
* it a type, an initial value, and additional attributes at declaration time.
*/
class domFx_newparam_common_complexType
{
public:
class domSemantic;
typedef daeSmartRef<domSemantic> domSemanticRef;
typedef daeTArray<domSemanticRef> domSemantic_Array;
/**
* The semantic element allows you to specify a semantic for this new param.
*/
class domSemantic : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SEMANTIC; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSemantic() : _value() {}
/**
* Destructor
*/
virtual ~domSemantic() {}
/**
* Copy Constructor
*/
domSemantic( const domSemantic &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSemantic &operator=( const domSemantic &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;
};
class domModifier;
typedef daeSmartRef<domModifier> domModifierRef;
typedef daeTArray<domModifierRef> domModifier_Array;
/**
* The modifier element allows you to specify a modifier for this new param.
*/
class domModifier : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIER; }
protected: // Value
/**
* The domFx_modifier_enum_common value of the text data of this element.
*/
domFx_modifier_enum_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_modifier_enum_common of the value.
*/
domFx_modifier_enum_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_modifier_enum_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domModifier() : _value() {}
/**
* Destructor
*/
virtual ~domModifier() {}
/**
* Copy Constructor
*/
domModifier( const domModifier &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domModifier &operator=( const domModifier &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: // Attribute
/**
* The sid attribute is a text string value containing the sub-identifier
* of this element. This value must be unique within the scope of the parent
* element. Optional attribute.
*/
xsNCName attrSid;
protected: // Elements
/**
* The annotate element allows you to specify an annotation for this new param.
* @see domAnnotate
*/
domFx_annotate_common_Array elemAnnotate_array;
/**
* The semantic element allows you to specify a semantic for this new param.
* @see domSemantic
*/
domSemanticRef elemSemantic;
/**
* The modifier element allows you to specify a modifier for this new param.
* @see domModifier
*/
domModifierRef elemModifier;
domFx_basic_type_commonRef elemFx_basic_type_common;
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
/**
* Gets the annotate element array.
* @return Returns a reference to the array of annotate elements.
*/
domFx_annotate_common_Array &getAnnotate_array() { return elemAnnotate_array; }
/**
* Gets the annotate element array.
* @return Returns a constant reference to the array of annotate elements.
*/
const domFx_annotate_common_Array &getAnnotate_array() const { return elemAnnotate_array; }
/**
* Gets the semantic element.
* @return a daeSmartRef to the semantic element.
*/
const domSemanticRef getSemantic() const { return elemSemantic; }
/**
* Gets the modifier element.
* @return a daeSmartRef to the modifier element.
*/
const domModifierRef getModifier() const { return elemModifier; }
/**
* Gets the fx_basic_type_common element.
* @return a daeSmartRef to the fx_basic_type_common element.
*/
const domFx_basic_type_commonRef getFx_basic_type_common() const { return elemFx_basic_type_common; }
protected:
/**
* Constructor
*/
domFx_newparam_common_complexType() : attrSid(), elemAnnotate_array(), elemSemantic(), elemModifier(), elemFx_basic_type_common() {}
/**
* Destructor
*/
virtual ~domFx_newparam_common_complexType() {}
/**
* Copy Constructor
*/
domFx_newparam_common_complexType( const domFx_newparam_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_newparam_common_complexType &operator=( const domFx_newparam_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_newparam_common_complexType.
*/
class domFx_newparam_common : public daeElement, public domFx_newparam_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_NEWPARAM_COMMON; }
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domFx_newparam_common() {}
/**
* Destructor
*/
virtual ~domFx_newparam_common() {}
/**
* Copy Constructor
*/
domFx_newparam_common( const domFx_newparam_common &cpy ) : daeElement(), domFx_newparam_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_newparam_common &operator=( const domFx_newparam_common &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

View File

@ -1,69 +0,0 @@
/*
* 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 __domFx_profile_abstract_h__
#define __domFx_profile_abstract_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
/**
* The fx_profile_abstract element is only used as a substitution group hook
* for COLLADA FX profiles.
*/
class domFx_profile_abstract : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_PROFILE_ABSTRACT; }
protected:
/**
* Constructor
*/
domFx_profile_abstract() {}
/**
* Destructor
*/
virtual ~domFx_profile_abstract() {}
/**
* Copy Constructor
*/
domFx_profile_abstract( const domFx_profile_abstract &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_profile_abstract &operator=( const domFx_profile_abstract &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

View File

@ -1,698 +0,0 @@
/*
* 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 __domFx_sampler1D_common_h__
#define __domFx_sampler1D_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* A one-dimensional texture sampler.
*/
class domFx_sampler1D_common_complexType
{
public:
class domSource;
typedef daeSmartRef<domSource> domSourceRef;
typedef daeTArray<domSourceRef> domSource_Array;
class domSource : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSource() : _value() {}
/**
* Destructor
*/
virtual ~domSource() {}
/**
* Copy Constructor
*/
domSource( const domSource &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSource &operator=( const domSource &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;
};
class domWrap_s;
typedef daeSmartRef<domWrap_s> domWrap_sRef;
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
class domWrap_s : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_s() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_s() {}
/**
* Copy Constructor
*/
domWrap_s( const domWrap_s &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_s &operator=( const domWrap_s &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;
};
class domMinfilter;
typedef daeSmartRef<domMinfilter> domMinfilterRef;
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
class domMinfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMinfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMinfilter() {}
/**
* Copy Constructor
*/
domMinfilter( const domMinfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMinfilter &operator=( const domMinfilter &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;
};
class domMagfilter;
typedef daeSmartRef<domMagfilter> domMagfilterRef;
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
class domMagfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMagfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMagfilter() {}
/**
* Copy Constructor
*/
domMagfilter( const domMagfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMagfilter &operator=( const domMagfilter &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;
};
class domMipfilter;
typedef daeSmartRef<domMipfilter> domMipfilterRef;
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
class domMipfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMipfilter() {}
/**
* Copy Constructor
*/
domMipfilter( const domMipfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipfilter &operator=( const domMipfilter &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;
};
class domBorder_color;
typedef daeSmartRef<domBorder_color> domBorder_colorRef;
typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
class domBorder_color : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; }
protected: // Value
/**
* The domFx_color_common value of the text data of this element.
*/
domFx_color_common _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domFx_color_common reference of the _value array.
*/
domFx_color_common &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFx_color_common reference of the _value array.
*/
const domFx_color_common &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFx_color_common &val ) { _value = val; }
protected:
/**
* Constructor
*/
domBorder_color() : _value() {}
/**
* Destructor
*/
virtual ~domBorder_color() {}
/**
* Copy Constructor
*/
domBorder_color( const domBorder_color &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domBorder_color &operator=( const domBorder_color &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;
};
class domMipmap_maxlevel;
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
class domMipmap_maxlevel : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; }
protected: // Value
/**
* The xsUnsignedByte value of the text data of this element.
*/
xsUnsignedByte _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsUnsignedByte of the value.
*/
xsUnsignedByte getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsUnsignedByte val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_maxlevel() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_maxlevel() {}
/**
* Copy Constructor
*/
domMipmap_maxlevel( const domMipmap_maxlevel &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_maxlevel &operator=( const domMipmap_maxlevel &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;
};
class domMipmap_bias;
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
class domMipmap_bias : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; }
protected: // Value
/**
* The xsFloat value of the text data of this element.
*/
xsFloat _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsFloat of the value.
*/
xsFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_bias() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_bias() {}
/**
* Copy Constructor
*/
domMipmap_bias( const domMipmap_bias &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_bias &operator=( const domMipmap_bias &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: // Elements
domSourceRef elemSource;
domWrap_sRef elemWrap_s;
domMinfilterRef elemMinfilter;
domMagfilterRef elemMagfilter;
domMipfilterRef elemMipfilter;
domBorder_colorRef elemBorder_color;
domMipmap_maxlevelRef elemMipmap_maxlevel;
domMipmap_biasRef elemMipmap_bias;
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the source element.
* @return a daeSmartRef to the source element.
*/
const domSourceRef getSource() const { return elemSource; }
/**
* Gets the wrap_s element.
* @return a daeSmartRef to the wrap_s element.
*/
const domWrap_sRef getWrap_s() const { return elemWrap_s; }
/**
* Gets the minfilter element.
* @return a daeSmartRef to the minfilter element.
*/
const domMinfilterRef getMinfilter() const { return elemMinfilter; }
/**
* Gets the magfilter element.
* @return a daeSmartRef to the magfilter element.
*/
const domMagfilterRef getMagfilter() const { return elemMagfilter; }
/**
* Gets the mipfilter element.
* @return a daeSmartRef to the mipfilter element.
*/
const domMipfilterRef getMipfilter() const { return elemMipfilter; }
/**
* Gets the border_color element.
* @return a daeSmartRef to the border_color element.
*/
const domBorder_colorRef getBorder_color() const { return elemBorder_color; }
/**
* Gets the mipmap_maxlevel element.
* @return a daeSmartRef to the mipmap_maxlevel element.
*/
const domMipmap_maxlevelRef getMipmap_maxlevel() const { return elemMipmap_maxlevel; }
/**
* Gets the mipmap_bias element.
* @return a daeSmartRef to the mipmap_bias element.
*/
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
/**
* 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
*/
domFx_sampler1D_common_complexType() : elemSource(), elemWrap_s(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domFx_sampler1D_common_complexType() {}
/**
* Copy Constructor
*/
domFx_sampler1D_common_complexType( const domFx_sampler1D_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_sampler1D_common_complexType &operator=( const domFx_sampler1D_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_sampler1D_common_complexType.
*/
class domFx_sampler1D_common : public daeElement, public domFx_sampler1D_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLER1D_COMMON; }
protected:
/**
* Constructor
*/
domFx_sampler1D_common() {}
/**
* Destructor
*/
virtual ~domFx_sampler1D_common() {}
/**
* Copy Constructor
*/
domFx_sampler1D_common( const domFx_sampler1D_common &cpy ) : daeElement(), domFx_sampler1D_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_sampler1D_common &operator=( const domFx_sampler1D_common &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

View File

@ -1,771 +0,0 @@
/*
* 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 __domFx_sampler2D_common_h__
#define __domFx_sampler2D_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* A two-dimensional texture sampler.
*/
class domFx_sampler2D_common_complexType
{
public:
class domSource;
typedef daeSmartRef<domSource> domSourceRef;
typedef daeTArray<domSourceRef> domSource_Array;
class domSource : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSource() : _value() {}
/**
* Destructor
*/
virtual ~domSource() {}
/**
* Copy Constructor
*/
domSource( const domSource &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSource &operator=( const domSource &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;
};
class domWrap_s;
typedef daeSmartRef<domWrap_s> domWrap_sRef;
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
class domWrap_s : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_s() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_s() {}
/**
* Copy Constructor
*/
domWrap_s( const domWrap_s &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_s &operator=( const domWrap_s &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;
};
class domWrap_t;
typedef daeSmartRef<domWrap_t> domWrap_tRef;
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
class domWrap_t : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_t() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_t() {}
/**
* Copy Constructor
*/
domWrap_t( const domWrap_t &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_t &operator=( const domWrap_t &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;
};
class domMinfilter;
typedef daeSmartRef<domMinfilter> domMinfilterRef;
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
class domMinfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMinfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMinfilter() {}
/**
* Copy Constructor
*/
domMinfilter( const domMinfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMinfilter &operator=( const domMinfilter &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;
};
class domMagfilter;
typedef daeSmartRef<domMagfilter> domMagfilterRef;
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
class domMagfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMagfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMagfilter() {}
/**
* Copy Constructor
*/
domMagfilter( const domMagfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMagfilter &operator=( const domMagfilter &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;
};
class domMipfilter;
typedef daeSmartRef<domMipfilter> domMipfilterRef;
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
class domMipfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMipfilter() {}
/**
* Copy Constructor
*/
domMipfilter( const domMipfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipfilter &operator=( const domMipfilter &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;
};
class domBorder_color;
typedef daeSmartRef<domBorder_color> domBorder_colorRef;
typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
class domBorder_color : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; }
protected: // Value
/**
* The domFx_color_common value of the text data of this element.
*/
domFx_color_common _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domFx_color_common reference of the _value array.
*/
domFx_color_common &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFx_color_common reference of the _value array.
*/
const domFx_color_common &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFx_color_common &val ) { _value = val; }
protected:
/**
* Constructor
*/
domBorder_color() : _value() {}
/**
* Destructor
*/
virtual ~domBorder_color() {}
/**
* Copy Constructor
*/
domBorder_color( const domBorder_color &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domBorder_color &operator=( const domBorder_color &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;
};
class domMipmap_maxlevel;
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
class domMipmap_maxlevel : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; }
protected: // Value
/**
* The xsUnsignedByte value of the text data of this element.
*/
xsUnsignedByte _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsUnsignedByte of the value.
*/
xsUnsignedByte getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsUnsignedByte val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_maxlevel() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_maxlevel() {}
/**
* Copy Constructor
*/
domMipmap_maxlevel( const domMipmap_maxlevel &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_maxlevel &operator=( const domMipmap_maxlevel &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;
};
class domMipmap_bias;
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
class domMipmap_bias : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; }
protected: // Value
/**
* The xsFloat value of the text data of this element.
*/
xsFloat _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsFloat of the value.
*/
xsFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_bias() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_bias() {}
/**
* Copy Constructor
*/
domMipmap_bias( const domMipmap_bias &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_bias &operator=( const domMipmap_bias &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: // Elements
domSourceRef elemSource;
domWrap_sRef elemWrap_s;
domWrap_tRef elemWrap_t;
domMinfilterRef elemMinfilter;
domMagfilterRef elemMagfilter;
domMipfilterRef elemMipfilter;
domBorder_colorRef elemBorder_color;
domMipmap_maxlevelRef elemMipmap_maxlevel;
domMipmap_biasRef elemMipmap_bias;
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the source element.
* @return a daeSmartRef to the source element.
*/
const domSourceRef getSource() const { return elemSource; }
/**
* Gets the wrap_s element.
* @return a daeSmartRef to the wrap_s element.
*/
const domWrap_sRef getWrap_s() const { return elemWrap_s; }
/**
* Gets the wrap_t element.
* @return a daeSmartRef to the wrap_t element.
*/
const domWrap_tRef getWrap_t() const { return elemWrap_t; }
/**
* Gets the minfilter element.
* @return a daeSmartRef to the minfilter element.
*/
const domMinfilterRef getMinfilter() const { return elemMinfilter; }
/**
* Gets the magfilter element.
* @return a daeSmartRef to the magfilter element.
*/
const domMagfilterRef getMagfilter() const { return elemMagfilter; }
/**
* Gets the mipfilter element.
* @return a daeSmartRef to the mipfilter element.
*/
const domMipfilterRef getMipfilter() const { return elemMipfilter; }
/**
* Gets the border_color element.
* @return a daeSmartRef to the border_color element.
*/
const domBorder_colorRef getBorder_color() const { return elemBorder_color; }
/**
* Gets the mipmap_maxlevel element.
* @return a daeSmartRef to the mipmap_maxlevel element.
*/
const domMipmap_maxlevelRef getMipmap_maxlevel() const { return elemMipmap_maxlevel; }
/**
* Gets the mipmap_bias element.
* @return a daeSmartRef to the mipmap_bias element.
*/
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
/**
* 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
*/
domFx_sampler2D_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domFx_sampler2D_common_complexType() {}
/**
* Copy Constructor
*/
domFx_sampler2D_common_complexType( const domFx_sampler2D_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_sampler2D_common_complexType &operator=( const domFx_sampler2D_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_sampler2D_common_complexType.
*/
class domFx_sampler2D_common : public daeElement, public domFx_sampler2D_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLER2D_COMMON; }
protected:
/**
* Constructor
*/
domFx_sampler2D_common() {}
/**
* Destructor
*/
virtual ~domFx_sampler2D_common() {}
/**
* Copy Constructor
*/
domFx_sampler2D_common( const domFx_sampler2D_common &cpy ) : daeElement(), domFx_sampler2D_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_sampler2D_common &operator=( const domFx_sampler2D_common &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

View File

@ -1,844 +0,0 @@
/*
* 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 __domFx_sampler3D_common_h__
#define __domFx_sampler3D_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* A three-dimensional texture sampler.
*/
class domFx_sampler3D_common_complexType
{
public:
class domSource;
typedef daeSmartRef<domSource> domSourceRef;
typedef daeTArray<domSourceRef> domSource_Array;
class domSource : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSource() : _value() {}
/**
* Destructor
*/
virtual ~domSource() {}
/**
* Copy Constructor
*/
domSource( const domSource &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSource &operator=( const domSource &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;
};
class domWrap_s;
typedef daeSmartRef<domWrap_s> domWrap_sRef;
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
class domWrap_s : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_s() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_s() {}
/**
* Copy Constructor
*/
domWrap_s( const domWrap_s &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_s &operator=( const domWrap_s &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;
};
class domWrap_t;
typedef daeSmartRef<domWrap_t> domWrap_tRef;
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
class domWrap_t : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_t() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_t() {}
/**
* Copy Constructor
*/
domWrap_t( const domWrap_t &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_t &operator=( const domWrap_t &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;
};
class domWrap_p;
typedef daeSmartRef<domWrap_p> domWrap_pRef;
typedef daeTArray<domWrap_pRef> domWrap_p_Array;
class domWrap_p : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_P; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_p() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_p() {}
/**
* Copy Constructor
*/
domWrap_p( const domWrap_p &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_p &operator=( const domWrap_p &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;
};
class domMinfilter;
typedef daeSmartRef<domMinfilter> domMinfilterRef;
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
class domMinfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMinfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMinfilter() {}
/**
* Copy Constructor
*/
domMinfilter( const domMinfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMinfilter &operator=( const domMinfilter &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;
};
class domMagfilter;
typedef daeSmartRef<domMagfilter> domMagfilterRef;
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
class domMagfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMagfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMagfilter() {}
/**
* Copy Constructor
*/
domMagfilter( const domMagfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMagfilter &operator=( const domMagfilter &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;
};
class domMipfilter;
typedef daeSmartRef<domMipfilter> domMipfilterRef;
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
class domMipfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMipfilter() {}
/**
* Copy Constructor
*/
domMipfilter( const domMipfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipfilter &operator=( const domMipfilter &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;
};
class domBorder_color;
typedef daeSmartRef<domBorder_color> domBorder_colorRef;
typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
class domBorder_color : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; }
protected: // Value
/**
* The domFx_color_common value of the text data of this element.
*/
domFx_color_common _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domFx_color_common reference of the _value array.
*/
domFx_color_common &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFx_color_common reference of the _value array.
*/
const domFx_color_common &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFx_color_common &val ) { _value = val; }
protected:
/**
* Constructor
*/
domBorder_color() : _value() {}
/**
* Destructor
*/
virtual ~domBorder_color() {}
/**
* Copy Constructor
*/
domBorder_color( const domBorder_color &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domBorder_color &operator=( const domBorder_color &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;
};
class domMipmap_maxlevel;
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
class domMipmap_maxlevel : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; }
protected: // Value
/**
* The xsUnsignedByte value of the text data of this element.
*/
xsUnsignedByte _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsUnsignedByte of the value.
*/
xsUnsignedByte getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsUnsignedByte val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_maxlevel() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_maxlevel() {}
/**
* Copy Constructor
*/
domMipmap_maxlevel( const domMipmap_maxlevel &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_maxlevel &operator=( const domMipmap_maxlevel &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;
};
class domMipmap_bias;
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
class domMipmap_bias : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; }
protected: // Value
/**
* The xsFloat value of the text data of this element.
*/
xsFloat _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsFloat of the value.
*/
xsFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_bias() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_bias() {}
/**
* Copy Constructor
*/
domMipmap_bias( const domMipmap_bias &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_bias &operator=( const domMipmap_bias &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: // Elements
domSourceRef elemSource;
domWrap_sRef elemWrap_s;
domWrap_tRef elemWrap_t;
domWrap_pRef elemWrap_p;
domMinfilterRef elemMinfilter;
domMagfilterRef elemMagfilter;
domMipfilterRef elemMipfilter;
domBorder_colorRef elemBorder_color;
domMipmap_maxlevelRef elemMipmap_maxlevel;
domMipmap_biasRef elemMipmap_bias;
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the source element.
* @return a daeSmartRef to the source element.
*/
const domSourceRef getSource() const { return elemSource; }
/**
* Gets the wrap_s element.
* @return a daeSmartRef to the wrap_s element.
*/
const domWrap_sRef getWrap_s() const { return elemWrap_s; }
/**
* Gets the wrap_t element.
* @return a daeSmartRef to the wrap_t element.
*/
const domWrap_tRef getWrap_t() const { return elemWrap_t; }
/**
* Gets the wrap_p element.
* @return a daeSmartRef to the wrap_p element.
*/
const domWrap_pRef getWrap_p() const { return elemWrap_p; }
/**
* Gets the minfilter element.
* @return a daeSmartRef to the minfilter element.
*/
const domMinfilterRef getMinfilter() const { return elemMinfilter; }
/**
* Gets the magfilter element.
* @return a daeSmartRef to the magfilter element.
*/
const domMagfilterRef getMagfilter() const { return elemMagfilter; }
/**
* Gets the mipfilter element.
* @return a daeSmartRef to the mipfilter element.
*/
const domMipfilterRef getMipfilter() const { return elemMipfilter; }
/**
* Gets the border_color element.
* @return a daeSmartRef to the border_color element.
*/
const domBorder_colorRef getBorder_color() const { return elemBorder_color; }
/**
* Gets the mipmap_maxlevel element.
* @return a daeSmartRef to the mipmap_maxlevel element.
*/
const domMipmap_maxlevelRef getMipmap_maxlevel() const { return elemMipmap_maxlevel; }
/**
* Gets the mipmap_bias element.
* @return a daeSmartRef to the mipmap_bias element.
*/
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
/**
* 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
*/
domFx_sampler3D_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domFx_sampler3D_common_complexType() {}
/**
* Copy Constructor
*/
domFx_sampler3D_common_complexType( const domFx_sampler3D_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_sampler3D_common_complexType &operator=( const domFx_sampler3D_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_sampler3D_common_complexType.
*/
class domFx_sampler3D_common : public daeElement, public domFx_sampler3D_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLER3D_COMMON; }
protected:
/**
* Constructor
*/
domFx_sampler3D_common() {}
/**
* Destructor
*/
virtual ~domFx_sampler3D_common() {}
/**
* Copy Constructor
*/
domFx_sampler3D_common( const domFx_sampler3D_common &cpy ) : daeElement(), domFx_sampler3D_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_sampler3D_common &operator=( const domFx_sampler3D_common &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

View File

@ -1,844 +0,0 @@
/*
* 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 __domFx_samplerCUBE_common_h__
#define __domFx_samplerCUBE_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* A texture sampler for cube maps.
*/
class domFx_samplerCUBE_common_complexType
{
public:
class domSource;
typedef daeSmartRef<domSource> domSourceRef;
typedef daeTArray<domSourceRef> domSource_Array;
class domSource : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSource() : _value() {}
/**
* Destructor
*/
virtual ~domSource() {}
/**
* Copy Constructor
*/
domSource( const domSource &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSource &operator=( const domSource &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;
};
class domWrap_s;
typedef daeSmartRef<domWrap_s> domWrap_sRef;
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
class domWrap_s : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_s() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_s() {}
/**
* Copy Constructor
*/
domWrap_s( const domWrap_s &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_s &operator=( const domWrap_s &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;
};
class domWrap_t;
typedef daeSmartRef<domWrap_t> domWrap_tRef;
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
class domWrap_t : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_t() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_t() {}
/**
* Copy Constructor
*/
domWrap_t( const domWrap_t &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_t &operator=( const domWrap_t &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;
};
class domWrap_p;
typedef daeSmartRef<domWrap_p> domWrap_pRef;
typedef daeTArray<domWrap_pRef> domWrap_p_Array;
class domWrap_p : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_P; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_p() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_p() {}
/**
* Copy Constructor
*/
domWrap_p( const domWrap_p &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_p &operator=( const domWrap_p &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;
};
class domMinfilter;
typedef daeSmartRef<domMinfilter> domMinfilterRef;
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
class domMinfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMinfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMinfilter() {}
/**
* Copy Constructor
*/
domMinfilter( const domMinfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMinfilter &operator=( const domMinfilter &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;
};
class domMagfilter;
typedef daeSmartRef<domMagfilter> domMagfilterRef;
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
class domMagfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMagfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMagfilter() {}
/**
* Copy Constructor
*/
domMagfilter( const domMagfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMagfilter &operator=( const domMagfilter &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;
};
class domMipfilter;
typedef daeSmartRef<domMipfilter> domMipfilterRef;
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
class domMipfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMipfilter() {}
/**
* Copy Constructor
*/
domMipfilter( const domMipfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipfilter &operator=( const domMipfilter &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;
};
class domBorder_color;
typedef daeSmartRef<domBorder_color> domBorder_colorRef;
typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
class domBorder_color : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; }
protected: // Value
/**
* The domFx_color_common value of the text data of this element.
*/
domFx_color_common _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domFx_color_common reference of the _value array.
*/
domFx_color_common &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFx_color_common reference of the _value array.
*/
const domFx_color_common &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFx_color_common &val ) { _value = val; }
protected:
/**
* Constructor
*/
domBorder_color() : _value() {}
/**
* Destructor
*/
virtual ~domBorder_color() {}
/**
* Copy Constructor
*/
domBorder_color( const domBorder_color &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domBorder_color &operator=( const domBorder_color &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;
};
class domMipmap_maxlevel;
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
class domMipmap_maxlevel : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; }
protected: // Value
/**
* The xsUnsignedByte value of the text data of this element.
*/
xsUnsignedByte _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsUnsignedByte of the value.
*/
xsUnsignedByte getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsUnsignedByte val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_maxlevel() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_maxlevel() {}
/**
* Copy Constructor
*/
domMipmap_maxlevel( const domMipmap_maxlevel &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_maxlevel &operator=( const domMipmap_maxlevel &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;
};
class domMipmap_bias;
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
class domMipmap_bias : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; }
protected: // Value
/**
* The xsFloat value of the text data of this element.
*/
xsFloat _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsFloat of the value.
*/
xsFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_bias() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_bias() {}
/**
* Copy Constructor
*/
domMipmap_bias( const domMipmap_bias &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_bias &operator=( const domMipmap_bias &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: // Elements
domSourceRef elemSource;
domWrap_sRef elemWrap_s;
domWrap_tRef elemWrap_t;
domWrap_pRef elemWrap_p;
domMinfilterRef elemMinfilter;
domMagfilterRef elemMagfilter;
domMipfilterRef elemMipfilter;
domBorder_colorRef elemBorder_color;
domMipmap_maxlevelRef elemMipmap_maxlevel;
domMipmap_biasRef elemMipmap_bias;
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the source element.
* @return a daeSmartRef to the source element.
*/
const domSourceRef getSource() const { return elemSource; }
/**
* Gets the wrap_s element.
* @return a daeSmartRef to the wrap_s element.
*/
const domWrap_sRef getWrap_s() const { return elemWrap_s; }
/**
* Gets the wrap_t element.
* @return a daeSmartRef to the wrap_t element.
*/
const domWrap_tRef getWrap_t() const { return elemWrap_t; }
/**
* Gets the wrap_p element.
* @return a daeSmartRef to the wrap_p element.
*/
const domWrap_pRef getWrap_p() const { return elemWrap_p; }
/**
* Gets the minfilter element.
* @return a daeSmartRef to the minfilter element.
*/
const domMinfilterRef getMinfilter() const { return elemMinfilter; }
/**
* Gets the magfilter element.
* @return a daeSmartRef to the magfilter element.
*/
const domMagfilterRef getMagfilter() const { return elemMagfilter; }
/**
* Gets the mipfilter element.
* @return a daeSmartRef to the mipfilter element.
*/
const domMipfilterRef getMipfilter() const { return elemMipfilter; }
/**
* Gets the border_color element.
* @return a daeSmartRef to the border_color element.
*/
const domBorder_colorRef getBorder_color() const { return elemBorder_color; }
/**
* Gets the mipmap_maxlevel element.
* @return a daeSmartRef to the mipmap_maxlevel element.
*/
const domMipmap_maxlevelRef getMipmap_maxlevel() const { return elemMipmap_maxlevel; }
/**
* Gets the mipmap_bias element.
* @return a daeSmartRef to the mipmap_bias element.
*/
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
/**
* 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
*/
domFx_samplerCUBE_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domFx_samplerCUBE_common_complexType() {}
/**
* Copy Constructor
*/
domFx_samplerCUBE_common_complexType( const domFx_samplerCUBE_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_samplerCUBE_common_complexType &operator=( const domFx_samplerCUBE_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_samplerCUBE_common_complexType.
*/
class domFx_samplerCUBE_common : public daeElement, public domFx_samplerCUBE_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLERCUBE_COMMON; }
protected:
/**
* Constructor
*/
domFx_samplerCUBE_common() {}
/**
* Destructor
*/
virtual ~domFx_samplerCUBE_common() {}
/**
* Copy Constructor
*/
domFx_samplerCUBE_common( const domFx_samplerCUBE_common &cpy ) : daeElement(), domFx_samplerCUBE_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_samplerCUBE_common &operator=( const domFx_samplerCUBE_common &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

View File

@ -1,474 +0,0 @@
/*
* 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 __domFx_samplerDEPTH_common_h__
#define __domFx_samplerDEPTH_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* A texture sampler for depth maps.
*/
class domFx_samplerDEPTH_common_complexType
{
public:
class domSource;
typedef daeSmartRef<domSource> domSourceRef;
typedef daeTArray<domSourceRef> domSource_Array;
class domSource : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSource() : _value() {}
/**
* Destructor
*/
virtual ~domSource() {}
/**
* Copy Constructor
*/
domSource( const domSource &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSource &operator=( const domSource &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;
};
class domWrap_s;
typedef daeSmartRef<domWrap_s> domWrap_sRef;
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
class domWrap_s : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_s() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_s() {}
/**
* Copy Constructor
*/
domWrap_s( const domWrap_s &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_s &operator=( const domWrap_s &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;
};
class domWrap_t;
typedef daeSmartRef<domWrap_t> domWrap_tRef;
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
class domWrap_t : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_t() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_t() {}
/**
* Copy Constructor
*/
domWrap_t( const domWrap_t &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_t &operator=( const domWrap_t &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;
};
class domMinfilter;
typedef daeSmartRef<domMinfilter> domMinfilterRef;
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
class domMinfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMinfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMinfilter() {}
/**
* Copy Constructor
*/
domMinfilter( const domMinfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMinfilter &operator=( const domMinfilter &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;
};
class domMagfilter;
typedef daeSmartRef<domMagfilter> domMagfilterRef;
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
class domMagfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMagfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMagfilter() {}
/**
* Copy Constructor
*/
domMagfilter( const domMagfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMagfilter &operator=( const domMagfilter &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: // Elements
domSourceRef elemSource;
domWrap_sRef elemWrap_s;
domWrap_tRef elemWrap_t;
domMinfilterRef elemMinfilter;
domMagfilterRef elemMagfilter;
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the source element.
* @return a daeSmartRef to the source element.
*/
const domSourceRef getSource() const { return elemSource; }
/**
* Gets the wrap_s element.
* @return a daeSmartRef to the wrap_s element.
*/
const domWrap_sRef getWrap_s() const { return elemWrap_s; }
/**
* Gets the wrap_t element.
* @return a daeSmartRef to the wrap_t element.
*/
const domWrap_tRef getWrap_t() const { return elemWrap_t; }
/**
* Gets the minfilter element.
* @return a daeSmartRef to the minfilter element.
*/
const domMinfilterRef getMinfilter() const { return elemMinfilter; }
/**
* Gets the magfilter element.
* @return a daeSmartRef to the magfilter element.
*/
const domMagfilterRef getMagfilter() const { return elemMagfilter; }
/**
* 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
*/
domFx_samplerDEPTH_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domFx_samplerDEPTH_common_complexType() {}
/**
* Copy Constructor
*/
domFx_samplerDEPTH_common_complexType( const domFx_samplerDEPTH_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_samplerDEPTH_common_complexType &operator=( const domFx_samplerDEPTH_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_samplerDEPTH_common_complexType.
*/
class domFx_samplerDEPTH_common : public daeElement, public domFx_samplerDEPTH_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLERDEPTH_COMMON; }
protected:
/**
* Constructor
*/
domFx_samplerDEPTH_common() {}
/**
* Destructor
*/
virtual ~domFx_samplerDEPTH_common() {}
/**
* Copy Constructor
*/
domFx_samplerDEPTH_common( const domFx_samplerDEPTH_common &cpy ) : daeElement(), domFx_samplerDEPTH_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_samplerDEPTH_common &operator=( const domFx_samplerDEPTH_common &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

View File

@ -1,771 +0,0 @@
/*
* 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 __domFx_samplerRECT_common_h__
#define __domFx_samplerRECT_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* A two-dimensional texture sampler.
*/
class domFx_samplerRECT_common_complexType
{
public:
class domSource;
typedef daeSmartRef<domSource> domSourceRef;
typedef daeTArray<domSourceRef> domSource_Array;
class domSource : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSource() : _value() {}
/**
* Destructor
*/
virtual ~domSource() {}
/**
* Copy Constructor
*/
domSource( const domSource &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSource &operator=( const domSource &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;
};
class domWrap_s;
typedef daeSmartRef<domWrap_s> domWrap_sRef;
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
class domWrap_s : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_s() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_s() {}
/**
* Copy Constructor
*/
domWrap_s( const domWrap_s &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_s &operator=( const domWrap_s &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;
};
class domWrap_t;
typedef daeSmartRef<domWrap_t> domWrap_tRef;
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
class domWrap_t : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; }
protected: // Value
/**
* The domFx_sampler_wrap_common value of the text data of this element.
*/
domFx_sampler_wrap_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_wrap_common of the value.
*/
domFx_sampler_wrap_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_wrap_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_t() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_t() {}
/**
* Copy Constructor
*/
domWrap_t( const domWrap_t &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_t &operator=( const domWrap_t &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;
};
class domMinfilter;
typedef daeSmartRef<domMinfilter> domMinfilterRef;
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
class domMinfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMinfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMinfilter() {}
/**
* Copy Constructor
*/
domMinfilter( const domMinfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMinfilter &operator=( const domMinfilter &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;
};
class domMagfilter;
typedef daeSmartRef<domMagfilter> domMagfilterRef;
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
class domMagfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMagfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMagfilter() {}
/**
* Copy Constructor
*/
domMagfilter( const domMagfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMagfilter &operator=( const domMagfilter &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;
};
class domMipfilter;
typedef daeSmartRef<domMipfilter> domMipfilterRef;
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
class domMipfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMipfilter() {}
/**
* Copy Constructor
*/
domMipfilter( const domMipfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipfilter &operator=( const domMipfilter &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;
};
class domBorder_color;
typedef daeSmartRef<domBorder_color> domBorder_colorRef;
typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
class domBorder_color : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; }
protected: // Value
/**
* The domFx_color_common value of the text data of this element.
*/
domFx_color_common _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domFx_color_common reference of the _value array.
*/
domFx_color_common &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFx_color_common reference of the _value array.
*/
const domFx_color_common &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFx_color_common &val ) { _value = val; }
protected:
/**
* Constructor
*/
domBorder_color() : _value() {}
/**
* Destructor
*/
virtual ~domBorder_color() {}
/**
* Copy Constructor
*/
domBorder_color( const domBorder_color &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domBorder_color &operator=( const domBorder_color &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;
};
class domMipmap_maxlevel;
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
class domMipmap_maxlevel : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; }
protected: // Value
/**
* The xsUnsignedByte value of the text data of this element.
*/
xsUnsignedByte _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsUnsignedByte of the value.
*/
xsUnsignedByte getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsUnsignedByte val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_maxlevel() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_maxlevel() {}
/**
* Copy Constructor
*/
domMipmap_maxlevel( const domMipmap_maxlevel &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_maxlevel &operator=( const domMipmap_maxlevel &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;
};
class domMipmap_bias;
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
class domMipmap_bias : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; }
protected: // Value
/**
* The xsFloat value of the text data of this element.
*/
xsFloat _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsFloat of the value.
*/
xsFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_bias() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_bias() {}
/**
* Copy Constructor
*/
domMipmap_bias( const domMipmap_bias &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_bias &operator=( const domMipmap_bias &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: // Elements
domSourceRef elemSource;
domWrap_sRef elemWrap_s;
domWrap_tRef elemWrap_t;
domMinfilterRef elemMinfilter;
domMagfilterRef elemMagfilter;
domMipfilterRef elemMipfilter;
domBorder_colorRef elemBorder_color;
domMipmap_maxlevelRef elemMipmap_maxlevel;
domMipmap_biasRef elemMipmap_bias;
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the source element.
* @return a daeSmartRef to the source element.
*/
const domSourceRef getSource() const { return elemSource; }
/**
* Gets the wrap_s element.
* @return a daeSmartRef to the wrap_s element.
*/
const domWrap_sRef getWrap_s() const { return elemWrap_s; }
/**
* Gets the wrap_t element.
* @return a daeSmartRef to the wrap_t element.
*/
const domWrap_tRef getWrap_t() const { return elemWrap_t; }
/**
* Gets the minfilter element.
* @return a daeSmartRef to the minfilter element.
*/
const domMinfilterRef getMinfilter() const { return elemMinfilter; }
/**
* Gets the magfilter element.
* @return a daeSmartRef to the magfilter element.
*/
const domMagfilterRef getMagfilter() const { return elemMagfilter; }
/**
* Gets the mipfilter element.
* @return a daeSmartRef to the mipfilter element.
*/
const domMipfilterRef getMipfilter() const { return elemMipfilter; }
/**
* Gets the border_color element.
* @return a daeSmartRef to the border_color element.
*/
const domBorder_colorRef getBorder_color() const { return elemBorder_color; }
/**
* Gets the mipmap_maxlevel element.
* @return a daeSmartRef to the mipmap_maxlevel element.
*/
const domMipmap_maxlevelRef getMipmap_maxlevel() const { return elemMipmap_maxlevel; }
/**
* Gets the mipmap_bias element.
* @return a daeSmartRef to the mipmap_bias element.
*/
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
/**
* 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
*/
domFx_samplerRECT_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domFx_samplerRECT_common_complexType() {}
/**
* Copy Constructor
*/
domFx_samplerRECT_common_complexType( const domFx_samplerRECT_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_samplerRECT_common_complexType &operator=( const domFx_samplerRECT_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_samplerRECT_common_complexType.
*/
class domFx_samplerRECT_common : public daeElement, public domFx_samplerRECT_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLERRECT_COMMON; }
protected:
/**
* Constructor
*/
domFx_samplerRECT_common() {}
/**
* Destructor
*/
virtual ~domFx_samplerRECT_common() {}
/**
* Copy Constructor
*/
domFx_samplerRECT_common( const domFx_samplerRECT_common &cpy ) : daeElement(), domFx_samplerRECT_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_samplerRECT_common &operator=( const domFx_samplerRECT_common &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

View File

@ -1,122 +0,0 @@
/*
* 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 __domFx_setparam_common_h__
#define __domFx_setparam_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_basic_type_common.h>
#include <dom/domFx_annotate_common.h>
class domFx_setparam_common_complexType
{
protected: // Attribute
xsNCName attrRef;
protected: // Elements
domFx_annotate_common_Array elemAnnotate_array;
domFx_basic_type_commonRef elemFx_basic_type_common;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a xsNCName of the ref attribute.
*/
xsNCName getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( xsNCName atRef ) { attrRef = atRef; }
/**
* Gets the annotate element array.
* @return Returns a reference to the array of annotate elements.
*/
domFx_annotate_common_Array &getAnnotate_array() { return elemAnnotate_array; }
/**
* Gets the annotate element array.
* @return Returns a constant reference to the array of annotate elements.
*/
const domFx_annotate_common_Array &getAnnotate_array() const { return elemAnnotate_array; }
/**
* Gets the fx_basic_type_common element.
* @return a daeSmartRef to the fx_basic_type_common element.
*/
const domFx_basic_type_commonRef getFx_basic_type_common() const { return elemFx_basic_type_common; }
protected:
/**
* Constructor
*/
domFx_setparam_common_complexType() : attrRef(), elemAnnotate_array(), elemFx_basic_type_common() {}
/**
* Destructor
*/
virtual ~domFx_setparam_common_complexType() {}
/**
* Copy Constructor
*/
domFx_setparam_common_complexType( const domFx_setparam_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_setparam_common_complexType &operator=( const domFx_setparam_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_setparam_common_complexType.
*/
class domFx_setparam_common : public daeElement, public domFx_setparam_common_complexType
{
protected:
/**
* Constructor
*/
domFx_setparam_common() {}
/**
* Destructor
*/
virtual ~domFx_setparam_common() {}
/**
* Copy Constructor
*/
domFx_setparam_common( const domFx_setparam_common &cpy ) : daeElement(), domFx_setparam_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_setparam_common &operator=( const domFx_setparam_common &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 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 daeMetaElement* registerElement();
public: // STATIC MEMBERS
/**
* The daeMetaElement that describes this element in the meta object reflection framework.
*/
static daeMetaElement* _Meta;
};
#endif

View File

@ -1,206 +0,0 @@
/*
* 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 __domFx_stenciltarget_common_h__
#define __domFx_stenciltarget_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domFx_stenciltarget_common_complexType
{
protected: // Attributes
xsNonNegativeInteger attrIndex;
domFx_surface_face_enum attrFace;
xsNonNegativeInteger attrMip;
xsNonNegativeInteger attrSlice;
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex; }
/**
* Gets the face attribute.
* @return Returns a domFx_surface_face_enum of the face attribute.
*/
domFx_surface_face_enum getFace() const { return attrFace; }
/**
* Sets the face attribute.
* @param atFace The new value for the face attribute.
*/
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace; }
/**
* Gets the mip attribute.
* @return Returns a xsNonNegativeInteger of the mip attribute.
*/
xsNonNegativeInteger getMip() const { return attrMip; }
/**
* Sets the mip attribute.
* @param atMip The new value for the mip attribute.
*/
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip; }
/**
* Gets the slice attribute.
* @return Returns a xsNonNegativeInteger of the slice attribute.
*/
xsNonNegativeInteger getSlice() const { return attrSlice; }
/**
* Sets the slice attribute.
* @param atSlice The new value for the slice attribute.
*/
void setSlice( xsNonNegativeInteger atSlice ) { attrSlice = atSlice; }
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domFx_stenciltarget_common_complexType() : attrIndex(), attrFace(), attrMip(), attrSlice(), _value() {}
/**
* Destructor
*/
virtual ~domFx_stenciltarget_common_complexType() {}
/**
* Copy Constructor
*/
domFx_stenciltarget_common_complexType( const domFx_stenciltarget_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_stenciltarget_common_complexType &operator=( const domFx_stenciltarget_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_stenciltarget_common_complexType.
*/
class domFx_stenciltarget_common : public daeElement, public domFx_stenciltarget_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_STENCILTARGET_COMMON; }
public: //Accessors and Mutators
/**
* Gets the index attribute.
* @return Returns a xsNonNegativeInteger of the index attribute.
*/
xsNonNegativeInteger getIndex() const { return attrIndex; }
/**
* Sets the index attribute.
* @param atIndex The new value for the index attribute.
*/
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
_validAttributeArray[0] = true; }
/**
* Gets the face attribute.
* @return Returns a domFx_surface_face_enum of the face attribute.
*/
domFx_surface_face_enum getFace() const { return attrFace; }
/**
* Sets the face attribute.
* @param atFace The new value for the face attribute.
*/
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace;
_validAttributeArray[1] = true; }
/**
* Gets the mip attribute.
* @return Returns a xsNonNegativeInteger of the mip attribute.
*/
xsNonNegativeInteger getMip() const { return attrMip; }
/**
* Sets the mip attribute.
* @param atMip The new value for the mip attribute.
*/
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip;
_validAttributeArray[2] = true; }
/**
* Gets the slice attribute.
* @return Returns a xsNonNegativeInteger of the slice attribute.
*/
xsNonNegativeInteger getSlice() const { return attrSlice; }
/**
* Sets the slice attribute.
* @param atSlice The new value for the slice attribute.
*/
void setSlice( xsNonNegativeInteger atSlice ) { attrSlice = atSlice;
_validAttributeArray[3] = true; }
protected:
/**
* Constructor
*/
domFx_stenciltarget_common() {}
/**
* Destructor
*/
virtual ~domFx_stenciltarget_common() {}
/**
* Copy Constructor
*/
domFx_stenciltarget_common( const domFx_stenciltarget_common &cpy ) : daeElement(), domFx_stenciltarget_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_stenciltarget_common &operator=( const domFx_stenciltarget_common &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

View File

@ -1,638 +0,0 @@
/*
* 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 __domFx_surface_common_h__
#define __domFx_surface_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_surface_init_common.h>
#include <dom/domExtra.h>
#include <dom/domFx_surface_format_hint_common.h>
/**
* The fx_surface_common type is used to declare a resource that can be used
* both as the source for texture samples and as the target of a rendering
* pass.
*/
class domFx_surface_common_complexType
{
public:
class domFormat;
typedef daeSmartRef<domFormat> domFormatRef;
typedef daeTArray<domFormatRef> domFormat_Array;
/**
* Contains a string representing the profile and platform specific texel
* format that the author would like this surface to use. If this element
* is not specified then the application will use a common format R8G8B8A8
* with linear color gradient, not sRGB.
*/
class domFormat : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FORMAT; }
protected: // Value
/**
* The xsToken value of the text data of this element.
*/
xsToken _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsToken of the value.
*/
xsToken getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsToken val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domFormat() : _value() {}
/**
* Destructor
*/
virtual ~domFormat() {}
/**
* Copy Constructor
*/
domFormat( const domFormat &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFormat &operator=( const domFormat &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;
};
class domSize;
typedef daeSmartRef<domSize> domSizeRef;
typedef daeTArray<domSizeRef> domSize_Array;
/**
* The surface should be sized to these exact dimensions
*/
class domSize : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SIZE; }
protected: // Value
/**
* The domInt3 value of the text data of this element.
*/
domInt3 _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domInt3 reference of the _value array.
*/
domInt3 &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domInt3 reference of the _value array.
*/
const domInt3 &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domInt3 &val ) { _value = val; }
protected:
/**
* Constructor
*/
domSize() : _value() {}
/**
* Destructor
*/
virtual ~domSize() {}
/**
* Copy Constructor
*/
domSize( const domSize &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSize &operator=( const domSize &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;
};
class domViewport_ratio;
typedef daeSmartRef<domViewport_ratio> domViewport_ratioRef;
typedef daeTArray<domViewport_ratioRef> domViewport_ratio_Array;
/**
* The surface should be sized to a dimension based on this ratio of the viewport's
* dimensions in pixels
*/
class domViewport_ratio : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::VIEWPORT_RATIO; }
protected: // Value
/**
* The domFloat2 value of the text data of this element.
*/
domFloat2 _value;
public: //Accessors and Mutators
/**
* Gets the _value array.
* @return Returns a domFloat2 reference of the _value array.
*/
domFloat2 &getValue() { return _value; }
/**
* Gets the _value array.
* @return Returns a constant domFloat2 reference of the _value array.
*/
const domFloat2 &getValue() const { return _value; }
/**
* Sets the _value array.
* @param val The new value for the _value array.
*/
void setValue( const domFloat2 &val ) { _value = val; }
protected:
/**
* Constructor
*/
domViewport_ratio() : _value() {}
/**
* Destructor
*/
virtual ~domViewport_ratio() {}
/**
* Copy Constructor
*/
domViewport_ratio( const domViewport_ratio &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domViewport_ratio &operator=( const domViewport_ratio &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;
};
class domMip_levels;
typedef daeSmartRef<domMip_levels> domMip_levelsRef;
typedef daeTArray<domMip_levelsRef> domMip_levels_Array;
/**
* the surface should contain the following number of MIP levels. If this
* element is not present it is assumed that all miplevels exist until a dimension
* becomes 1 texel. To create a surface that has only one level of mip maps
* (mip=0) set this to 1. If the value is 0 the result is the same as if
* mip_levels was unspecified, all possible mip_levels will exist.
*/
class domMip_levels : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIP_LEVELS; }
protected: // Value
/**
* The xsUnsignedInt value of the text data of this element.
*/
xsUnsignedInt _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsUnsignedInt of the value.
*/
xsUnsignedInt getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsUnsignedInt val ) { _value = val; }
protected:
/**
* Constructor
*/
domMip_levels() : _value() {}
/**
* Destructor
*/
virtual ~domMip_levels() {}
/**
* Copy Constructor
*/
domMip_levels( const domMip_levels &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMip_levels &operator=( const domMip_levels &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;
};
class domMipmap_generate;
typedef daeSmartRef<domMipmap_generate> domMipmap_generateRef;
typedef daeTArray<domMipmap_generateRef> domMipmap_generate_Array;
/**
* By default it is assumed that mipmaps are supplied by the author so, if
* not all subsurfaces are initialized, it is invalid and will result in profile
* and platform specific behavior unless mipmap_generate is responsible for
* initializing the remainder of the sub-surfaces
*/
class domMipmap_generate : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_GENERATE; }
protected: // Value
/**
* The xsBoolean value of the text data of this element.
*/
xsBoolean _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsBoolean of the value.
*/
xsBoolean getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsBoolean val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_generate() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_generate() {}
/**
* Copy Constructor
*/
domMipmap_generate( const domMipmap_generate &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_generate &operator=( const domMipmap_generate &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: // Attribute
/**
* Specifying the type of a surface is mandatory though the type may be "UNTYPED".
* When a surface is typed as UNTYPED, it is said to be temporarily untyped
* and instead will be typed later by the context it is used in such as which
* samplers reference it in that are used in a particular technique or pass.
* If there is a type mismatch between what is set into it later and what
* the runtime decides the type should be the result in profile and platform
* specific behavior.
*/
domFx_surface_type_enum attrType;
protected: // Elements
/**
* The common set of initalization options for surfaces. Choose which is
* appropriate for your surface based on the type attribute and other characteristics
* described by the annotation docs on the choiced child elements of this
* type. @see domFx_surface_init_common
*/
domFx_surface_init_commonRef elemFx_surface_init_common;
/**
* Contains a string representing the profile and platform specific texel
* format that the author would like this surface to use. If this element
* is not specified then the application will use a common format R8G8B8A8
* with linear color gradient, not sRGB. @see domFormat
*/
domFormatRef elemFormat;
/**
* If the exact format cannot be resolved via the "format" element then the
* format_hint will describe the important features of the format so that
* the application may select a compatable or close format @see domFormat_hint
*/
domFx_surface_format_hint_commonRef elemFormat_hint;
/**
* The surface should be sized to these exact dimensions @see domSize
*/
domSizeRef elemSize;
/**
* The surface should be sized to a dimension based on this ratio of the viewport's
* dimensions in pixels @see domViewport_ratio
*/
domViewport_ratioRef elemViewport_ratio;
/**
* the surface should contain the following number of MIP levels. If this
* element is not present it is assumed that all miplevels exist until a dimension
* becomes 1 texel. To create a surface that has only one level of mip maps
* (mip=0) set this to 1. If the value is 0 the result is the same as if
* mip_levels was unspecified, all possible mip_levels will exist. @see domMip_levels
*/
domMip_levelsRef elemMip_levels;
/**
* By default it is assumed that mipmaps are supplied by the author so, if
* not all subsurfaces are initialized, it is invalid and will result in profile
* and platform specific behavior unless mipmap_generate is responsible for
* initializing the remainder of the sub-surfaces @see domMipmap_generate
*/
domMipmap_generateRef elemMipmap_generate;
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 type attribute.
* @return Returns a domFx_surface_type_enum of the type attribute.
*/
domFx_surface_type_enum getType() const { return attrType; }
/**
* Sets the type attribute.
* @param atType The new value for the type attribute.
*/
void setType( domFx_surface_type_enum atType ) { attrType = atType; }
/**
* Gets the fx_surface_init_common element.
* @return a daeSmartRef to the fx_surface_init_common element.
*/
const domFx_surface_init_commonRef getFx_surface_init_common() const { return elemFx_surface_init_common; }
/**
* Gets the format element.
* @return a daeSmartRef to the format element.
*/
const domFormatRef getFormat() const { return elemFormat; }
/**
* Gets the format_hint element.
* @return a daeSmartRef to the format_hint element.
*/
const domFx_surface_format_hint_commonRef getFormat_hint() const { return elemFormat_hint; }
/**
* Gets the size element.
* @return a daeSmartRef to the size element.
*/
const domSizeRef getSize() const { return elemSize; }
/**
* Gets the viewport_ratio element.
* @return a daeSmartRef to the viewport_ratio element.
*/
const domViewport_ratioRef getViewport_ratio() const { return elemViewport_ratio; }
/**
* Gets the mip_levels element.
* @return a daeSmartRef to the mip_levels element.
*/
const domMip_levelsRef getMip_levels() const { return elemMip_levels; }
/**
* Gets the mipmap_generate element.
* @return a daeSmartRef to the mipmap_generate element.
*/
const domMipmap_generateRef getMipmap_generate() const { return elemMipmap_generate; }
/**
* 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
*/
domFx_surface_common_complexType() : attrType(), elemFx_surface_init_common(), elemFormat(), elemFormat_hint(), elemSize(), elemViewport_ratio(), elemMip_levels(), elemMipmap_generate(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domFx_surface_common_complexType() {}
/**
* Copy Constructor
*/
domFx_surface_common_complexType( const domFx_surface_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_common_complexType &operator=( const domFx_surface_common_complexType &cpy ) { (void)cpy; return *this; }
public: //Backwards Compatibility
typedef domFx_surface_init_from_common domInit_from;
typedef domFx_surface_init_from_commonRef domInit_fromRef;
typedef domFx_surface_init_from_common_Array domInit_from_Array;
/**
* Gets the init_from element array.
* @return Returns a reference to the array of init_from elements.
*/
DLLSPEC domInit_from_Array &getInit_from_array();
/**
* Gets the init_from element array.
* @return Returns a constant reference to the array of init_from elements.
*/
DLLSPEC const domInit_from_Array &getInit_from_array() const;
private:
domInit_from_Array emptyArray;
};
/**
* An element of type domFx_surface_common_complexType.
*/
class domFx_surface_common : public daeElement, public domFx_surface_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_COMMON; }
public: //Accessors and Mutators
/**
* Gets the type attribute.
* @return Returns a domFx_surface_type_enum of the type attribute.
*/
domFx_surface_type_enum getType() const { return attrType; }
/**
* Sets the type attribute.
* @param atType The new value for the type attribute.
*/
void setType( domFx_surface_type_enum atType ) { attrType = atType;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domFx_surface_common() {}
/**
* Destructor
*/
virtual ~domFx_surface_common() {}
/**
* Copy Constructor
*/
domFx_surface_common( const domFx_surface_common &cpy ) : daeElement(), domFx_surface_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_common &operator=( const domFx_surface_common &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

View File

@ -1,448 +0,0 @@
/*
* 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 __domFx_surface_format_hint_common_h__
#define __domFx_surface_format_hint_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* If the exact format cannot be resolve via other methods then the format_hint
* will describe the important features of the format so that the application
* may select a compatable or close format
*/
class domFx_surface_format_hint_common_complexType
{
public:
class domChannels;
typedef daeSmartRef<domChannels> domChannelsRef;
typedef daeTArray<domChannelsRef> domChannels_Array;
/**
* The per-texel layout of the format. The length of the string indicate
* how many channels there are and the letter respresents the name of the
* channel. There are typically 0 to 4 channels.
*/
class domChannels : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CHANNELS; }
protected: // Value
/**
* The domFx_surface_format_hint_channels_enum value of the text data of this element.
*/
domFx_surface_format_hint_channels_enum _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_surface_format_hint_channels_enum of the value.
*/
domFx_surface_format_hint_channels_enum getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_surface_format_hint_channels_enum val ) { _value = val; }
protected:
/**
* Constructor
*/
domChannels() : _value() {}
/**
* Destructor
*/
virtual ~domChannels() {}
/**
* Copy Constructor
*/
domChannels( const domChannels &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domChannels &operator=( const domChannels &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;
};
class domRange;
typedef daeSmartRef<domRange> domRangeRef;
typedef daeTArray<domRangeRef> domRange_Array;
/**
* Each channel represents a range of values. Some example ranges are signed
* or unsigned integers, or between between a clamped range such as 0.0f to
* 1.0f, or high dynamic range via floating point
*/
class domRange : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RANGE; }
protected: // Value
/**
* The domFx_surface_format_hint_range_enum value of the text data of this element.
*/
domFx_surface_format_hint_range_enum _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_surface_format_hint_range_enum of the value.
*/
domFx_surface_format_hint_range_enum getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_surface_format_hint_range_enum val ) { _value = val; }
protected:
/**
* Constructor
*/
domRange() : _value() {}
/**
* Destructor
*/
virtual ~domRange() {}
/**
* Copy Constructor
*/
domRange( const domRange &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domRange &operator=( const domRange &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;
};
class domPrecision;
typedef daeSmartRef<domPrecision> domPrecisionRef;
typedef daeTArray<domPrecisionRef> domPrecision_Array;
/**
* Each channel of the texel has a precision. Typically these are all linked
* together. An exact format lay lower the precision of an individual channel
* but applying a higher precision by linking the channels together may still
* convey the same information.
*/
class domPrecision : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PRECISION; }
protected: // Value
/**
* The domFx_surface_format_hint_precision_enum value of the text data of this element.
*/
domFx_surface_format_hint_precision_enum _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_surface_format_hint_precision_enum of the value.
*/
domFx_surface_format_hint_precision_enum getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_surface_format_hint_precision_enum val ) { _value = val; }
protected:
/**
* Constructor
*/
domPrecision() : _value() {}
/**
* Destructor
*/
virtual ~domPrecision() {}
/**
* Copy Constructor
*/
domPrecision( const domPrecision &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domPrecision &operator=( const domPrecision &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;
};
class domOption;
typedef daeSmartRef<domOption> domOptionRef;
typedef daeTArray<domOptionRef> domOption_Array;
/**
* Additional hints about data relationships and other things to help the
* application pick the best format.
*/
class domOption : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::OPTION; }
protected: // Value
/**
* The domFx_surface_format_hint_option_enum value of the text data of this element.
*/
domFx_surface_format_hint_option_enum _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_surface_format_hint_option_enum of the value.
*/
domFx_surface_format_hint_option_enum getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_surface_format_hint_option_enum val ) { _value = val; }
protected:
/**
* Constructor
*/
domOption() : _value() {}
/**
* Destructor
*/
virtual ~domOption() {}
/**
* Copy Constructor
*/
domOption( const domOption &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domOption &operator=( const domOption &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: // Elements
/**
* The per-texel layout of the format. The length of the string indicate
* how many channels there are and the letter respresents the name of the
* channel. There are typically 0 to 4 channels. @see domChannels
*/
domChannelsRef elemChannels;
/**
* Each channel represents a range of values. Some example ranges are signed
* or unsigned integers, or between between a clamped range such as 0.0f to
* 1.0f, or high dynamic range via floating point @see domRange
*/
domRangeRef elemRange;
/**
* Each channel of the texel has a precision. Typically these are all linked
* together. An exact format lay lower the precision of an individual channel
* but applying a higher precision by linking the channels together may still
* convey the same information. @see domPrecision
*/
domPrecisionRef elemPrecision;
/**
* Additional hints about data relationships and other things to help the
* application pick the best format. @see domOption
*/
domOption_Array elemOption_array;
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the channels element.
* @return a daeSmartRef to the channels element.
*/
const domChannelsRef getChannels() const { return elemChannels; }
/**
* Gets the range element.
* @return a daeSmartRef to the range element.
*/
const domRangeRef getRange() const { return elemRange; }
/**
* Gets the precision element.
* @return a daeSmartRef to the precision element.
*/
const domPrecisionRef getPrecision() const { return elemPrecision; }
/**
* Gets the option element array.
* @return Returns a reference to the array of option elements.
*/
domOption_Array &getOption_array() { return elemOption_array; }
/**
* Gets the option element array.
* @return Returns a constant reference to the array of option elements.
*/
const domOption_Array &getOption_array() const { return elemOption_array; }
/**
* 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
*/
domFx_surface_format_hint_common_complexType() : elemChannels(), elemRange(), elemPrecision(), elemOption_array(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domFx_surface_format_hint_common_complexType() {}
/**
* Copy Constructor
*/
domFx_surface_format_hint_common_complexType( const domFx_surface_format_hint_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_format_hint_common_complexType &operator=( const domFx_surface_format_hint_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_surface_format_hint_common_complexType.
*/
class domFx_surface_format_hint_common : public daeElement, public domFx_surface_format_hint_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_FORMAT_HINT_COMMON; }
protected:
/**
* Constructor
*/
domFx_surface_format_hint_common() {}
/**
* Destructor
*/
virtual ~domFx_surface_format_hint_common() {}
/**
* Copy Constructor
*/
domFx_surface_format_hint_common( const domFx_surface_format_hint_common &cpy ) : daeElement(), domFx_surface_format_hint_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_format_hint_common &operator=( const domFx_surface_format_hint_common &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

View File

@ -1,278 +0,0 @@
/*
* 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 __domFx_surface_init_common_h__
#define __domFx_surface_init_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_surface_init_cube_common.h>
#include <dom/domFx_surface_init_volume_common.h>
#include <dom/domFx_surface_init_planar_common.h>
#include <dom/domFx_surface_init_from_common.h>
/**
* The common set of initalization options for surfaces. Choose which is
* appropriate for your surface based on type and other characteristics. described
* by the annotation docs on the child elements.
*/
class domFx_surface_init_common : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_INIT_COMMON; }
public:
class domInit_as_null;
typedef daeSmartRef<domInit_as_null> domInit_as_nullRef;
typedef daeTArray<domInit_as_nullRef> domInit_as_null_Array;
/**
* This surface is intended to be initialized later externally by a "setparam"
* element. If it is used before being initialized there is profile and platform
* specific behavior. Most elements on the surface element containing this
* will be ignored including mip_levels, mipmap_generate, size, viewport_ratio,
* and format.
*/
class domInit_as_null : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INIT_AS_NULL; }
protected:
/**
* Constructor
*/
domInit_as_null() {}
/**
* Destructor
*/
virtual ~domInit_as_null() {}
/**
* Copy Constructor
*/
domInit_as_null( const domInit_as_null &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domInit_as_null &operator=( const domInit_as_null &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;
};
class domInit_as_target;
typedef daeSmartRef<domInit_as_target> domInit_as_targetRef;
typedef daeTArray<domInit_as_targetRef> domInit_as_target_Array;
/**
* Init as a target for depth, stencil, or color. It does not need image
* data. Surface should not have mipmap_generate when using this.
*/
class domInit_as_target : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INIT_AS_TARGET; }
protected:
/**
* Constructor
*/
domInit_as_target() {}
/**
* Destructor
*/
virtual ~domInit_as_target() {}
/**
* Copy Constructor
*/
domInit_as_target( const domInit_as_target &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domInit_as_target &operator=( const domInit_as_target &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: // Elements
/**
* This surface is intended to be initialized later externally by a "setparam"
* element. If it is used before being initialized there is profile and platform
* specific behavior. Most elements on the surface element containing this
* will be ignored including mip_levels, mipmap_generate, size, viewport_ratio,
* and format. @see domInit_as_null
*/
domInit_as_nullRef elemInit_as_null;
/**
* Init as a target for depth, stencil, or color. It does not need image
* data. Surface should not have mipmap_generate when using this. @see domInit_as_target
*/
domInit_as_targetRef elemInit_as_target;
/**
* Init a CUBE from a compound image such as DDS @see domInit_cube
*/
domFx_surface_init_cube_commonRef elemInit_cube;
/**
* Init a 3D from a compound image such as DDS @see domInit_volume
*/
domFx_surface_init_volume_commonRef elemInit_volume;
/**
* Init a 1D,2D,RECT,DEPTH from a compound image such as DDS @see domInit_planar
*/
domFx_surface_init_planar_commonRef elemInit_planar;
/**
* Initialize the surface one sub-surface at a time by specifying combinations
* of mip, face, and slice which make sense for a particular surface type.
* Each sub-surface is initialized by a common 2D image, not a complex compound
* image such as DDS. If not all subsurfaces are initialized, it is invalid
* and will result in profile and platform specific behavior unless mipmap_generate
* is responsible for initializing the remainder of the sub-surfaces @see
* domInit_from
*/
domFx_surface_init_from_common_Array elemInit_from_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 init_as_null element.
* @return a daeSmartRef to the init_as_null element.
*/
const domInit_as_nullRef getInit_as_null() const { return elemInit_as_null; }
/**
* Gets the init_as_target element.
* @return a daeSmartRef to the init_as_target element.
*/
const domInit_as_targetRef getInit_as_target() const { return elemInit_as_target; }
/**
* Gets the init_cube element.
* @return a daeSmartRef to the init_cube element.
*/
const domFx_surface_init_cube_commonRef getInit_cube() const { return elemInit_cube; }
/**
* Gets the init_volume element.
* @return a daeSmartRef to the init_volume element.
*/
const domFx_surface_init_volume_commonRef getInit_volume() const { return elemInit_volume; }
/**
* Gets the init_planar element.
* @return a daeSmartRef to the init_planar element.
*/
const domFx_surface_init_planar_commonRef getInit_planar() const { return elemInit_planar; }
/**
* Gets the init_from element array.
* @return Returns a reference to the array of init_from elements.
*/
domFx_surface_init_from_common_Array &getInit_from_array() { return elemInit_from_array; }
/**
* Gets the init_from element array.
* @return Returns a constant reference to the array of init_from elements.
*/
const domFx_surface_init_from_common_Array &getInit_from_array() const { return elemInit_from_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
*/
domFx_surface_init_common() : elemInit_as_null(), elemInit_as_target(), elemInit_cube(), elemInit_volume(), elemInit_planar(), elemInit_from_array() {}
/**
* Destructor
*/
virtual ~domFx_surface_init_common() {}
/**
* Copy Constructor
*/
domFx_surface_init_common( const domFx_surface_init_common &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_init_common &operator=( const domFx_surface_init_common &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

View File

@ -1,458 +0,0 @@
/*
* 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 __domFx_surface_init_cube_common_h__
#define __domFx_surface_init_cube_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domFx_surface_init_cube_common_complexType
{
public:
class domAll;
typedef daeSmartRef<domAll> domAllRef;
typedef daeTArray<domAllRef> domAll_Array;
/**
* Init the entire surface with one compound image such as DDS
*/
class domAll : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALL; }
protected: // Attribute
xsIDREF attrRef;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a xsIDREF reference of the ref attribute.
*/
xsIDREF &getRef() { return attrRef; }
/**
* Gets the ref attribute.
* @return Returns a constant xsIDREF reference of the ref attribute.
*/
const xsIDREF &getRef() const{ return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( const xsIDREF &atRef ) { attrRef = atRef;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domAll() : attrRef() {}
/**
* Destructor
*/
virtual ~domAll() {}
/**
* Copy Constructor
*/
domAll( const domAll &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domAll &operator=( const domAll &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;
};
class domPrimary;
typedef daeSmartRef<domPrimary> domPrimaryRef;
typedef daeTArray<domPrimaryRef> domPrimary_Array;
/**
* Init all primary mip level 0 subsurfaces with one compound image such as
* DDS. Use of this element expects that the surface has element mip_levels=0
* or mipmap_generate.
*/
class domPrimary : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PRIMARY; }
public:
class domOrder;
typedef daeSmartRef<domOrder> domOrderRef;
typedef daeTArray<domOrderRef> domOrder_Array;
/**
* If the image dues not natively describe the face ordering then this series
* of order elements will describe which face the index belongs too
*/
class domOrder : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ORDER; }
protected: // Value
/**
* The domFx_surface_face_enum value of the text data of this element.
*/
domFx_surface_face_enum _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_surface_face_enum of the value.
*/
domFx_surface_face_enum getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_surface_face_enum val ) { _value = val; }
protected:
/**
* Constructor
*/
domOrder() : _value() {}
/**
* Destructor
*/
virtual ~domOrder() {}
/**
* Copy Constructor
*/
domOrder( const domOrder &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domOrder &operator=( const domOrder &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: // Attribute
xsIDREF attrRef;
protected: // Element
/**
* If the image dues not natively describe the face ordering then this series
* of order elements will describe which face the index belongs too @see domOrder
*/
domOrder_Array elemOrder_array;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a xsIDREF reference of the ref attribute.
*/
xsIDREF &getRef() { return attrRef; }
/**
* Gets the ref attribute.
* @return Returns a constant xsIDREF reference of the ref attribute.
*/
const xsIDREF &getRef() const{ return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( const xsIDREF &atRef ) { attrRef = atRef;
_validAttributeArray[0] = true; }
/**
* Gets the order element array.
* @return Returns a reference to the array of order elements.
*/
domOrder_Array &getOrder_array() { return elemOrder_array; }
/**
* Gets the order element array.
* @return Returns a constant reference to the array of order elements.
*/
const domOrder_Array &getOrder_array() const { return elemOrder_array; }
protected:
/**
* Constructor
*/
domPrimary() : attrRef(), elemOrder_array() {}
/**
* Destructor
*/
virtual ~domPrimary() {}
/**
* Copy Constructor
*/
domPrimary( const domPrimary &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domPrimary &operator=( const domPrimary &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;
};
class domFace;
typedef daeSmartRef<domFace> domFaceRef;
typedef daeTArray<domFaceRef> domFace_Array;
/**
* Init each face mipchain with one compound image such as DDS
*/
class domFace : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FACE; }
protected: // Attribute
xsIDREF attrRef;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a xsIDREF reference of the ref attribute.
*/
xsIDREF &getRef() { return attrRef; }
/**
* Gets the ref attribute.
* @return Returns a constant xsIDREF reference of the ref attribute.
*/
const xsIDREF &getRef() const{ return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( const xsIDREF &atRef ) { attrRef = atRef;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domFace() : attrRef() {}
/**
* Destructor
*/
virtual ~domFace() {}
/**
* Copy Constructor
*/
domFace( const domFace &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFace &operator=( const domFace &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: // Elements
/**
* Init the entire surface with one compound image such as DDS @see domAll
*/
domAllRef elemAll;
/**
* Init all primary mip level 0 subsurfaces with one compound image such as
* DDS. Use of this element expects that the surface has element mip_levels=0
* or mipmap_generate. @see domPrimary
*/
domPrimaryRef elemPrimary;
/**
* Init each face mipchain with one compound image such as DDS @see domFace
*/
domFace_Array elemFace_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 all element.
* @return a daeSmartRef to the all element.
*/
const domAllRef getAll() const { return elemAll; }
/**
* Gets the primary element.
* @return a daeSmartRef to the primary element.
*/
const domPrimaryRef getPrimary() const { return elemPrimary; }
/**
* Gets the face element array.
* @return Returns a reference to the array of face elements.
*/
domFace_Array &getFace_array() { return elemFace_array; }
/**
* Gets the face element array.
* @return Returns a constant reference to the array of face elements.
*/
const domFace_Array &getFace_array() const { return elemFace_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
*/
domFx_surface_init_cube_common_complexType() : elemAll(), elemPrimary(), elemFace_array() {}
/**
* Destructor
*/
virtual ~domFx_surface_init_cube_common_complexType() {}
/**
* Copy Constructor
*/
domFx_surface_init_cube_common_complexType( const domFx_surface_init_cube_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_init_cube_common_complexType &operator=( const domFx_surface_init_cube_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_surface_init_cube_common_complexType.
*/
class domFx_surface_init_cube_common : public daeElement, public domFx_surface_init_cube_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_INIT_CUBE_COMMON; }
protected:
/**
* Constructor
*/
domFx_surface_init_cube_common() {}
/**
* Destructor
*/
virtual ~domFx_surface_init_cube_common() {}
/**
* Copy Constructor
*/
domFx_surface_init_cube_common( const domFx_surface_init_cube_common &cpy ) : daeElement(), domFx_surface_init_cube_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_init_cube_common &operator=( const domFx_surface_init_cube_common &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

View File

@ -1,191 +0,0 @@
/*
* 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 __domFx_surface_init_from_common_h__
#define __domFx_surface_init_from_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
/**
* This element is an IDREF which specifies the image to use to initialize
* a specific mip of a 1D or 2D surface, 3D slice, or Cube face.
*/
class domFx_surface_init_from_common_complexType
{
protected: // Attributes
xsUnsignedInt attrMip;
xsUnsignedInt attrSlice;
domFx_surface_face_enum attrFace;
protected: // Value
/**
* The xsIDREF value of the text data of this element.
*/
xsIDREF _value;
public: //Accessors and Mutators
/**
* Gets the mip attribute.
* @return Returns a xsUnsignedInt of the mip attribute.
*/
xsUnsignedInt getMip() const { return attrMip; }
/**
* Sets the mip attribute.
* @param atMip The new value for the mip attribute.
*/
void setMip( xsUnsignedInt atMip ) { attrMip = atMip; }
/**
* Gets the slice attribute.
* @return Returns a xsUnsignedInt of the slice attribute.
*/
xsUnsignedInt getSlice() const { return attrSlice; }
/**
* Sets the slice attribute.
* @param atSlice The new value for the slice attribute.
*/
void setSlice( xsUnsignedInt atSlice ) { attrSlice = atSlice; }
/**
* Gets the face attribute.
* @return Returns a domFx_surface_face_enum of the face attribute.
*/
domFx_surface_face_enum getFace() const { return attrFace; }
/**
* Sets the face attribute.
* @param atFace The new value for the face attribute.
*/
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace; }
/**
* Gets the value of this element.
* @return Returns a xsIDREF of the value.
*/
xsIDREF &getValue() { return _value; }
/**
* Gets the value of this element.
* @return Returns a constant xsIDREF of the value.
*/
const xsIDREF &getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( const xsIDREF &val ) { _value = val; }
protected:
/**
* Constructor
*/
domFx_surface_init_from_common_complexType() : attrMip(), attrSlice(), attrFace(), _value() {}
/**
* Destructor
*/
virtual ~domFx_surface_init_from_common_complexType() {}
/**
* Copy Constructor
*/
domFx_surface_init_from_common_complexType( const domFx_surface_init_from_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_init_from_common_complexType &operator=( const domFx_surface_init_from_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_surface_init_from_common_complexType.
*/
class domFx_surface_init_from_common : public daeElement, public domFx_surface_init_from_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_INIT_FROM_COMMON; }
public: //Accessors and Mutators
/**
* Gets the mip attribute.
* @return Returns a xsUnsignedInt of the mip attribute.
*/
xsUnsignedInt getMip() const { return attrMip; }
/**
* Sets the mip attribute.
* @param atMip The new value for the mip attribute.
*/
void setMip( xsUnsignedInt atMip ) { attrMip = atMip;
_validAttributeArray[0] = true; }
/**
* Gets the slice attribute.
* @return Returns a xsUnsignedInt of the slice attribute.
*/
xsUnsignedInt getSlice() const { return attrSlice; }
/**
* Sets the slice attribute.
* @param atSlice The new value for the slice attribute.
*/
void setSlice( xsUnsignedInt atSlice ) { attrSlice = atSlice;
_validAttributeArray[1] = true; }
/**
* Gets the face attribute.
* @return Returns a domFx_surface_face_enum of the face attribute.
*/
domFx_surface_face_enum getFace() const { return attrFace; }
/**
* Sets the face attribute.
* @param atFace The new value for the face attribute.
*/
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace;
_validAttributeArray[2] = true; }
protected:
/**
* Constructor
*/
domFx_surface_init_from_common() {}
/**
* Destructor
*/
virtual ~domFx_surface_init_from_common() {}
/**
* Copy Constructor
*/
domFx_surface_init_from_common( const domFx_surface_init_from_common &cpy ) : daeElement(), domFx_surface_init_from_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_init_from_common &operator=( const domFx_surface_init_from_common &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

View File

@ -1,179 +0,0 @@
/*
* 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 __domFx_surface_init_planar_common_h__
#define __domFx_surface_init_planar_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
/**
* For 1D, 2D, RECT surface types
*/
class domFx_surface_init_planar_common_complexType
{
public:
class domAll;
typedef daeSmartRef<domAll> domAllRef;
typedef daeTArray<domAllRef> domAll_Array;
/**
* Init the entire surface with one compound image such as DDS
*/
class domAll : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALL; }
protected: // Attribute
xsIDREF attrRef;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a xsIDREF reference of the ref attribute.
*/
xsIDREF &getRef() { return attrRef; }
/**
* Gets the ref attribute.
* @return Returns a constant xsIDREF reference of the ref attribute.
*/
const xsIDREF &getRef() const{ return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( const xsIDREF &atRef ) { attrRef = atRef;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domAll() : attrRef() {}
/**
* Destructor
*/
virtual ~domAll() {}
/**
* Copy Constructor
*/
domAll( const domAll &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domAll &operator=( const domAll &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: // Element
/**
* Init the entire surface with one compound image such as DDS @see domAll
*/
domAllRef elemAll;
public: //Accessors and Mutators
/**
* Gets the all element.
* @return a daeSmartRef to the all element.
*/
const domAllRef getAll() const { return elemAll; }
protected:
/**
* Constructor
*/
domFx_surface_init_planar_common_complexType() : elemAll() {}
/**
* Destructor
*/
virtual ~domFx_surface_init_planar_common_complexType() {}
/**
* Copy Constructor
*/
domFx_surface_init_planar_common_complexType( const domFx_surface_init_planar_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_init_planar_common_complexType &operator=( const domFx_surface_init_planar_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_surface_init_planar_common_complexType.
*/
class domFx_surface_init_planar_common : public daeElement, public domFx_surface_init_planar_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_INIT_PLANAR_COMMON; }
protected:
/**
* Constructor
*/
domFx_surface_init_planar_common() {}
/**
* Destructor
*/
virtual ~domFx_surface_init_planar_common() {}
/**
* Copy Constructor
*/
domFx_surface_init_planar_common( const domFx_surface_init_planar_common &cpy ) : daeElement(), domFx_surface_init_planar_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_init_planar_common &operator=( const domFx_surface_init_planar_common &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

View File

@ -1,281 +0,0 @@
/*
* 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 __domFx_surface_init_volume_common_h__
#define __domFx_surface_init_volume_common_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domFx_surface_init_volume_common_complexType
{
public:
class domAll;
typedef daeSmartRef<domAll> domAllRef;
typedef daeTArray<domAllRef> domAll_Array;
/**
* Init the entire surface with one compound image such as DDS
*/
class domAll : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALL; }
protected: // Attribute
xsIDREF attrRef;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a xsIDREF reference of the ref attribute.
*/
xsIDREF &getRef() { return attrRef; }
/**
* Gets the ref attribute.
* @return Returns a constant xsIDREF reference of the ref attribute.
*/
const xsIDREF &getRef() const{ return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( const xsIDREF &atRef ) { attrRef = atRef;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domAll() : attrRef() {}
/**
* Destructor
*/
virtual ~domAll() {}
/**
* Copy Constructor
*/
domAll( const domAll &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domAll &operator=( const domAll &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;
};
class domPrimary;
typedef daeSmartRef<domPrimary> domPrimaryRef;
typedef daeTArray<domPrimaryRef> domPrimary_Array;
/**
* Init mip level 0 of the surface with one compound image such as DDS. Use
* of this element expects that the surface has element mip_levels=0 or mipmap_generate.
*/
class domPrimary : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PRIMARY; }
protected: // Attribute
xsIDREF attrRef;
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a xsIDREF reference of the ref attribute.
*/
xsIDREF &getRef() { return attrRef; }
/**
* Gets the ref attribute.
* @return Returns a constant xsIDREF reference of the ref attribute.
*/
const xsIDREF &getRef() const{ return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( const xsIDREF &atRef ) { attrRef = atRef;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domPrimary() : attrRef() {}
/**
* Destructor
*/
virtual ~domPrimary() {}
/**
* Copy Constructor
*/
domPrimary( const domPrimary &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domPrimary &operator=( const domPrimary &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: // Elements
/**
* Init the entire surface with one compound image such as DDS @see domAll
*/
domAllRef elemAll;
/**
* Init mip level 0 of the surface with one compound image such as DDS. Use
* of this element expects that the surface has element mip_levels=0 or mipmap_generate.
* @see domPrimary
*/
domPrimaryRef elemPrimary;
/**
* 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 all element.
* @return a daeSmartRef to the all element.
*/
const domAllRef getAll() const { return elemAll; }
/**
* Gets the primary element.
* @return a daeSmartRef to the primary element.
*/
const domPrimaryRef getPrimary() const { return elemPrimary; }
/**
* 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
*/
domFx_surface_init_volume_common_complexType() : elemAll(), elemPrimary() {}
/**
* Destructor
*/
virtual ~domFx_surface_init_volume_common_complexType() {}
/**
* Copy Constructor
*/
domFx_surface_init_volume_common_complexType( const domFx_surface_init_volume_common_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_init_volume_common_complexType &operator=( const domFx_surface_init_volume_common_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domFx_surface_init_volume_common_complexType.
*/
class domFx_surface_init_volume_common : public daeElement, public domFx_surface_init_volume_common_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_INIT_VOLUME_COMMON; }
protected:
/**
* Constructor
*/
domFx_surface_init_volume_common() {}
/**
* Destructor
*/
virtual ~domFx_surface_init_volume_common() {}
/**
* Copy Constructor
*/
domFx_surface_init_volume_common( const domFx_surface_init_volume_common &cpy ) : daeElement(), domFx_surface_init_volume_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domFx_surface_init_volume_common &operator=( const domFx_surface_init_volume_common &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

View File

@ -1,181 +0,0 @@
/*
* 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 __domGeometry_h__
#define __domGeometry_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domAsset.h>
#include <dom/domConvex_mesh.h>
#include <dom/domMesh.h>
#include <dom/domSpline.h>
#include <dom/domExtra.h>
/**
* Geometry describes the visual shape and appearance of an object in the
* scene. The geometry element categorizes the declaration of geometric information.
* Geometry is a branch of mathematics that deals with the measurement, properties,
* and relationships of points, lines, angles, surfaces, and solids.
*/
class domGeometry : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GEOMETRY; }
protected: // Attributes
/**
* The id attribute is a text string containing the unique identifier of
* this element. This value must be unique within the instance document.
* Optional attribute.
*/
xsID attrId;
/**
* The name attribute is the text string name of this element. Optional attribute.
*/
xsNCName attrName;
protected: // Elements
/**
* The geometry element may contain an asset element. @see domAsset
*/
domAssetRef elemAsset;
/**
* The geometry element may contain only one mesh or convex_mesh. @see domConvex_mesh
*/
domConvex_meshRef elemConvex_mesh;
/**
* The geometry element may contain only one mesh or convex_mesh. @see domMesh
*/
domMeshRef elemMesh;
domSplineRef elemSpline;
/**
* 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 id attribute.
* @return Returns a xsID of the id attribute.
*/
xsID getId() const { return attrId; }
/**
* Sets the id attribute.
* @param atId The new value for the id attribute.
*/
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
_validAttributeArray[0] = true; }
/**
* Gets the name attribute.
* @return Returns a xsNCName of the name attribute.
*/
xsNCName getName() const { return attrName; }
/**
* Sets the name attribute.
* @param atName The new value for the name attribute.
*/
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
_validAttributeArray[1] = true; }
/**
* Gets the asset element.
* @return a daeSmartRef to the asset element.
*/
const domAssetRef getAsset() const { return elemAsset; }
/**
* Gets the convex_mesh element.
* @return a daeSmartRef to the convex_mesh element.
*/
const domConvex_meshRef getConvex_mesh() const { return elemConvex_mesh; }
/**
* Gets the mesh element.
* @return a daeSmartRef to the mesh element.
*/
const domMeshRef getMesh() const { return elemMesh; }
/**
* Gets the spline element.
* @return a daeSmartRef to the spline element.
*/
const domSplineRef getSpline() const { return elemSpline; }
/**
* 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
*/
domGeometry() : attrId(), attrName(), elemAsset(), elemConvex_mesh(), elemMesh(), elemSpline(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domGeometry() {}
/**
* Copy Constructor
*/
domGeometry( const domGeometry &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGeometry &operator=( const domGeometry &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

View File

@ -1,65 +0,0 @@
/*
* 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 __domGl_hook_abstract_h__
#define __domGl_hook_abstract_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domGl_hook_abstract : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_HOOK_ABSTRACT; }
protected:
/**
* Constructor
*/
domGl_hook_abstract() {}
/**
* Destructor
*/
virtual ~domGl_hook_abstract() {}
/**
* Copy Constructor
*/
domGl_hook_abstract( const domGl_hook_abstract &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_hook_abstract &operator=( const domGl_hook_abstract &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

File diff suppressed because it is too large Load Diff

View File

@ -1,93 +0,0 @@
/*
* 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 __domGl_sampler1D_h__
#define __domGl_sampler1D_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_sampler1D_common.h>
/**
* A one-dimensional texture sampler for the GLSL profile.
*/
class domGl_sampler1D_complexType : public domFx_sampler1D_common_complexType
{
protected:
/**
* Constructor
*/
domGl_sampler1D_complexType() {}
/**
* Destructor
*/
virtual ~domGl_sampler1D_complexType() {}
/**
* Copy Constructor
*/
domGl_sampler1D_complexType( const domGl_sampler1D_complexType &cpy ) : domFx_sampler1D_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_sampler1D_complexType &operator=( const domGl_sampler1D_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGl_sampler1D_complexType.
*/
class domGl_sampler1D : public daeElement, public domGl_sampler1D_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLER1D; }
protected:
/**
* Constructor
*/
domGl_sampler1D() {}
/**
* Destructor
*/
virtual ~domGl_sampler1D() {}
/**
* Copy Constructor
*/
domGl_sampler1D( const domGl_sampler1D &cpy ) : daeElement(), domGl_sampler1D_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_sampler1D &operator=( const domGl_sampler1D &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

View File

@ -1,93 +0,0 @@
/*
* 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 __domGl_sampler2D_h__
#define __domGl_sampler2D_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_sampler2D_common.h>
/**
* A two-dimensional texture sampler for the GLSL profile.
*/
class domGl_sampler2D_complexType : public domFx_sampler2D_common_complexType
{
protected:
/**
* Constructor
*/
domGl_sampler2D_complexType() {}
/**
* Destructor
*/
virtual ~domGl_sampler2D_complexType() {}
/**
* Copy Constructor
*/
domGl_sampler2D_complexType( const domGl_sampler2D_complexType &cpy ) : domFx_sampler2D_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_sampler2D_complexType &operator=( const domGl_sampler2D_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGl_sampler2D_complexType.
*/
class domGl_sampler2D : public daeElement, public domGl_sampler2D_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLER2D; }
protected:
/**
* Constructor
*/
domGl_sampler2D() {}
/**
* Destructor
*/
virtual ~domGl_sampler2D() {}
/**
* Copy Constructor
*/
domGl_sampler2D( const domGl_sampler2D &cpy ) : daeElement(), domGl_sampler2D_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_sampler2D &operator=( const domGl_sampler2D &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

View File

@ -1,93 +0,0 @@
/*
* 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 __domGl_sampler3D_h__
#define __domGl_sampler3D_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_sampler3D_common.h>
/**
* A three-dimensional texture sampler for the GLSL profile.
*/
class domGl_sampler3D_complexType : public domFx_sampler3D_common_complexType
{
protected:
/**
* Constructor
*/
domGl_sampler3D_complexType() {}
/**
* Destructor
*/
virtual ~domGl_sampler3D_complexType() {}
/**
* Copy Constructor
*/
domGl_sampler3D_complexType( const domGl_sampler3D_complexType &cpy ) : domFx_sampler3D_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_sampler3D_complexType &operator=( const domGl_sampler3D_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGl_sampler3D_complexType.
*/
class domGl_sampler3D : public daeElement, public domGl_sampler3D_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLER3D; }
protected:
/**
* Constructor
*/
domGl_sampler3D() {}
/**
* Destructor
*/
virtual ~domGl_sampler3D() {}
/**
* Copy Constructor
*/
domGl_sampler3D( const domGl_sampler3D &cpy ) : daeElement(), domGl_sampler3D_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_sampler3D &operator=( const domGl_sampler3D &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

View File

@ -1,93 +0,0 @@
/*
* 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 __domGl_samplerCUBE_h__
#define __domGl_samplerCUBE_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_samplerCUBE_common.h>
/**
* A cube map texture sampler for the GLSL profile.
*/
class domGl_samplerCUBE_complexType : public domFx_samplerCUBE_common_complexType
{
protected:
/**
* Constructor
*/
domGl_samplerCUBE_complexType() {}
/**
* Destructor
*/
virtual ~domGl_samplerCUBE_complexType() {}
/**
* Copy Constructor
*/
domGl_samplerCUBE_complexType( const domGl_samplerCUBE_complexType &cpy ) : domFx_samplerCUBE_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_samplerCUBE_complexType &operator=( const domGl_samplerCUBE_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGl_samplerCUBE_complexType.
*/
class domGl_samplerCUBE : public daeElement, public domGl_samplerCUBE_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLERCUBE; }
protected:
/**
* Constructor
*/
domGl_samplerCUBE() {}
/**
* Destructor
*/
virtual ~domGl_samplerCUBE() {}
/**
* Copy Constructor
*/
domGl_samplerCUBE( const domGl_samplerCUBE &cpy ) : daeElement(), domGl_samplerCUBE_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_samplerCUBE &operator=( const domGl_samplerCUBE &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

View File

@ -1,93 +0,0 @@
/*
* 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 __domGl_samplerDEPTH_h__
#define __domGl_samplerDEPTH_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_samplerDEPTH_common.h>
/**
* A depth texture sampler for the GLSL profile.
*/
class domGl_samplerDEPTH_complexType : public domFx_samplerDEPTH_common_complexType
{
protected:
/**
* Constructor
*/
domGl_samplerDEPTH_complexType() {}
/**
* Destructor
*/
virtual ~domGl_samplerDEPTH_complexType() {}
/**
* Copy Constructor
*/
domGl_samplerDEPTH_complexType( const domGl_samplerDEPTH_complexType &cpy ) : domFx_samplerDEPTH_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_samplerDEPTH_complexType &operator=( const domGl_samplerDEPTH_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGl_samplerDEPTH_complexType.
*/
class domGl_samplerDEPTH : public daeElement, public domGl_samplerDEPTH_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLERDEPTH; }
protected:
/**
* Constructor
*/
domGl_samplerDEPTH() {}
/**
* Destructor
*/
virtual ~domGl_samplerDEPTH() {}
/**
* Copy Constructor
*/
domGl_samplerDEPTH( const domGl_samplerDEPTH &cpy ) : daeElement(), domGl_samplerDEPTH_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_samplerDEPTH &operator=( const domGl_samplerDEPTH &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

View File

@ -1,93 +0,0 @@
/*
* 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 __domGl_samplerRECT_h__
#define __domGl_samplerRECT_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domFx_samplerRECT_common.h>
/**
* A two-dimensional texture sampler for the GLSL profile.
*/
class domGl_samplerRECT_complexType : public domFx_samplerRECT_common_complexType
{
protected:
/**
* Constructor
*/
domGl_samplerRECT_complexType() {}
/**
* Destructor
*/
virtual ~domGl_samplerRECT_complexType() {}
/**
* Copy Constructor
*/
domGl_samplerRECT_complexType( const domGl_samplerRECT_complexType &cpy ) : domFx_samplerRECT_common_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_samplerRECT_complexType &operator=( const domGl_samplerRECT_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGl_samplerRECT_complexType.
*/
class domGl_samplerRECT : public daeElement, public domGl_samplerRECT_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLERRECT; }
protected:
/**
* Constructor
*/
domGl_samplerRECT() {}
/**
* Destructor
*/
virtual ~domGl_samplerRECT() {}
/**
* Copy Constructor
*/
domGl_samplerRECT( const domGl_samplerRECT &cpy ) : daeElement(), domGl_samplerRECT_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGl_samplerRECT &operator=( const domGl_samplerRECT &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

File diff suppressed because it is too large Load Diff

View File

@ -1,313 +0,0 @@
/*
* 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 __domGles_newparam_h__
#define __domGles_newparam_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domGles_basic_type_common.h>
#include <dom/domFx_annotate_common.h>
/**
* Create a new, named param object in the GLES Runtime, assign it a type,
* an initial value, and additional attributes at declaration time.
*/
class domGles_newparam_complexType
{
public:
class domSemantic;
typedef daeSmartRef<domSemantic> domSemanticRef;
typedef daeTArray<domSemanticRef> domSemantic_Array;
/**
* The semantic element allows you to specify a semantic for this new param.
*/
class domSemantic : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SEMANTIC; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSemantic() : _value() {}
/**
* Destructor
*/
virtual ~domSemantic() {}
/**
* Copy Constructor
*/
domSemantic( const domSemantic &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSemantic &operator=( const domSemantic &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;
};
class domModifier;
typedef daeSmartRef<domModifier> domModifierRef;
typedef daeTArray<domModifierRef> domModifier_Array;
/**
* The modifier element allows you to specify a modifier for this new param.
*/
class domModifier : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIER; }
protected: // Value
/**
* The domFx_modifier_enum_common value of the text data of this element.
*/
domFx_modifier_enum_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_modifier_enum_common of the value.
*/
domFx_modifier_enum_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_modifier_enum_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domModifier() : _value() {}
/**
* Destructor
*/
virtual ~domModifier() {}
/**
* Copy Constructor
*/
domModifier( const domModifier &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domModifier &operator=( const domModifier &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: // Attribute
/**
* The sid attribute is a text string value containing the sub-identifier
* of this element. This value must be unique within the scope of the parent
* element.
*/
xsNCName attrSid;
protected: // Elements
/**
* The annotate element allows you to specify an annotation for this new param.
* @see domAnnotate
*/
domFx_annotate_common_Array elemAnnotate_array;
/**
* The semantic element allows you to specify a semantic for this new param.
* @see domSemantic
*/
domSemanticRef elemSemantic;
/**
* The modifier element allows you to specify a modifier for this new param.
* @see domModifier
*/
domModifierRef elemModifier;
domGles_basic_type_commonRef elemGles_basic_type_common;
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
/**
* Gets the annotate element array.
* @return Returns a reference to the array of annotate elements.
*/
domFx_annotate_common_Array &getAnnotate_array() { return elemAnnotate_array; }
/**
* Gets the annotate element array.
* @return Returns a constant reference to the array of annotate elements.
*/
const domFx_annotate_common_Array &getAnnotate_array() const { return elemAnnotate_array; }
/**
* Gets the semantic element.
* @return a daeSmartRef to the semantic element.
*/
const domSemanticRef getSemantic() const { return elemSemantic; }
/**
* Gets the modifier element.
* @return a daeSmartRef to the modifier element.
*/
const domModifierRef getModifier() const { return elemModifier; }
/**
* Gets the gles_basic_type_common element.
* @return a daeSmartRef to the gles_basic_type_common element.
*/
const domGles_basic_type_commonRef getGles_basic_type_common() const { return elemGles_basic_type_common; }
protected:
/**
* Constructor
*/
domGles_newparam_complexType() : attrSid(), elemAnnotate_array(), elemSemantic(), elemModifier(), elemGles_basic_type_common() {}
/**
* Destructor
*/
virtual ~domGles_newparam_complexType() {}
/**
* Copy Constructor
*/
domGles_newparam_complexType( const domGles_newparam_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_newparam_complexType &operator=( const domGles_newparam_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_newparam_complexType.
*/
class domGles_newparam : public daeElement, public domGles_newparam_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_NEWPARAM; }
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domGles_newparam() {}
/**
* Destructor
*/
virtual ~domGles_newparam() {}
/**
* Copy Constructor
*/
domGles_newparam( const domGles_newparam &cpy ) : daeElement(), domGles_newparam_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_newparam &operator=( const domGles_newparam &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

File diff suppressed because it is too large Load Diff

View File

@ -1,657 +0,0 @@
/*
* 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 __domGles_sampler_state_h__
#define __domGles_sampler_state_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
/**
* Two-dimensional texture sampler state for profile_GLES. This is a bundle
* of sampler-specific states that will be referenced by one or more texture_units.
*/
class domGles_sampler_state_complexType
{
public:
class domWrap_s;
typedef daeSmartRef<domWrap_s> domWrap_sRef;
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
class domWrap_s : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; }
protected: // Value
/**
* The domGles_sampler_wrap value of the text data of this element.
*/
domGles_sampler_wrap _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domGles_sampler_wrap of the value.
*/
domGles_sampler_wrap getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domGles_sampler_wrap val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_s() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_s() {}
/**
* Copy Constructor
*/
domWrap_s( const domWrap_s &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_s &operator=( const domWrap_s &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;
};
class domWrap_t;
typedef daeSmartRef<domWrap_t> domWrap_tRef;
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
class domWrap_t : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; }
protected: // Value
/**
* The domGles_sampler_wrap value of the text data of this element.
*/
domGles_sampler_wrap _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domGles_sampler_wrap of the value.
*/
domGles_sampler_wrap getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domGles_sampler_wrap val ) { _value = val; }
protected:
/**
* Constructor
*/
domWrap_t() : _value() {}
/**
* Destructor
*/
virtual ~domWrap_t() {}
/**
* Copy Constructor
*/
domWrap_t( const domWrap_t &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domWrap_t &operator=( const domWrap_t &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;
};
class domMinfilter;
typedef daeSmartRef<domMinfilter> domMinfilterRef;
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
class domMinfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMinfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMinfilter() {}
/**
* Copy Constructor
*/
domMinfilter( const domMinfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMinfilter &operator=( const domMinfilter &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;
};
class domMagfilter;
typedef daeSmartRef<domMagfilter> domMagfilterRef;
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
class domMagfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMagfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMagfilter() {}
/**
* Copy Constructor
*/
domMagfilter( const domMagfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMagfilter &operator=( const domMagfilter &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;
};
class domMipfilter;
typedef daeSmartRef<domMipfilter> domMipfilterRef;
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
class domMipfilter : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; }
protected: // Value
/**
* The domFx_sampler_filter_common value of the text data of this element.
*/
domFx_sampler_filter_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_sampler_filter_common of the value.
*/
domFx_sampler_filter_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_sampler_filter_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipfilter() : _value() {}
/**
* Destructor
*/
virtual ~domMipfilter() {}
/**
* Copy Constructor
*/
domMipfilter( const domMipfilter &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipfilter &operator=( const domMipfilter &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;
};
class domMipmap_maxlevel;
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
class domMipmap_maxlevel : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; }
protected: // Value
/**
* The xsUnsignedByte value of the text data of this element.
*/
xsUnsignedByte _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsUnsignedByte of the value.
*/
xsUnsignedByte getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsUnsignedByte val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_maxlevel() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_maxlevel() {}
/**
* Copy Constructor
*/
domMipmap_maxlevel( const domMipmap_maxlevel &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_maxlevel &operator=( const domMipmap_maxlevel &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;
};
class domMipmap_bias;
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
class domMipmap_bias : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; }
protected: // Value
/**
* The xsFloat value of the text data of this element.
*/
xsFloat _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a xsFloat of the value.
*/
xsFloat getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsFloat val ) { _value = val; }
protected:
/**
* Constructor
*/
domMipmap_bias() : _value() {}
/**
* Destructor
*/
virtual ~domMipmap_bias() {}
/**
* Copy Constructor
*/
domMipmap_bias( const domMipmap_bias &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domMipmap_bias &operator=( const domMipmap_bias &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: // Attribute
/**
* The sid attribute is a text string value containing the sub-identifier
* of this element. This value must be unique within the scope of the parent
* element. Optional attribute.
*/
xsNCName attrSid;
protected: // Elements
domWrap_sRef elemWrap_s;
domWrap_tRef elemWrap_t;
domMinfilterRef elemMinfilter;
domMagfilterRef elemMagfilter;
domMipfilterRef elemMipfilter;
domMipmap_maxlevelRef elemMipmap_maxlevel;
domMipmap_biasRef elemMipmap_bias;
/**
* The extra element may appear any number of times. OpenGL ES extensions
* may be used here. @see domExtra
*/
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
/**
* Gets the wrap_s element.
* @return a daeSmartRef to the wrap_s element.
*/
const domWrap_sRef getWrap_s() const { return elemWrap_s; }
/**
* Gets the wrap_t element.
* @return a daeSmartRef to the wrap_t element.
*/
const domWrap_tRef getWrap_t() const { return elemWrap_t; }
/**
* Gets the minfilter element.
* @return a daeSmartRef to the minfilter element.
*/
const domMinfilterRef getMinfilter() const { return elemMinfilter; }
/**
* Gets the magfilter element.
* @return a daeSmartRef to the magfilter element.
*/
const domMagfilterRef getMagfilter() const { return elemMagfilter; }
/**
* Gets the mipfilter element.
* @return a daeSmartRef to the mipfilter element.
*/
const domMipfilterRef getMipfilter() const { return elemMipfilter; }
/**
* Gets the mipmap_maxlevel element.
* @return a daeSmartRef to the mipmap_maxlevel element.
*/
const domMipmap_maxlevelRef getMipmap_maxlevel() const { return elemMipmap_maxlevel; }
/**
* Gets the mipmap_bias element.
* @return a daeSmartRef to the mipmap_bias element.
*/
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
/**
* 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
*/
domGles_sampler_state_complexType() : attrSid(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domGles_sampler_state_complexType() {}
/**
* Copy Constructor
*/
domGles_sampler_state_complexType( const domGles_sampler_state_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_sampler_state_complexType &operator=( const domGles_sampler_state_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_sampler_state_complexType.
*/
class domGles_sampler_state : public daeElement, public domGles_sampler_state_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_SAMPLER_STATE; }
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domGles_sampler_state() {}
/**
* Destructor
*/
virtual ~domGles_sampler_state() {}
/**
* Copy Constructor
*/
domGles_sampler_state( const domGles_sampler_state &cpy ) : daeElement(), domGles_sampler_state_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_sampler_state &operator=( const domGles_sampler_state &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

View File

@ -1,166 +0,0 @@
/*
* 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 __domGles_texcombiner_argumentAlpha_type_h__
#define __domGles_texcombiner_argumentAlpha_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domGles_texcombiner_argumentAlpha_type_complexType
{
protected: // Attributes
domGles_texcombiner_source_enums attrSource;
domGles_texcombiner_operandAlpha_enums attrOperand;
xsNCName attrUnit;
public: //Accessors and Mutators
/**
* Gets the source attribute.
* @return Returns a domGles_texcombiner_source_enums of the source attribute.
*/
domGles_texcombiner_source_enums getSource() const { return attrSource; }
/**
* Sets the source attribute.
* @param atSource The new value for the source attribute.
*/
void setSource( domGles_texcombiner_source_enums atSource ) { attrSource = atSource; }
/**
* Gets the operand attribute.
* @return Returns a domGles_texcombiner_operandAlpha_enums of the operand attribute.
*/
domGles_texcombiner_operandAlpha_enums getOperand() const { return attrOperand; }
/**
* Sets the operand attribute.
* @param atOperand The new value for the operand attribute.
*/
void setOperand( domGles_texcombiner_operandAlpha_enums atOperand ) { attrOperand = atOperand; }
/**
* Gets the unit attribute.
* @return Returns a xsNCName of the unit attribute.
*/
xsNCName getUnit() const { return attrUnit; }
/**
* Sets the unit attribute.
* @param atUnit The new value for the unit attribute.
*/
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit; }
protected:
/**
* Constructor
*/
domGles_texcombiner_argumentAlpha_type_complexType() : attrSource(), attrOperand(), attrUnit() {}
/**
* Destructor
*/
virtual ~domGles_texcombiner_argumentAlpha_type_complexType() {}
/**
* Copy Constructor
*/
domGles_texcombiner_argumentAlpha_type_complexType( const domGles_texcombiner_argumentAlpha_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texcombiner_argumentAlpha_type_complexType &operator=( const domGles_texcombiner_argumentAlpha_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_texcombiner_argumentAlpha_type_complexType.
*/
class domGles_texcombiner_argumentAlpha_type : public daeElement, public domGles_texcombiner_argumentAlpha_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_ARGUMENTALPHA_TYPE; }
public: //Accessors and Mutators
/**
* Gets the source attribute.
* @return Returns a domGles_texcombiner_source_enums of the source attribute.
*/
domGles_texcombiner_source_enums getSource() const { return attrSource; }
/**
* Sets the source attribute.
* @param atSource The new value for the source attribute.
*/
void setSource( domGles_texcombiner_source_enums atSource ) { attrSource = atSource;
_validAttributeArray[0] = true; }
/**
* Gets the operand attribute.
* @return Returns a domGles_texcombiner_operandAlpha_enums of the operand attribute.
*/
domGles_texcombiner_operandAlpha_enums getOperand() const { return attrOperand; }
/**
* Sets the operand attribute.
* @param atOperand The new value for the operand attribute.
*/
void setOperand( domGles_texcombiner_operandAlpha_enums atOperand ) { attrOperand = atOperand;
_validAttributeArray[1] = true; }
/**
* Gets the unit attribute.
* @return Returns a xsNCName of the unit attribute.
*/
xsNCName getUnit() const { return attrUnit; }
/**
* Sets the unit attribute.
* @param atUnit The new value for the unit attribute.
*/
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit;
_validAttributeArray[2] = true; }
protected:
/**
* Constructor
*/
domGles_texcombiner_argumentAlpha_type() {}
/**
* Destructor
*/
virtual ~domGles_texcombiner_argumentAlpha_type() {}
/**
* Copy Constructor
*/
domGles_texcombiner_argumentAlpha_type( const domGles_texcombiner_argumentAlpha_type &cpy ) : daeElement(), domGles_texcombiner_argumentAlpha_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texcombiner_argumentAlpha_type &operator=( const domGles_texcombiner_argumentAlpha_type &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

View File

@ -1,166 +0,0 @@
/*
* 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 __domGles_texcombiner_argumentRGB_type_h__
#define __domGles_texcombiner_argumentRGB_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domGles_texcombiner_argumentRGB_type_complexType
{
protected: // Attributes
domGles_texcombiner_source_enums attrSource;
domGles_texcombiner_operandRGB_enums attrOperand;
xsNCName attrUnit;
public: //Accessors and Mutators
/**
* Gets the source attribute.
* @return Returns a domGles_texcombiner_source_enums of the source attribute.
*/
domGles_texcombiner_source_enums getSource() const { return attrSource; }
/**
* Sets the source attribute.
* @param atSource The new value for the source attribute.
*/
void setSource( domGles_texcombiner_source_enums atSource ) { attrSource = atSource; }
/**
* Gets the operand attribute.
* @return Returns a domGles_texcombiner_operandRGB_enums of the operand attribute.
*/
domGles_texcombiner_operandRGB_enums getOperand() const { return attrOperand; }
/**
* Sets the operand attribute.
* @param atOperand The new value for the operand attribute.
*/
void setOperand( domGles_texcombiner_operandRGB_enums atOperand ) { attrOperand = atOperand; }
/**
* Gets the unit attribute.
* @return Returns a xsNCName of the unit attribute.
*/
xsNCName getUnit() const { return attrUnit; }
/**
* Sets the unit attribute.
* @param atUnit The new value for the unit attribute.
*/
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit; }
protected:
/**
* Constructor
*/
domGles_texcombiner_argumentRGB_type_complexType() : attrSource(), attrOperand(), attrUnit() {}
/**
* Destructor
*/
virtual ~domGles_texcombiner_argumentRGB_type_complexType() {}
/**
* Copy Constructor
*/
domGles_texcombiner_argumentRGB_type_complexType( const domGles_texcombiner_argumentRGB_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texcombiner_argumentRGB_type_complexType &operator=( const domGles_texcombiner_argumentRGB_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_texcombiner_argumentRGB_type_complexType.
*/
class domGles_texcombiner_argumentRGB_type : public daeElement, public domGles_texcombiner_argumentRGB_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_ARGUMENTRGB_TYPE; }
public: //Accessors and Mutators
/**
* Gets the source attribute.
* @return Returns a domGles_texcombiner_source_enums of the source attribute.
*/
domGles_texcombiner_source_enums getSource() const { return attrSource; }
/**
* Sets the source attribute.
* @param atSource The new value for the source attribute.
*/
void setSource( domGles_texcombiner_source_enums atSource ) { attrSource = atSource;
_validAttributeArray[0] = true; }
/**
* Gets the operand attribute.
* @return Returns a domGles_texcombiner_operandRGB_enums of the operand attribute.
*/
domGles_texcombiner_operandRGB_enums getOperand() const { return attrOperand; }
/**
* Sets the operand attribute.
* @param atOperand The new value for the operand attribute.
*/
void setOperand( domGles_texcombiner_operandRGB_enums atOperand ) { attrOperand = atOperand;
_validAttributeArray[1] = true; }
/**
* Gets the unit attribute.
* @return Returns a xsNCName of the unit attribute.
*/
xsNCName getUnit() const { return attrUnit; }
/**
* Sets the unit attribute.
* @param atUnit The new value for the unit attribute.
*/
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit;
_validAttributeArray[2] = true; }
protected:
/**
* Constructor
*/
domGles_texcombiner_argumentRGB_type() {}
/**
* Destructor
*/
virtual ~domGles_texcombiner_argumentRGB_type() {}
/**
* Copy Constructor
*/
domGles_texcombiner_argumentRGB_type( const domGles_texcombiner_argumentRGB_type &cpy ) : daeElement(), domGles_texcombiner_argumentRGB_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texcombiner_argumentRGB_type &operator=( const domGles_texcombiner_argumentRGB_type &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

View File

@ -1,155 +0,0 @@
/*
* 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 __domGles_texcombiner_commandAlpha_type_h__
#define __domGles_texcombiner_commandAlpha_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domGles_texcombiner_argumentAlpha_type.h>
class domGles_texcombiner_commandAlpha_type_complexType
{
protected: // Attributes
domGles_texcombiner_operatorAlpha_enums attrOperator;
xsFloat attrScale;
protected: // Element
domGles_texcombiner_argumentAlpha_type_Array elemArgument_array;
public: //Accessors and Mutators
/**
* Gets the operator attribute.
* @return Returns a domGles_texcombiner_operatorAlpha_enums of the operator attribute.
*/
domGles_texcombiner_operatorAlpha_enums getOperator() const { return attrOperator; }
/**
* Sets the operator attribute.
* @param atOperator The new value for the operator attribute.
*/
void setOperator( domGles_texcombiner_operatorAlpha_enums atOperator ) { attrOperator = atOperator; }
/**
* Gets the scale attribute.
* @return Returns a xsFloat of the scale attribute.
*/
xsFloat getScale() const { return attrScale; }
/**
* Sets the scale attribute.
* @param atScale The new value for the scale attribute.
*/
void setScale( xsFloat atScale ) { attrScale = atScale; }
/**
* Gets the argument element array.
* @return Returns a reference to the array of argument elements.
*/
domGles_texcombiner_argumentAlpha_type_Array &getArgument_array() { return elemArgument_array; }
/**
* Gets the argument element array.
* @return Returns a constant reference to the array of argument elements.
*/
const domGles_texcombiner_argumentAlpha_type_Array &getArgument_array() const { return elemArgument_array; }
protected:
/**
* Constructor
*/
domGles_texcombiner_commandAlpha_type_complexType() : attrOperator(), attrScale(), elemArgument_array() {}
/**
* Destructor
*/
virtual ~domGles_texcombiner_commandAlpha_type_complexType() {}
/**
* Copy Constructor
*/
domGles_texcombiner_commandAlpha_type_complexType( const domGles_texcombiner_commandAlpha_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texcombiner_commandAlpha_type_complexType &operator=( const domGles_texcombiner_commandAlpha_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_texcombiner_commandAlpha_type_complexType.
*/
class domGles_texcombiner_commandAlpha_type : public daeElement, public domGles_texcombiner_commandAlpha_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_COMMANDALPHA_TYPE; }
public: //Accessors and Mutators
/**
* Gets the operator attribute.
* @return Returns a domGles_texcombiner_operatorAlpha_enums of the operator attribute.
*/
domGles_texcombiner_operatorAlpha_enums getOperator() const { return attrOperator; }
/**
* Sets the operator attribute.
* @param atOperator The new value for the operator attribute.
*/
void setOperator( domGles_texcombiner_operatorAlpha_enums atOperator ) { attrOperator = atOperator;
_validAttributeArray[0] = true; }
/**
* Gets the scale attribute.
* @return Returns a xsFloat of the scale attribute.
*/
xsFloat getScale() const { return attrScale; }
/**
* Sets the scale attribute.
* @param atScale The new value for the scale attribute.
*/
void setScale( xsFloat atScale ) { attrScale = atScale;
_validAttributeArray[1] = true; }
protected:
/**
* Constructor
*/
domGles_texcombiner_commandAlpha_type() {}
/**
* Destructor
*/
virtual ~domGles_texcombiner_commandAlpha_type() {}
/**
* Copy Constructor
*/
domGles_texcombiner_commandAlpha_type( const domGles_texcombiner_commandAlpha_type &cpy ) : daeElement(), domGles_texcombiner_commandAlpha_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texcombiner_commandAlpha_type &operator=( const domGles_texcombiner_commandAlpha_type &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

View File

@ -1,159 +0,0 @@
/*
* 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 __domGles_texcombiner_commandRGB_type_h__
#define __domGles_texcombiner_commandRGB_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domGles_texcombiner_argumentRGB_type.h>
/**
* Defines the RGB portion of a texture_pipeline command. This is a combiner-mode
* texturing operation.
*/
class domGles_texcombiner_commandRGB_type_complexType
{
protected: // Attributes
domGles_texcombiner_operatorRGB_enums attrOperator;
xsFloat attrScale;
protected: // Element
domGles_texcombiner_argumentRGB_type_Array elemArgument_array;
public: //Accessors and Mutators
/**
* Gets the operator attribute.
* @return Returns a domGles_texcombiner_operatorRGB_enums of the operator attribute.
*/
domGles_texcombiner_operatorRGB_enums getOperator() const { return attrOperator; }
/**
* Sets the operator attribute.
* @param atOperator The new value for the operator attribute.
*/
void setOperator( domGles_texcombiner_operatorRGB_enums atOperator ) { attrOperator = atOperator; }
/**
* Gets the scale attribute.
* @return Returns a xsFloat of the scale attribute.
*/
xsFloat getScale() const { return attrScale; }
/**
* Sets the scale attribute.
* @param atScale The new value for the scale attribute.
*/
void setScale( xsFloat atScale ) { attrScale = atScale; }
/**
* Gets the argument element array.
* @return Returns a reference to the array of argument elements.
*/
domGles_texcombiner_argumentRGB_type_Array &getArgument_array() { return elemArgument_array; }
/**
* Gets the argument element array.
* @return Returns a constant reference to the array of argument elements.
*/
const domGles_texcombiner_argumentRGB_type_Array &getArgument_array() const { return elemArgument_array; }
protected:
/**
* Constructor
*/
domGles_texcombiner_commandRGB_type_complexType() : attrOperator(), attrScale(), elemArgument_array() {}
/**
* Destructor
*/
virtual ~domGles_texcombiner_commandRGB_type_complexType() {}
/**
* Copy Constructor
*/
domGles_texcombiner_commandRGB_type_complexType( const domGles_texcombiner_commandRGB_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texcombiner_commandRGB_type_complexType &operator=( const domGles_texcombiner_commandRGB_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_texcombiner_commandRGB_type_complexType.
*/
class domGles_texcombiner_commandRGB_type : public daeElement, public domGles_texcombiner_commandRGB_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_COMMANDRGB_TYPE; }
public: //Accessors and Mutators
/**
* Gets the operator attribute.
* @return Returns a domGles_texcombiner_operatorRGB_enums of the operator attribute.
*/
domGles_texcombiner_operatorRGB_enums getOperator() const { return attrOperator; }
/**
* Sets the operator attribute.
* @param atOperator The new value for the operator attribute.
*/
void setOperator( domGles_texcombiner_operatorRGB_enums atOperator ) { attrOperator = atOperator;
_validAttributeArray[0] = true; }
/**
* Gets the scale attribute.
* @return Returns a xsFloat of the scale attribute.
*/
xsFloat getScale() const { return attrScale; }
/**
* Sets the scale attribute.
* @param atScale The new value for the scale attribute.
*/
void setScale( xsFloat atScale ) { attrScale = atScale;
_validAttributeArray[1] = true; }
protected:
/**
* Constructor
*/
domGles_texcombiner_commandRGB_type() {}
/**
* Destructor
*/
virtual ~domGles_texcombiner_commandRGB_type() {}
/**
* Copy Constructor
*/
domGles_texcombiner_commandRGB_type( const domGles_texcombiner_commandRGB_type &cpy ) : daeElement(), domGles_texcombiner_commandRGB_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texcombiner_commandRGB_type &operator=( const domGles_texcombiner_commandRGB_type &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

View File

@ -1,113 +0,0 @@
/*
* 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 __domGles_texcombiner_command_type_h__
#define __domGles_texcombiner_command_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domGles_texture_constant_type.h>
#include <dom/domGles_texcombiner_commandRGB_type.h>
#include <dom/domGles_texcombiner_commandAlpha_type.h>
class domGles_texcombiner_command_type_complexType
{
protected: // Elements
domGles_texture_constant_typeRef elemConstant;
domGles_texcombiner_commandRGB_typeRef elemRGB;
domGles_texcombiner_commandAlpha_typeRef elemAlpha;
public: //Accessors and Mutators
/**
* Gets the constant element.
* @return a daeSmartRef to the constant element.
*/
const domGles_texture_constant_typeRef getConstant() const { return elemConstant; }
/**
* Gets the RGB element.
* @return a daeSmartRef to the RGB element.
*/
const domGles_texcombiner_commandRGB_typeRef getRGB() const { return elemRGB; }
/**
* Gets the alpha element.
* @return a daeSmartRef to the alpha element.
*/
const domGles_texcombiner_commandAlpha_typeRef getAlpha() const { return elemAlpha; }
protected:
/**
* Constructor
*/
domGles_texcombiner_command_type_complexType() : elemConstant(), elemRGB(), elemAlpha() {}
/**
* Destructor
*/
virtual ~domGles_texcombiner_command_type_complexType() {}
/**
* Copy Constructor
*/
domGles_texcombiner_command_type_complexType( const domGles_texcombiner_command_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texcombiner_command_type_complexType &operator=( const domGles_texcombiner_command_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_texcombiner_command_type_complexType.
*/
class domGles_texcombiner_command_type : public daeElement, public domGles_texcombiner_command_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_COMMAND_TYPE; }
protected:
/**
* Constructor
*/
domGles_texcombiner_command_type() {}
/**
* Destructor
*/
virtual ~domGles_texcombiner_command_type() {}
/**
* Copy Constructor
*/
domGles_texcombiner_command_type( const domGles_texcombiner_command_type &cpy ) : daeElement(), domGles_texcombiner_command_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texcombiner_command_type &operator=( const domGles_texcombiner_command_type &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

View File

@ -1,150 +0,0 @@
/*
* 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 __domGles_texenv_command_type_h__
#define __domGles_texenv_command_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domGles_texture_constant_type.h>
class domGles_texenv_command_type_complexType
{
protected: // Attributes
domGles_texenv_mode_enums attrOperator;
xsNCName attrUnit;
protected: // Element
domGles_texture_constant_typeRef elemConstant;
public: //Accessors and Mutators
/**
* Gets the operator attribute.
* @return Returns a domGles_texenv_mode_enums of the operator attribute.
*/
domGles_texenv_mode_enums getOperator() const { return attrOperator; }
/**
* Sets the operator attribute.
* @param atOperator The new value for the operator attribute.
*/
void setOperator( domGles_texenv_mode_enums atOperator ) { attrOperator = atOperator; }
/**
* Gets the unit attribute.
* @return Returns a xsNCName of the unit attribute.
*/
xsNCName getUnit() const { return attrUnit; }
/**
* Sets the unit attribute.
* @param atUnit The new value for the unit attribute.
*/
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit; }
/**
* Gets the constant element.
* @return a daeSmartRef to the constant element.
*/
const domGles_texture_constant_typeRef getConstant() const { return elemConstant; }
protected:
/**
* Constructor
*/
domGles_texenv_command_type_complexType() : attrOperator(), attrUnit(), elemConstant() {}
/**
* Destructor
*/
virtual ~domGles_texenv_command_type_complexType() {}
/**
* Copy Constructor
*/
domGles_texenv_command_type_complexType( const domGles_texenv_command_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texenv_command_type_complexType &operator=( const domGles_texenv_command_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_texenv_command_type_complexType.
*/
class domGles_texenv_command_type : public daeElement, public domGles_texenv_command_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXENV_COMMAND_TYPE; }
public: //Accessors and Mutators
/**
* Gets the operator attribute.
* @return Returns a domGles_texenv_mode_enums of the operator attribute.
*/
domGles_texenv_mode_enums getOperator() const { return attrOperator; }
/**
* Sets the operator attribute.
* @param atOperator The new value for the operator attribute.
*/
void setOperator( domGles_texenv_mode_enums atOperator ) { attrOperator = atOperator;
_validAttributeArray[0] = true; }
/**
* Gets the unit attribute.
* @return Returns a xsNCName of the unit attribute.
*/
xsNCName getUnit() const { return attrUnit; }
/**
* Sets the unit attribute.
* @param atUnit The new value for the unit attribute.
*/
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit;
_validAttributeArray[1] = true; }
protected:
/**
* Constructor
*/
domGles_texenv_command_type() {}
/**
* Destructor
*/
virtual ~domGles_texenv_command_type() {}
/**
* Copy Constructor
*/
domGles_texenv_command_type( const domGles_texenv_command_type &cpy ) : daeElement(), domGles_texenv_command_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texenv_command_type &operator=( const domGles_texenv_command_type &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

View File

@ -1,152 +0,0 @@
/*
* 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 __domGles_texture_constant_type_h__
#define __domGles_texture_constant_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
class domGles_texture_constant_type_complexType
{
protected: // Attributes
domFloat4 attrValue;
xsNCName attrParam;
public: //Accessors and Mutators
/**
* Gets the value array attribute.
* @return Returns a domFloat4 reference of the value array attribute.
*/
domFloat4 &getValue() { return attrValue; }
/**
* Gets the value array attribute.
* @return Returns a constant domFloat4 reference of the value array attribute.
*/
const domFloat4 &getValue() const { return attrValue; }
/**
* Sets the value array attribute.
* @param atValue The new value for the value array attribute.
*/
void setValue( const domFloat4 &atValue ) { attrValue = atValue; }
/**
* Gets the param attribute.
* @return Returns a xsNCName of the param attribute.
*/
xsNCName getParam() const { return attrParam; }
/**
* Sets the param attribute.
* @param atParam The new value for the param attribute.
*/
void setParam( xsNCName atParam ) { *(daeStringRef*)&attrParam = atParam; }
protected:
/**
* Constructor
*/
domGles_texture_constant_type_complexType() : attrValue(), attrParam() {}
/**
* Destructor
*/
virtual ~domGles_texture_constant_type_complexType() {}
/**
* Copy Constructor
*/
domGles_texture_constant_type_complexType( const domGles_texture_constant_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texture_constant_type_complexType &operator=( const domGles_texture_constant_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_texture_constant_type_complexType.
*/
class domGles_texture_constant_type : public daeElement, public domGles_texture_constant_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXTURE_CONSTANT_TYPE; }
public: //Accessors and Mutators
/**
* Gets the value array attribute.
* @return Returns a domFloat4 reference of the value array attribute.
*/
domFloat4 &getValue() { return attrValue; }
/**
* Gets the value array attribute.
* @return Returns a constant domFloat4 reference of the value array attribute.
*/
const domFloat4 &getValue() const { return attrValue; }
/**
* Sets the value array attribute.
* @param atValue The new value for the value array attribute.
*/
void setValue( const domFloat4 &atValue ) { attrValue = atValue;
_validAttributeArray[0] = true; }
/**
* Gets the param attribute.
* @return Returns a xsNCName of the param attribute.
*/
xsNCName getParam() const { return attrParam; }
/**
* Sets the param attribute.
* @param atParam The new value for the param attribute.
*/
void setParam( xsNCName atParam ) { *(daeStringRef*)&attrParam = atParam;
_validAttributeArray[1] = true; }
protected:
/**
* Constructor
*/
domGles_texture_constant_type() {}
/**
* Destructor
*/
virtual ~domGles_texture_constant_type() {}
/**
* Copy Constructor
*/
domGles_texture_constant_type( const domGles_texture_constant_type &cpy ) : daeElement(), domGles_texture_constant_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texture_constant_type &operator=( const domGles_texture_constant_type &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

View File

@ -1,196 +0,0 @@
/*
* 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 __domGles_texture_pipeline_h__
#define __domGles_texture_pipeline_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
#include <dom/domGles_texcombiner_command_type.h>
#include <dom/domGles_texenv_command_type.h>
/**
* Defines a set of texturing commands that will be converted into multitexturing
* operations using glTexEnv in regular and combiner mode.
*/
class domGles_texture_pipeline_complexType
{
protected: // Attribute
/**
* The sid attribute is a text string value containing the sub-identifier
* of this element. This value must be unique within the scope of the parent
* element. Optional attribute.
*/
xsNCName attrSid;
protected: // Elements
/**
* Defines a texture_pipeline command. This is a combiner-mode texturing operation.
* @see domTexcombiner
*/
domGles_texcombiner_command_type_Array elemTexcombiner_array;
/**
* Defines a texture_pipeline command. It is a simple noncombiner mode of
* texturing operations. @see domTexenv
*/
domGles_texenv_command_type_Array elemTexenv_array;
/**
* The extra element may appear any number of times. OpenGL ES extensions
* may be used here. @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 sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
/**
* Gets the texcombiner element array.
* @return Returns a reference to the array of texcombiner elements.
*/
domGles_texcombiner_command_type_Array &getTexcombiner_array() { return elemTexcombiner_array; }
/**
* Gets the texcombiner element array.
* @return Returns a constant reference to the array of texcombiner elements.
*/
const domGles_texcombiner_command_type_Array &getTexcombiner_array() const { return elemTexcombiner_array; }
/**
* Gets the texenv element array.
* @return Returns a reference to the array of texenv elements.
*/
domGles_texenv_command_type_Array &getTexenv_array() { return elemTexenv_array; }
/**
* Gets the texenv element array.
* @return Returns a constant reference to the array of texenv elements.
*/
const domGles_texenv_command_type_Array &getTexenv_array() const { return elemTexenv_array; }
/**
* 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
*/
domGles_texture_pipeline_complexType() : attrSid(), elemTexcombiner_array(), elemTexenv_array(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domGles_texture_pipeline_complexType() {}
/**
* Copy Constructor
*/
domGles_texture_pipeline_complexType( const domGles_texture_pipeline_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texture_pipeline_complexType &operator=( const domGles_texture_pipeline_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_texture_pipeline_complexType.
*/
class domGles_texture_pipeline : public daeElement, public domGles_texture_pipeline_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXTURE_PIPELINE; }
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domGles_texture_pipeline() {}
/**
* Destructor
*/
virtual ~domGles_texture_pipeline() {}
/**
* Copy Constructor
*/
domGles_texture_pipeline( const domGles_texture_pipeline &cpy ) : daeElement(), domGles_texture_pipeline_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texture_pipeline &operator=( const domGles_texture_pipeline &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

View File

@ -1,355 +0,0 @@
/*
* 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 __domGles_texture_unit_h__
#define __domGles_texture_unit_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domExtra.h>
class domGles_texture_unit_complexType
{
public:
class domSurface;
typedef daeSmartRef<domSurface> domSurfaceRef;
typedef daeTArray<domSurfaceRef> domSurface_Array;
class domSurface : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SURFACE; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSurface() : _value() {}
/**
* Destructor
*/
virtual ~domSurface() {}
/**
* Copy Constructor
*/
domSurface( const domSurface &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSurface &operator=( const domSurface &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;
};
class domSampler_state;
typedef daeSmartRef<domSampler_state> domSampler_stateRef;
typedef daeTArray<domSampler_stateRef> domSampler_state_Array;
class domSampler_state : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SAMPLER_STATE; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSampler_state() : _value() {}
/**
* Destructor
*/
virtual ~domSampler_state() {}
/**
* Copy Constructor
*/
domSampler_state( const domSampler_state &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSampler_state &operator=( const domSampler_state &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;
};
class domTexcoord;
typedef daeSmartRef<domTexcoord> domTexcoordRef;
typedef daeTArray<domTexcoordRef> domTexcoord_Array;
class domTexcoord : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXCOORD; }
protected: // Attribute
xsNCName attrSemantic;
public: //Accessors and Mutators
/**
* Gets the semantic attribute.
* @return Returns a xsNCName of the semantic attribute.
*/
xsNCName getSemantic() const { return attrSemantic; }
/**
* Sets the semantic attribute.
* @param atSemantic The new value for the semantic attribute.
*/
void setSemantic( xsNCName atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domTexcoord() : attrSemantic() {}
/**
* Destructor
*/
virtual ~domTexcoord() {}
/**
* Copy Constructor
*/
domTexcoord( const domTexcoord &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domTexcoord &operator=( const domTexcoord &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: // Attribute
/**
* The sid attribute is a text string value containing the sub-identifier
* of this element. This value must be unique within the scope of the parent
* element. Optional attribute.
*/
xsNCName attrSid;
protected: // Elements
domSurfaceRef elemSurface;
domSampler_stateRef elemSampler_state;
domTexcoordRef elemTexcoord;
domExtra_Array elemExtra_array;
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
/**
* Gets the surface element.
* @return a daeSmartRef to the surface element.
*/
const domSurfaceRef getSurface() const { return elemSurface; }
/**
* Gets the sampler_state element.
* @return a daeSmartRef to the sampler_state element.
*/
const domSampler_stateRef getSampler_state() const { return elemSampler_state; }
/**
* Gets the texcoord element.
* @return a daeSmartRef to the texcoord element.
*/
const domTexcoordRef getTexcoord() const { return elemTexcoord; }
/**
* 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
*/
domGles_texture_unit_complexType() : attrSid(), elemSurface(), elemSampler_state(), elemTexcoord(), elemExtra_array() {}
/**
* Destructor
*/
virtual ~domGles_texture_unit_complexType() {}
/**
* Copy Constructor
*/
domGles_texture_unit_complexType( const domGles_texture_unit_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texture_unit_complexType &operator=( const domGles_texture_unit_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGles_texture_unit_complexType.
*/
class domGles_texture_unit : public daeElement, public domGles_texture_unit_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXTURE_UNIT; }
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a xsNCName of the sid attribute.
*/
xsNCName getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domGles_texture_unit() {}
/**
* Destructor
*/
virtual ~domGles_texture_unit() {}
/**
* Copy Constructor
*/
domGles_texture_unit( const domGles_texture_unit &cpy ) : daeElement(), domGles_texture_unit_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGles_texture_unit &operator=( const domGles_texture_unit &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

View File

@ -1,174 +0,0 @@
/*
* 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 __domGlsl_newarray_type_h__
#define __domGlsl_newarray_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domGlsl_param_type.h>
#include <dom/domGlsl_newarray_type.h>
/**
* The glsl_newarray_type is used to creates a parameter of a one-dimensional
* array type.
*/
class domGlsl_newarray_type_complexType
{
protected: // Attribute
/**
* The length attribute specifies the length of the array.
*/
xsPositiveInteger attrLength;
protected: // Elements
domGlsl_param_type_Array elemGlsl_param_type_array;
/**
* You may recursively nest glsl_newarray elements to create multidimensional
* arrays. @see domArray
*/
domGlsl_newarray_type_Array elemArray_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 length attribute.
* @return Returns a xsPositiveInteger of the length attribute.
*/
xsPositiveInteger getLength() const { return attrLength; }
/**
* Sets the length attribute.
* @param atLength The new value for the length attribute.
*/
void setLength( xsPositiveInteger atLength ) { attrLength = atLength; }
/**
* Gets the glsl_param_type element array.
* @return Returns a reference to the array of glsl_param_type elements.
*/
domGlsl_param_type_Array &getGlsl_param_type_array() { return elemGlsl_param_type_array; }
/**
* Gets the glsl_param_type element array.
* @return Returns a constant reference to the array of glsl_param_type elements.
*/
const domGlsl_param_type_Array &getGlsl_param_type_array() const { return elemGlsl_param_type_array; }
/**
* Gets the array element array.
* @return Returns a reference to the array of array elements.
*/
domGlsl_newarray_type_Array &getArray_array() { return elemArray_array; }
/**
* Gets the array element array.
* @return Returns a constant reference to the array of array elements.
*/
const domGlsl_newarray_type_Array &getArray_array() const { return elemArray_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
*/
domGlsl_newarray_type_complexType() : attrLength(), elemGlsl_param_type_array(), elemArray_array() {}
/**
* Destructor
*/
virtual ~domGlsl_newarray_type_complexType() {}
/**
* Copy Constructor
*/
domGlsl_newarray_type_complexType( const domGlsl_newarray_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGlsl_newarray_type_complexType &operator=( const domGlsl_newarray_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGlsl_newarray_type_complexType.
*/
class domGlsl_newarray_type : public daeElement, public domGlsl_newarray_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_NEWARRAY_TYPE; }
public: //Accessors and Mutators
/**
* Gets the length attribute.
* @return Returns a xsPositiveInteger of the length attribute.
*/
xsPositiveInteger getLength() const { return attrLength; }
/**
* Sets the length attribute.
* @param atLength The new value for the length attribute.
*/
void setLength( xsPositiveInteger atLength ) { attrLength = atLength;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domGlsl_newarray_type() {}
/**
* Destructor
*/
virtual ~domGlsl_newarray_type() {}
/**
* Copy Constructor
*/
domGlsl_newarray_type( const domGlsl_newarray_type &cpy ) : daeElement(), domGlsl_newarray_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGlsl_newarray_type &operator=( const domGlsl_newarray_type &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

View File

@ -1,313 +0,0 @@
/*
* 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 __domGlsl_newparam_h__
#define __domGlsl_newparam_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domGlsl_param_type.h>
#include <dom/domFx_annotate_common.h>
#include <dom/domGlsl_newarray_type.h>
class domGlsl_newparam_complexType
{
public:
class domSemantic;
typedef daeSmartRef<domSemantic> domSemanticRef;
typedef daeTArray<domSemanticRef> domSemantic_Array;
class domSemantic : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SEMANTIC; }
protected: // Value
/**
* The xsNCName value of the text data of this element.
*/
xsNCName _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return Returns a xsNCName of the value.
*/
xsNCName getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
protected:
/**
* Constructor
*/
domSemantic() : _value() {}
/**
* Destructor
*/
virtual ~domSemantic() {}
/**
* Copy Constructor
*/
domSemantic( const domSemantic &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domSemantic &operator=( const domSemantic &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;
};
class domModifier;
typedef daeSmartRef<domModifier> domModifierRef;
typedef daeTArray<domModifierRef> domModifier_Array;
class domModifier : public daeElement
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIER; }
protected: // Value
/**
* The domFx_modifier_enum_common value of the text data of this element.
*/
domFx_modifier_enum_common _value;
public: //Accessors and Mutators
/**
* Gets the value of this element.
* @return a domFx_modifier_enum_common of the value.
*/
domFx_modifier_enum_common getValue() const { return _value; }
/**
* Sets the _value of this element.
* @param val The new value for this element.
*/
void setValue( domFx_modifier_enum_common val ) { _value = val; }
protected:
/**
* Constructor
*/
domModifier() : _value() {}
/**
* Destructor
*/
virtual ~domModifier() {}
/**
* Copy Constructor
*/
domModifier( const domModifier &cpy ) : daeElement() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domModifier &operator=( const domModifier &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: // Attribute
domGlsl_identifier attrSid;
protected: // Elements
domFx_annotate_common_Array elemAnnotate_array;
domSemanticRef elemSemantic;
domModifierRef elemModifier;
domGlsl_param_typeRef elemGlsl_param_type;
domGlsl_newarray_typeRef elemArray;
/**
* 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 sid attribute.
* @return Returns a domGlsl_identifier of the sid attribute.
*/
domGlsl_identifier getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( domGlsl_identifier atSid ) { attrSid = atSid; }
/**
* Gets the annotate element array.
* @return Returns a reference to the array of annotate elements.
*/
domFx_annotate_common_Array &getAnnotate_array() { return elemAnnotate_array; }
/**
* Gets the annotate element array.
* @return Returns a constant reference to the array of annotate elements.
*/
const domFx_annotate_common_Array &getAnnotate_array() const { return elemAnnotate_array; }
/**
* Gets the semantic element.
* @return a daeSmartRef to the semantic element.
*/
const domSemanticRef getSemantic() const { return elemSemantic; }
/**
* Gets the modifier element.
* @return a daeSmartRef to the modifier element.
*/
const domModifierRef getModifier() const { return elemModifier; }
/**
* Gets the glsl_param_type element.
* @return a daeSmartRef to the glsl_param_type element.
*/
const domGlsl_param_typeRef getGlsl_param_type() const { return elemGlsl_param_type; }
/**
* Gets the array element.
* @return a daeSmartRef to the array element.
*/
const domGlsl_newarray_typeRef getArray() const { return elemArray; }
/**
* 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
*/
domGlsl_newparam_complexType() : attrSid(), elemAnnotate_array(), elemSemantic(), elemModifier(), elemGlsl_param_type(), elemArray() {}
/**
* Destructor
*/
virtual ~domGlsl_newparam_complexType() {}
/**
* Copy Constructor
*/
domGlsl_newparam_complexType( const domGlsl_newparam_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGlsl_newparam_complexType &operator=( const domGlsl_newparam_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGlsl_newparam_complexType.
*/
class domGlsl_newparam : public daeElement, public domGlsl_newparam_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_NEWPARAM; }
public: //Accessors and Mutators
/**
* Gets the sid attribute.
* @return Returns a domGlsl_identifier of the sid attribute.
*/
domGlsl_identifier getSid() const { return attrSid; }
/**
* Sets the sid attribute.
* @param atSid The new value for the sid attribute.
*/
void setSid( domGlsl_identifier atSid ) { attrSid = atSid;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domGlsl_newparam() {}
/**
* Destructor
*/
virtual ~domGlsl_newparam() {}
/**
* Copy Constructor
*/
domGlsl_newparam( const domGlsl_newparam &cpy ) : daeElement(), domGlsl_newparam_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGlsl_newparam &operator=( const domGlsl_newparam &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

File diff suppressed because it is too large Load Diff

View File

@ -1,174 +0,0 @@
/*
* 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 __domGlsl_setarray_type_h__
#define __domGlsl_setarray_type_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domGlsl_param_type.h>
#include <dom/domGlsl_setarray_type.h>
/**
* The glsl_newarray_type is used to creates a parameter of a one-dimensional
* array type.
*/
class domGlsl_setarray_type_complexType
{
protected: // Attribute
/**
* The length attribute specifies the length of the array.
*/
xsPositiveInteger attrLength;
protected: // Elements
domGlsl_param_type_Array elemGlsl_param_type_array;
/**
* You may recursively nest glsl_newarray elements to create multidimensional
* arrays. @see domArray
*/
domGlsl_setarray_type_Array elemArray_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 length attribute.
* @return Returns a xsPositiveInteger of the length attribute.
*/
xsPositiveInteger getLength() const { return attrLength; }
/**
* Sets the length attribute.
* @param atLength The new value for the length attribute.
*/
void setLength( xsPositiveInteger atLength ) { attrLength = atLength; }
/**
* Gets the glsl_param_type element array.
* @return Returns a reference to the array of glsl_param_type elements.
*/
domGlsl_param_type_Array &getGlsl_param_type_array() { return elemGlsl_param_type_array; }
/**
* Gets the glsl_param_type element array.
* @return Returns a constant reference to the array of glsl_param_type elements.
*/
const domGlsl_param_type_Array &getGlsl_param_type_array() const { return elemGlsl_param_type_array; }
/**
* Gets the array element array.
* @return Returns a reference to the array of array elements.
*/
domGlsl_setarray_type_Array &getArray_array() { return elemArray_array; }
/**
* Gets the array element array.
* @return Returns a constant reference to the array of array elements.
*/
const domGlsl_setarray_type_Array &getArray_array() const { return elemArray_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
*/
domGlsl_setarray_type_complexType() : attrLength(), elemGlsl_param_type_array(), elemArray_array() {}
/**
* Destructor
*/
virtual ~domGlsl_setarray_type_complexType() {}
/**
* Copy Constructor
*/
domGlsl_setarray_type_complexType( const domGlsl_setarray_type_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGlsl_setarray_type_complexType &operator=( const domGlsl_setarray_type_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGlsl_setarray_type_complexType.
*/
class domGlsl_setarray_type : public daeElement, public domGlsl_setarray_type_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_SETARRAY_TYPE; }
public: //Accessors and Mutators
/**
* Gets the length attribute.
* @return Returns a xsPositiveInteger of the length attribute.
*/
xsPositiveInteger getLength() const { return attrLength; }
/**
* Sets the length attribute.
* @param atLength The new value for the length attribute.
*/
void setLength( xsPositiveInteger atLength ) { attrLength = atLength;
_validAttributeArray[0] = true; }
protected:
/**
* Constructor
*/
domGlsl_setarray_type() {}
/**
* Destructor
*/
virtual ~domGlsl_setarray_type() {}
/**
* Copy Constructor
*/
domGlsl_setarray_type( const domGlsl_setarray_type &cpy ) : daeElement(), domGlsl_setarray_type_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGlsl_setarray_type &operator=( const domGlsl_setarray_type &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

View File

@ -1,189 +0,0 @@
/*
* 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 __domGlsl_setparam_h__
#define __domGlsl_setparam_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domGlsl_param_type.h>
#include <dom/domFx_annotate_common.h>
#include <dom/domGlsl_setarray_type.h>
class domGlsl_setparam_complexType
{
protected: // Attributes
domGlsl_identifier attrRef;
xsNCName attrProgram;
protected: // Elements
domFx_annotate_common_Array elemAnnotate_array;
domGlsl_param_typeRef elemGlsl_param_type;
domGlsl_setarray_typeRef elemArray;
/**
* 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 ref attribute.
* @return Returns a domGlsl_identifier of the ref attribute.
*/
domGlsl_identifier getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( domGlsl_identifier atRef ) { attrRef = atRef; }
/**
* Gets the program attribute.
* @return Returns a xsNCName of the program attribute.
*/
xsNCName getProgram() const { return attrProgram; }
/**
* Sets the program attribute.
* @param atProgram The new value for the program attribute.
*/
void setProgram( xsNCName atProgram ) { *(daeStringRef*)&attrProgram = atProgram; }
/**
* Gets the annotate element array.
* @return Returns a reference to the array of annotate elements.
*/
domFx_annotate_common_Array &getAnnotate_array() { return elemAnnotate_array; }
/**
* Gets the annotate element array.
* @return Returns a constant reference to the array of annotate elements.
*/
const domFx_annotate_common_Array &getAnnotate_array() const { return elemAnnotate_array; }
/**
* Gets the glsl_param_type element.
* @return a daeSmartRef to the glsl_param_type element.
*/
const domGlsl_param_typeRef getGlsl_param_type() const { return elemGlsl_param_type; }
/**
* Gets the array element.
* @return a daeSmartRef to the array element.
*/
const domGlsl_setarray_typeRef getArray() const { return elemArray; }
/**
* 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
*/
domGlsl_setparam_complexType() : attrRef(), attrProgram(), elemAnnotate_array(), elemGlsl_param_type(), elemArray() {}
/**
* Destructor
*/
virtual ~domGlsl_setparam_complexType() {}
/**
* Copy Constructor
*/
domGlsl_setparam_complexType( const domGlsl_setparam_complexType &cpy ) { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGlsl_setparam_complexType &operator=( const domGlsl_setparam_complexType &cpy ) { (void)cpy; return *this; }
};
/**
* An element of type domGlsl_setparam_complexType.
*/
class domGlsl_setparam : public daeElement, public domGlsl_setparam_complexType
{
public:
COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_SETPARAM; }
public: //Accessors and Mutators
/**
* Gets the ref attribute.
* @return Returns a domGlsl_identifier of the ref attribute.
*/
domGlsl_identifier getRef() const { return attrRef; }
/**
* Sets the ref attribute.
* @param atRef The new value for the ref attribute.
*/
void setRef( domGlsl_identifier atRef ) { attrRef = atRef;
_validAttributeArray[0] = true; }
/**
* Gets the program attribute.
* @return Returns a xsNCName of the program attribute.
*/
xsNCName getProgram() const { return attrProgram; }
/**
* Sets the program attribute.
* @param atProgram The new value for the program attribute.
*/
void setProgram( xsNCName atProgram ) { *(daeStringRef*)&attrProgram = atProgram;
_validAttributeArray[1] = true; }
protected:
/**
* Constructor
*/
domGlsl_setparam() {}
/**
* Destructor
*/
virtual ~domGlsl_setparam() {}
/**
* Copy Constructor
*/
domGlsl_setparam( const domGlsl_setparam &cpy ) : daeElement(), domGlsl_setparam_complexType() { (void)cpy; }
/**
* Overloaded assignment operator
*/
virtual domGlsl_setparam &operator=( const domGlsl_setparam &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

Some files were not shown because too many files have changed in this diff Show More