mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 22:20:12 +00:00
added limited support for COLLADA_DOM. Will need to add jam/msvcgen build support.
This commit is contained in:
parent
1a0f411f92
commit
6fc2e100f5
158
Extras/COLLADA_DOM/include/1.4/dom/domAccessor.h
Normal file
158
Extras/COLLADA_DOM/include/1.4/dom/domAccessor.h
Normal file
@ -0,0 +1,158 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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.setURI( atSource.getURI() ); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
210
Extras/COLLADA_DOM/include/1.4/dom/domAnimation.h
Normal file
210
Extras/COLLADA_DOM/include/1.4/dom/domAnimation.h
Normal file
@ -0,0 +1,210 @@
|
|||||||
|
/*
|
||||||
|
* 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 animation’s
|
||||||
|
* key-frame data and sampler functions, ordered in such a way to group together
|
||||||
|
* animations that should be executed together.
|
||||||
|
*/
|
||||||
|
class domAnimation : public daeElement
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
181
Extras/COLLADA_DOM/include/1.4/dom/domAnimation_clip.h
Normal file
181
Extras/COLLADA_DOM/include/1.4/dom/domAnimation_clip.h
Normal file
@ -0,0 +1,181 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
1203
Extras/COLLADA_DOM/include/1.4/dom/domAsset.h
Normal file
1203
Extras/COLLADA_DOM/include/1.4/dom/domAsset.h
Normal file
File diff suppressed because it is too large
Load Diff
186
Extras/COLLADA_DOM/include/1.4/dom/domBind_material.h
Normal file
186
Extras/COLLADA_DOM/include/1.4/dom/domBind_material.h
Normal file
@ -0,0 +1,186 @@
|
|||||||
|
/*
|
||||||
|
* 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/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:
|
||||||
|
class domTechnique_common;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domTechnique_common> domTechnique_commonRef;
|
||||||
|
typedef daeTArray<domTechnique_commonRef> domTechnique_common_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The technique_common element specifies the instance_rigid_body information
|
||||||
|
* for the common profile which all COLLADA implementations need to support.
|
||||||
|
*/
|
||||||
|
class domTechnique_common : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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 instance_rigid_body 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;
|
||||||
|
|
||||||
|
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; }
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domBind_material() : elemParam_array(), elemTechnique_common(), elemTechnique_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 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
|
139
Extras/COLLADA_DOM/include/1.4/dom/domBool_array.h
Normal file
139
Extras/COLLADA_DOM/include/1.4/dom/domBool_array.h
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
168
Extras/COLLADA_DOM/include/1.4/dom/domBox.h
Normal file
168
Extras/COLLADA_DOM/include/1.4/dom/domBox.h
Normal file
@ -0,0 +1,168 @@
|
|||||||
|
/*
|
||||||
|
* 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:
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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 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
|
502
Extras/COLLADA_DOM/include/1.4/dom/domCOLLADA.h
Normal file
502
Extras/COLLADA_DOM/include/1.4/dom/domCOLLADA.h
Normal file
@ -0,0 +1,502 @@
|
|||||||
|
/*
|
||||||
|
* 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:
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
protected: // Elements
|
||||||
|
/**
|
||||||
|
* The instance_physics_scene element declares the instantiation of a COLLADA
|
||||||
|
* physics_scene resource. The instance_physics_scene element may only appear
|
||||||
|
* once. @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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
protected: // Attribute
|
||||||
|
/**
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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.setURI( xmlns.getURI() ); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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(), 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 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
|
668
Extras/COLLADA_DOM/include/1.4/dom/domCamera.h
Normal file
668
Extras/COLLADA_DOM/include/1.4/dom/domCamera.h
Normal file
@ -0,0 +1,668 @@
|
|||||||
|
/*
|
||||||
|
* 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 camera’s optics and imager.
|
||||||
|
*/
|
||||||
|
class domCamera : public daeElement
|
||||||
|
{
|
||||||
|
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:
|
||||||
|
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:
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 horizontal
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
248
Extras/COLLADA_DOM/include/1.4/dom/domCapsule.h
Normal file
248
Extras/COLLADA_DOM/include/1.4/dom/domCapsule.h
Normal file
@ -0,0 +1,248 @@
|
|||||||
|
/*
|
||||||
|
* 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:
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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 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
|
105
Extras/COLLADA_DOM/include/1.4/dom/domCg_connect_param.h
Normal file
105
Extras/COLLADA_DOM/include/1.4/dom/domCg_connect_param.h
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
180
Extras/COLLADA_DOM/include/1.4/dom/domCg_newarray_type.h
Normal file
180
Extras/COLLADA_DOM/include/1.4/dom/domCg_newarray_type.h
Normal file
@ -0,0 +1,180 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
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 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
|
318
Extras/COLLADA_DOM/include/1.4/dom/domCg_newparam.h
Normal file
318
Extras/COLLADA_DOM/include/1.4/dom/domCg_newparam.h
Normal file
@ -0,0 +1,318 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
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 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
|
8208
Extras/COLLADA_DOM/include/1.4/dom/domCg_param_type.h
Normal file
8208
Extras/COLLADA_DOM/include/1.4/dom/domCg_param_type.h
Normal file
File diff suppressed because it is too large
Load Diff
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler1D.h
Normal file
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler1D.h
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler2D.h
Normal file
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler2D.h
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler3D.h
Normal file
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler3D.h
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerCUBE.h
Normal file
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerCUBE.h
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerDEPTH.h
Normal file
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerDEPTH.h
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerRECT.h
Normal file
88
Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerRECT.h
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
168
Extras/COLLADA_DOM/include/1.4/dom/domCg_setarray_type.h
Normal file
168
Extras/COLLADA_DOM/include/1.4/dom/domCg_setarray_type.h
Normal file
@ -0,0 +1,168 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
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 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
|
162
Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam.h
Normal file
162
Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam.h
Normal file
@ -0,0 +1,162 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
122
Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam_simple.h
Normal file
122
Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam_simple.h
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
170
Extras/COLLADA_DOM/include/1.4/dom/domCg_setuser_type.h
Normal file
170
Extras/COLLADA_DOM/include/1.4/dom/domCg_setuser_type.h
Normal file
@ -0,0 +1,170 @@
|
|||||||
|
/*
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an instance of a structured class.
|
||||||
|
*/
|
||||||
|
class domCg_setuser_type_complexType
|
||||||
|
{
|
||||||
|
protected: // Attribute
|
||||||
|
domCg_identifier attrName;
|
||||||
|
|
||||||
|
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;
|
||||||
|
/**
|
||||||
|
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||||
|
*/
|
||||||
|
daeElementRefArray _contents;
|
||||||
|
|
||||||
|
|
||||||
|
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 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 _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(), elemCg_param_type_array(), elemArray_array(), elemUsertype_array(), elemConnect_param_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
|
||||||
|
{
|
||||||
|
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 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
|
330
Extras/COLLADA_DOM/include/1.4/dom/domCg_surface_type.h
Normal file
330
Extras/COLLADA_DOM/include/1.4/dom/domCg_surface_type.h
Normal file
@ -0,0 +1,330 @@
|
|||||||
|
/*
|
||||||
|
* 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:
|
||||||
|
class domName;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domName> domNameRef;
|
||||||
|
typedef daeTArray<domNameRef> domName_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The entry symbol for the shader function.
|
||||||
|
*/
|
||||||
|
class domName : public daeElement
|
||||||
|
{
|
||||||
|
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 ) { attrSource = atSource; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the value of this element.
|
||||||
|
* @return 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
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 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
|
108
Extras/COLLADA_DOM/include/1.4/dom/domChannel.h
Normal file
108
Extras/COLLADA_DOM/include/1.4/dom/domChannel.h
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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.setURI( atSource.getURI() ); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrTarget = atTarget; }
|
||||||
|
|
||||||
|
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 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
|
@ -0,0 +1,353 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 ) { attrSid = atSid; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domParam;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domParam> domParamRef;
|
||||||
|
typedef daeTArray<domParamRef> domParam_Array;
|
||||||
|
|
||||||
|
class domParam : public daeElement
|
||||||
|
{
|
||||||
|
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 ) { attrRef = atRef; }
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domTexture;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domTexture> domTextureRef;
|
||||||
|
typedef daeTArray<domTextureRef> domTexture_Array;
|
||||||
|
|
||||||
|
class domTexture : public daeElement
|
||||||
|
{
|
||||||
|
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 ) { attrTexture = atTexture; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrTexcoord = atTexcoord; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
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 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
|
@ -0,0 +1,260 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 ) { attrSid = atSid; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domParam;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domParam> domParamRef;
|
||||||
|
typedef daeTArray<domParamRef> domParam_Array;
|
||||||
|
|
||||||
|
class domParam : public daeElement
|
||||||
|
{
|
||||||
|
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 ) { attrRef = atRef; }
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
protected: // Elements
|
||||||
|
domFloatRef elemFloat;
|
||||||
|
domParamRef elemParam;
|
||||||
|
/**
|
||||||
|
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||||
|
*/
|
||||||
|
daeElementRefArray _contents;
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
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 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
|
510
Extras/COLLADA_DOM/include/1.4/dom/domCommon_newparam_type.h
Normal file
510
Extras/COLLADA_DOM/include/1.4/dom/domCommon_newparam_type.h
Normal file
@ -0,0 +1,510 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domFloat;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domFloat> domFloatRef;
|
||||||
|
typedef daeTArray<domFloatRef> domFloat_Array;
|
||||||
|
|
||||||
|
class domFloat : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domFloat2;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domFloat2> domFloat2Ref;
|
||||||
|
typedef daeTArray<domFloat2Ref> domFloat2_Array;
|
||||||
|
|
||||||
|
class domFloat2 : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domFloat3;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domFloat3> domFloat3Ref;
|
||||||
|
typedef daeTArray<domFloat3Ref> domFloat3_Array;
|
||||||
|
|
||||||
|
class domFloat3 : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domFloat4;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domFloat4> domFloat4Ref;
|
||||||
|
typedef daeTArray<domFloat4Ref> domFloat4_Array;
|
||||||
|
|
||||||
|
class domFloat4 : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
563
Extras/COLLADA_DOM/include/1.4/dom/domConstants.h
Normal file
563
Extras/COLLADA_DOM/include/1.4/dom/domConstants.h
Normal file
@ -0,0 +1,563 @@
|
|||||||
|
/*
|
||||||
|
* 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_CONSTANTS_H__
|
||||||
|
#define __DOM_CONSTANTS_H__
|
||||||
|
|
||||||
|
#include <dae/daeDomTypes.h>
|
||||||
|
|
||||||
|
//extern daeString COLLADA_VERSION;
|
||||||
|
//extern daeString COLLADA_NAMESPACE;
|
||||||
|
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_BINORMAL;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_COLOR;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_IMAGE;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_IN_TANGENT;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_INPUT;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_INTERPOLATION;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_INV_BIND_MATRIX;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_JOINT;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_NORMAL;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_OUTPUT;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_OUT_TANGENT;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_POSITION;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_TANGENT;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_TEXCOORD;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_TEXTURE;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_UV;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_VERTEX;
|
||||||
|
extern daeString COMMON_PROFILE_INPUT_WEIGHT;
|
||||||
|
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_A;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_ANGLE;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_B;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_DOUBLE_SIDED;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_G;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_P;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_Q;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_R;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_S;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_T;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_TIME;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_U;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_V;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_W;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_X;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_Y;
|
||||||
|
extern daeString COMMON_PROFILE_PARAM_Z;
|
||||||
|
|
||||||
|
extern daeString COLLADA_ELEMENT_INPUTGLOBAL;
|
||||||
|
extern daeString COLLADA_ELEMENT_INPUTLOCAL;
|
||||||
|
extern daeString COLLADA_ELEMENT_INPUTLOCALOFFSET;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCEWITHEXTRA;
|
||||||
|
extern daeString COLLADA_ELEMENT_TARGETABLEFLOAT;
|
||||||
|
extern daeString COLLADA_ELEMENT_TARGETABLEFLOAT3;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_SURFACE_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_INIT_FROM;
|
||||||
|
extern daeString COLLADA_ELEMENT_FORMAT;
|
||||||
|
extern daeString COLLADA_ELEMENT_SIZE;
|
||||||
|
extern daeString COLLADA_ELEMENT_VIEWPORT_RATIO;
|
||||||
|
extern daeString COLLADA_ELEMENT_MIP_LEVELS;
|
||||||
|
extern daeString COLLADA_ELEMENT_MIPMAP_GENERATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_SAMPLER1D_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_SOURCE;
|
||||||
|
extern daeString COLLADA_ELEMENT_WRAP_S;
|
||||||
|
extern daeString COLLADA_ELEMENT_MINFILTER;
|
||||||
|
extern daeString COLLADA_ELEMENT_MAGFILTER;
|
||||||
|
extern daeString COLLADA_ELEMENT_MIPFILTER;
|
||||||
|
extern daeString COLLADA_ELEMENT_BORDER_COLOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_MIPMAP_MAXLEVEL;
|
||||||
|
extern daeString COLLADA_ELEMENT_MIPMAP_BIAS;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_SAMPLER2D_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_WRAP_T;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_SAMPLER3D_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_WRAP_P;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_SAMPLERCUBE_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_SAMPLERRECT_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_SAMPLERDEPTH_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_COLORTARGET_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_DEPTHTARGET_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_STENCILTARGET_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_CLEARCOLOR_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_CLEARDEPTH_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_CLEARSTENCIL_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_ANNOTATE_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_INCLUDE_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_NEWPARAM_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_SEMANTIC;
|
||||||
|
extern daeString COLLADA_ELEMENT_MODIFIER;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_SETPARAM_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_CODE_PROFILE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GL_SAMPLER1D;
|
||||||
|
extern daeString COLLADA_ELEMENT_GL_SAMPLER2D;
|
||||||
|
extern daeString COLLADA_ELEMENT_GL_SAMPLER3D;
|
||||||
|
extern daeString COLLADA_ELEMENT_GL_SAMPLERCUBE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GL_SAMPLERRECT;
|
||||||
|
extern daeString COLLADA_ELEMENT_GL_SAMPLERDEPTH;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLSL_NEWARRAY_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLSL_SETARRAY_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLSL_SURFACE_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GENERATOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_NAME;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLSL_NEWPARAM;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLSL_SETPARAM_SIMPLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLSL_SETPARAM;
|
||||||
|
extern daeString COLLADA_ELEMENT_COMMON_FLOAT_OR_PARAM_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT;
|
||||||
|
extern daeString COLLADA_ELEMENT_PARAM;
|
||||||
|
extern daeString COLLADA_ELEMENT_COMMON_COLOR_OR_TEXTURE_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_COLOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE;
|
||||||
|
extern daeString COLLADA_ELEMENT_COMMON_NEWPARAM_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT2;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT3;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT4;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SAMPLER1D;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SAMPLER2D;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SAMPLER3D;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SAMPLERCUBE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SAMPLERRECT;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SAMPLERDEPTH;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_CONNECT_PARAM;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_NEWARRAY_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SETARRAY_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SETUSER_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SURFACE_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_NEWPARAM;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SETPARAM_SIMPLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_SETPARAM;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_TEXTURE_CONSTANT_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_TEXENV_COMMAND_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_ARGUMENTRGB_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_ARGUMENTALPHA_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_COMMANDRGB_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_COMMANDALPHA_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_COMMAND_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_TEXTURE_PIPELINE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_TEXTURE_UNIT;
|
||||||
|
extern daeString COLLADA_ELEMENT_SURFACE;
|
||||||
|
extern daeString COLLADA_ELEMENT_SAMPLER_STATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXCOORD;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_SAMPLER_STATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_NEWPARAM;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_ANNOTATE_TYPE_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL2;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL3;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL4;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT2;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT3;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT4;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT2X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT3X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT4X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_STRING;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_BASIC_TYPE_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT1X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT1X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT1X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT1X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT2X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT2X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT2X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT3X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT3X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT3X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT4X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT4X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT4X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_ENUM;
|
||||||
|
extern daeString COLLADA_ELEMENT_GL_PIPELINE_SETTINGS;
|
||||||
|
extern daeString COLLADA_ELEMENT_ALPHA_FUNC;
|
||||||
|
extern daeString COLLADA_ELEMENT_FUNC;
|
||||||
|
extern daeString COLLADA_ELEMENT_VALUE;
|
||||||
|
extern daeString COLLADA_ELEMENT_BLEND_FUNC;
|
||||||
|
extern daeString COLLADA_ELEMENT_SRC;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEST;
|
||||||
|
extern daeString COLLADA_ELEMENT_BLEND_FUNC_SEPARATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_SRC_RGB;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEST_RGB;
|
||||||
|
extern daeString COLLADA_ELEMENT_SRC_ALPHA;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEST_ALPHA;
|
||||||
|
extern daeString COLLADA_ELEMENT_BLEND_EQUATION;
|
||||||
|
extern daeString COLLADA_ELEMENT_BLEND_EQUATION_SEPARATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_RGB;
|
||||||
|
extern daeString COLLADA_ELEMENT_ALPHA;
|
||||||
|
extern daeString COLLADA_ELEMENT_COLOR_MATERIAL;
|
||||||
|
extern daeString COLLADA_ELEMENT_FACE;
|
||||||
|
extern daeString COLLADA_ELEMENT_MODE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CULL_FACE;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEPTH_FUNC;
|
||||||
|
extern daeString COLLADA_ELEMENT_FOG_MODE;
|
||||||
|
extern daeString COLLADA_ELEMENT_FOG_COORD_SRC;
|
||||||
|
extern daeString COLLADA_ELEMENT_FRONT_FACE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_MODEL_COLOR_CONTROL;
|
||||||
|
extern daeString COLLADA_ELEMENT_LOGIC_OP;
|
||||||
|
extern daeString COLLADA_ELEMENT_POLYGON_MODE;
|
||||||
|
extern daeString COLLADA_ELEMENT_SHADE_MODEL;
|
||||||
|
extern daeString COLLADA_ELEMENT_STENCIL_FUNC;
|
||||||
|
extern daeString COLLADA_ELEMENT_REF;
|
||||||
|
extern daeString COLLADA_ELEMENT_MASK;
|
||||||
|
extern daeString COLLADA_ELEMENT_STENCIL_OP;
|
||||||
|
extern daeString COLLADA_ELEMENT_FAIL;
|
||||||
|
extern daeString COLLADA_ELEMENT_ZFAIL;
|
||||||
|
extern daeString COLLADA_ELEMENT_ZPASS;
|
||||||
|
extern daeString COLLADA_ELEMENT_STENCIL_FUNC_SEPARATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_FRONT;
|
||||||
|
extern daeString COLLADA_ELEMENT_BACK;
|
||||||
|
extern daeString COLLADA_ELEMENT_STENCIL_OP_SEPARATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_STENCIL_MASK_SEPARATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_AMBIENT;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_DIFFUSE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_SPECULAR;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_POSITION;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_CONSTANT_ATTENUATION;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_LINEAR_ATTENUATION;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_QUADRATIC_ATTENUATION;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_SPOT_CUTOFF;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_SPOT_DIRECTION;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_SPOT_EXPONENT;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE1D;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE2D;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE3D;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURECUBE;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURERECT;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTUREDEPTH;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE1D_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE2D_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE3D_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURECUBE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURERECT_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTUREDEPTH_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE_ENV_COLOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE_ENV_MODE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CLIP_PLANE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CLIP_PLANE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_BLEND_COLOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_CLEAR_COLOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_CLEAR_STENCIL;
|
||||||
|
extern daeString COLLADA_ELEMENT_CLEAR_DEPTH;
|
||||||
|
extern daeString COLLADA_ELEMENT_COLOR_MASK;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEPTH_BOUNDS;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEPTH_MASK;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEPTH_RANGE;
|
||||||
|
extern daeString COLLADA_ELEMENT_FOG_DENSITY;
|
||||||
|
extern daeString COLLADA_ELEMENT_FOG_START;
|
||||||
|
extern daeString COLLADA_ELEMENT_FOG_END;
|
||||||
|
extern daeString COLLADA_ELEMENT_FOG_COLOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_MODEL_AMBIENT;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHTING_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LINE_STIPPLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LINE_WIDTH;
|
||||||
|
extern daeString COLLADA_ELEMENT_MATERIAL_AMBIENT;
|
||||||
|
extern daeString COLLADA_ELEMENT_MATERIAL_DIFFUSE;
|
||||||
|
extern daeString COLLADA_ELEMENT_MATERIAL_EMISSION;
|
||||||
|
extern daeString COLLADA_ELEMENT_MATERIAL_SHININESS;
|
||||||
|
extern daeString COLLADA_ELEMENT_MATERIAL_SPECULAR;
|
||||||
|
extern daeString COLLADA_ELEMENT_MODEL_VIEW_MATRIX;
|
||||||
|
extern daeString COLLADA_ELEMENT_POINT_DISTANCE_ATTENUATION;
|
||||||
|
extern daeString COLLADA_ELEMENT_POINT_FADE_THRESHOLD_SIZE;
|
||||||
|
extern daeString COLLADA_ELEMENT_POINT_SIZE;
|
||||||
|
extern daeString COLLADA_ELEMENT_POINT_SIZE_MIN;
|
||||||
|
extern daeString COLLADA_ELEMENT_POINT_SIZE_MAX;
|
||||||
|
extern daeString COLLADA_ELEMENT_POLYGON_OFFSET;
|
||||||
|
extern daeString COLLADA_ELEMENT_PROJECTION_MATRIX;
|
||||||
|
extern daeString COLLADA_ELEMENT_SCISSOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_STENCIL_MASK;
|
||||||
|
extern daeString COLLADA_ELEMENT_ALPHA_TEST_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_AUTO_NORMAL_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_BLEND_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_COLOR_LOGIC_OP_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CULL_FACE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEPTH_BOUNDS_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEPTH_CLAMP_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEPTH_TEST_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_DITHER_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_FOG_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_MODEL_LOCAL_VIEWER_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_MODEL_TWO_SIDE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LINE_SMOOTH_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LINE_STIPPLE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LOGIC_OP_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_MULTISAMPLE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_NORMALIZE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_POINT_SMOOTH_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_POLYGON_OFFSET_FILL_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_POLYGON_OFFSET_LINE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_POLYGON_OFFSET_POINT_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_POLYGON_SMOOTH_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_POLYGON_STIPPLE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_RESCALE_NORMAL_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_SAMPLE_ALPHA_TO_COVERAGE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_SAMPLE_ALPHA_TO_ONE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_SAMPLE_COVERAGE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_SCISSOR_TEST_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_STENCIL_TEST_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLSL_PARAM_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CG_PARAM_TYPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL1;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL1X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL1X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL1X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL1X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL2X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL2X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL2X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL2X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL3X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL3X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL3X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL3X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL4X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL4X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL4X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL4X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT1;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT1;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT1X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT1X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT1X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT1X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT2X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT2X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT2X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT2X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT3X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT3X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT3X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT3X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT4X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT4X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT4X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT4X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF1;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF2;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF3;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF4;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF1X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF1X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF1X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF1X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF2X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF2X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF2X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF2X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF3X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF3X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF3X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF3X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF4X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF4X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF4X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF4X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED1;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED2;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED3;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED4;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED1X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED1X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED1X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED1X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED2X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED2X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED2X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED2X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED3X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED3X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED3X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED3X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED4X1;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED4X2;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED4X3;
|
||||||
|
extern daeString COLLADA_ELEMENT_FIXED4X4;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_PIPELINE_SETTINGS;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE_PIPELINE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT_LINEAR_ATTENUTATION;
|
||||||
|
extern daeString COLLADA_ELEMENT_COLOR_MATERIAL_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_TEXTURE_PIPELINE_ENABLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_GLES_BASIC_TYPE_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_COLLADA;
|
||||||
|
extern daeString COLLADA_ELEMENT_SCENE;
|
||||||
|
extern daeString COLLADA_ELEMENT_IDREF_ARRAY;
|
||||||
|
extern daeString COLLADA_ELEMENT_NAME_ARRAY;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOOL_ARRAY;
|
||||||
|
extern daeString COLLADA_ELEMENT_FLOAT_ARRAY;
|
||||||
|
extern daeString COLLADA_ELEMENT_INT_ARRAY;
|
||||||
|
extern daeString COLLADA_ELEMENT_ACCESSOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_TECHNIQUE_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_GEOMETRY;
|
||||||
|
extern daeString COLLADA_ELEMENT_MESH;
|
||||||
|
extern daeString COLLADA_ELEMENT_SPLINE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CONTROL_VERTICES;
|
||||||
|
extern daeString COLLADA_ELEMENT_P;
|
||||||
|
extern daeString COLLADA_ELEMENT_LINES;
|
||||||
|
extern daeString COLLADA_ELEMENT_LINESTRIPS;
|
||||||
|
extern daeString COLLADA_ELEMENT_POLYGONS;
|
||||||
|
extern daeString COLLADA_ELEMENT_PH;
|
||||||
|
extern daeString COLLADA_ELEMENT_H;
|
||||||
|
extern daeString COLLADA_ELEMENT_POLYLIST;
|
||||||
|
extern daeString COLLADA_ELEMENT_VCOUNT;
|
||||||
|
extern daeString COLLADA_ELEMENT_TRIANGLES;
|
||||||
|
extern daeString COLLADA_ELEMENT_TRIFANS;
|
||||||
|
extern daeString COLLADA_ELEMENT_TRISTRIPS;
|
||||||
|
extern daeString COLLADA_ELEMENT_VERTICES;
|
||||||
|
extern daeString COLLADA_ELEMENT_LOOKAT;
|
||||||
|
extern daeString COLLADA_ELEMENT_MATRIX;
|
||||||
|
extern daeString COLLADA_ELEMENT_ROTATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_SCALE;
|
||||||
|
extern daeString COLLADA_ELEMENT_SKEW;
|
||||||
|
extern daeString COLLADA_ELEMENT_TRANSLATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_IMAGE;
|
||||||
|
extern daeString COLLADA_ELEMENT_DATA;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIGHT;
|
||||||
|
extern daeString COLLADA_ELEMENT_AMBIENT;
|
||||||
|
extern daeString COLLADA_ELEMENT_DIRECTIONAL;
|
||||||
|
extern daeString COLLADA_ELEMENT_POINT;
|
||||||
|
extern daeString COLLADA_ELEMENT_SPOT;
|
||||||
|
extern daeString COLLADA_ELEMENT_MATERIAL;
|
||||||
|
extern daeString COLLADA_ELEMENT_CAMERA;
|
||||||
|
extern daeString COLLADA_ELEMENT_OPTICS;
|
||||||
|
extern daeString COLLADA_ELEMENT_ORTHOGRAPHIC;
|
||||||
|
extern daeString COLLADA_ELEMENT_PERSPECTIVE;
|
||||||
|
extern daeString COLLADA_ELEMENT_IMAGER;
|
||||||
|
extern daeString COLLADA_ELEMENT_ANIMATION;
|
||||||
|
extern daeString COLLADA_ELEMENT_ANIMATION_CLIP;
|
||||||
|
extern daeString COLLADA_ELEMENT_CHANNEL;
|
||||||
|
extern daeString COLLADA_ELEMENT_SAMPLER;
|
||||||
|
extern daeString COLLADA_ELEMENT_CONTROLLER;
|
||||||
|
extern daeString COLLADA_ELEMENT_SKIN;
|
||||||
|
extern daeString COLLADA_ELEMENT_BIND_SHAPE_MATRIX;
|
||||||
|
extern daeString COLLADA_ELEMENT_JOINTS;
|
||||||
|
extern daeString COLLADA_ELEMENT_VERTEX_WEIGHTS;
|
||||||
|
extern daeString COLLADA_ELEMENT_V;
|
||||||
|
extern daeString COLLADA_ELEMENT_MORPH;
|
||||||
|
extern daeString COLLADA_ELEMENT_TARGETS;
|
||||||
|
extern daeString COLLADA_ELEMENT_ASSET;
|
||||||
|
extern daeString COLLADA_ELEMENT_CONTRIBUTOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_AUTHOR;
|
||||||
|
extern daeString COLLADA_ELEMENT_AUTHORING_TOOL;
|
||||||
|
extern daeString COLLADA_ELEMENT_COMMENTS;
|
||||||
|
extern daeString COLLADA_ELEMENT_COPYRIGHT;
|
||||||
|
extern daeString COLLADA_ELEMENT_SOURCE_DATA;
|
||||||
|
extern daeString COLLADA_ELEMENT_CREATED;
|
||||||
|
extern daeString COLLADA_ELEMENT_KEYWORDS;
|
||||||
|
extern daeString COLLADA_ELEMENT_MODIFIED;
|
||||||
|
extern daeString COLLADA_ELEMENT_REVISION;
|
||||||
|
extern daeString COLLADA_ELEMENT_SUBJECT;
|
||||||
|
extern daeString COLLADA_ELEMENT_TITLE;
|
||||||
|
extern daeString COLLADA_ELEMENT_UNIT;
|
||||||
|
extern daeString COLLADA_ELEMENT_UP_AXIS;
|
||||||
|
extern daeString COLLADA_ELEMENT_EXTRA;
|
||||||
|
extern daeString COLLADA_ELEMENT_TECHNIQUE;
|
||||||
|
extern daeString COLLADA_ELEMENT_NODE;
|
||||||
|
extern daeString COLLADA_ELEMENT_VISUAL_SCENE;
|
||||||
|
extern daeString COLLADA_ELEMENT_EVALUATE_SCENE;
|
||||||
|
extern daeString COLLADA_ELEMENT_RENDER;
|
||||||
|
extern daeString COLLADA_ELEMENT_LAYER;
|
||||||
|
extern daeString COLLADA_ELEMENT_BIND_MATERIAL;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_CAMERA;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_CONTROLLER;
|
||||||
|
extern daeString COLLADA_ELEMENT_SKELETON;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_EFFECT;
|
||||||
|
extern daeString COLLADA_ELEMENT_TECHNIQUE_HINT;
|
||||||
|
extern daeString COLLADA_ELEMENT_SETPARAM;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_FORCE_FIELD;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_GEOMETRY;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_LIGHT;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_MATERIAL;
|
||||||
|
extern daeString COLLADA_ELEMENT_BIND;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_NODE;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_MATERIAL;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_MODEL;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_RIGID_BODY;
|
||||||
|
extern daeString COLLADA_ELEMENT_ANGULAR_VELOCITY;
|
||||||
|
extern daeString COLLADA_ELEMENT_VELOCITY;
|
||||||
|
extern daeString COLLADA_ELEMENT_DYNAMIC;
|
||||||
|
extern daeString COLLADA_ELEMENT_MASS_FRAME;
|
||||||
|
extern daeString COLLADA_ELEMENT_SHAPE;
|
||||||
|
extern daeString COLLADA_ELEMENT_HOLLOW;
|
||||||
|
extern daeString COLLADA_ELEMENT_INSTANCE_RIGID_CONSTRAINT;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_ANIMATIONS;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_ANIMATION_CLIPS;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_CAMERAS;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_CONTROLLERS;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_GEOMETRIES;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_EFFECTS;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_FORCE_FIELDS;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_IMAGES;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_LIGHTS;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_MATERIALS;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_NODES;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_MATERIALS;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_MODELS;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_SCENES;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIBRARY_VISUAL_SCENES;
|
||||||
|
extern daeString COLLADA_ELEMENT_FX_PROFILE_ABSTRACT;
|
||||||
|
extern daeString COLLADA_ELEMENT_EFFECT;
|
||||||
|
extern daeString COLLADA_ELEMENT_GL_HOOK_ABSTRACT;
|
||||||
|
extern daeString COLLADA_ELEMENT_PROFILE_GLSL;
|
||||||
|
extern daeString COLLADA_ELEMENT_PASS;
|
||||||
|
extern daeString COLLADA_ELEMENT_DRAW;
|
||||||
|
extern daeString COLLADA_ELEMENT_SHADER;
|
||||||
|
extern daeString COLLADA_ELEMENT_COMPILER_TARGET;
|
||||||
|
extern daeString COLLADA_ELEMENT_COMPILER_OPTIONS;
|
||||||
|
extern daeString COLLADA_ELEMENT_PROFILE_COMMON;
|
||||||
|
extern daeString COLLADA_ELEMENT_CONSTANT;
|
||||||
|
extern daeString COLLADA_ELEMENT_LAMBERT;
|
||||||
|
extern daeString COLLADA_ELEMENT_PHONG;
|
||||||
|
extern daeString COLLADA_ELEMENT_BLINN;
|
||||||
|
extern daeString COLLADA_ELEMENT_PROFILE_CG;
|
||||||
|
extern daeString COLLADA_ELEMENT_PROFILE_GLES;
|
||||||
|
extern daeString COLLADA_ELEMENT_COLOR_TARGET;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEPTH_TARGET;
|
||||||
|
extern daeString COLLADA_ELEMENT_STENCIL_TARGET;
|
||||||
|
extern daeString COLLADA_ELEMENT_COLOR_CLEAR;
|
||||||
|
extern daeString COLLADA_ELEMENT_DEPTH_CLEAR;
|
||||||
|
extern daeString COLLADA_ELEMENT_STENCIL_CLEAR;
|
||||||
|
extern daeString COLLADA_ELEMENT_BOX;
|
||||||
|
extern daeString COLLADA_ELEMENT_HALF_EXTENTS;
|
||||||
|
extern daeString COLLADA_ELEMENT_PLANE;
|
||||||
|
extern daeString COLLADA_ELEMENT_EQUATION;
|
||||||
|
extern daeString COLLADA_ELEMENT_SPHERE;
|
||||||
|
extern daeString COLLADA_ELEMENT_RADIUS;
|
||||||
|
extern daeString COLLADA_ELEMENT_ELLIPSOID;
|
||||||
|
extern daeString COLLADA_ELEMENT_CYLINDER;
|
||||||
|
extern daeString COLLADA_ELEMENT_HEIGHT;
|
||||||
|
extern daeString COLLADA_ELEMENT_TAPERED_CYLINDER;
|
||||||
|
extern daeString COLLADA_ELEMENT_RADIUS1;
|
||||||
|
extern daeString COLLADA_ELEMENT_RADIUS2;
|
||||||
|
extern daeString COLLADA_ELEMENT_CAPSULE;
|
||||||
|
extern daeString COLLADA_ELEMENT_TAPERED_CAPSULE;
|
||||||
|
extern daeString COLLADA_ELEMENT_CONVEX_MESH;
|
||||||
|
extern daeString COLLADA_ELEMENT_FORCE_FIELD;
|
||||||
|
extern daeString COLLADA_ELEMENT_PHYSICS_MATERIAL;
|
||||||
|
extern daeString COLLADA_ELEMENT_PHYSICS_SCENE;
|
||||||
|
extern daeString COLLADA_ELEMENT_RIGID_BODY;
|
||||||
|
extern daeString COLLADA_ELEMENT_RIGID_CONSTRAINT;
|
||||||
|
extern daeString COLLADA_ELEMENT_REF_ATTACHMENT;
|
||||||
|
extern daeString COLLADA_ELEMENT_ATTACHMENT;
|
||||||
|
extern daeString COLLADA_ELEMENT_ENABLED;
|
||||||
|
extern daeString COLLADA_ELEMENT_INTERPENETRATE;
|
||||||
|
extern daeString COLLADA_ELEMENT_LIMITS;
|
||||||
|
extern daeString COLLADA_ELEMENT_SWING_CONE_AND_TWIST;
|
||||||
|
extern daeString COLLADA_ELEMENT_LINEAR;
|
||||||
|
extern daeString COLLADA_ELEMENT_SPRING;
|
||||||
|
extern daeString COLLADA_ELEMENT_ANGULAR;
|
||||||
|
extern daeString COLLADA_ELEMENT_PHYSICS_MODEL;
|
||||||
|
|
||||||
|
#endif //__DOM_CONSTANTS_H__
|
||||||
|
|
167
Extras/COLLADA_DOM/include/1.4/dom/domController.h
Normal file
167
Extras/COLLADA_DOM/include/1.4/dom/domController.h
Normal file
@ -0,0 +1,167 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
229
Extras/COLLADA_DOM/include/1.4/dom/domConvex_mesh.h
Normal file
229
Extras/COLLADA_DOM/include/1.4/dom/domConvex_mesh.h
Normal file
@ -0,0 +1,229 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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.setURI( atConvex_hull_of.getURI() ); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
247
Extras/COLLADA_DOM/include/1.4/dom/domCylinder.h
Normal file
247
Extras/COLLADA_DOM/include/1.4/dom/domCylinder.h
Normal file
@ -0,0 +1,247 @@
|
|||||||
|
/*
|
||||||
|
* 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:
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domRadius;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domRadius> domRadiusRef;
|
||||||
|
typedef daeTArray<domRadiusRef> domRadius_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* float2 values that represent the radii of the cylinder.
|
||||||
|
*/
|
||||||
|
class domRadius : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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 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
|
207
Extras/COLLADA_DOM/include/1.4/dom/domEffect.h
Normal file
207
Extras/COLLADA_DOM/include/1.4/dom/domEffect.h
Normal file
@ -0,0 +1,207 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
841
Extras/COLLADA_DOM/include/1.4/dom/domElements.h
Normal file
841
Extras/COLLADA_DOM/include/1.4/dom/domElements.h
Normal file
@ -0,0 +1,841 @@
|
|||||||
|
/*
|
||||||
|
* 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_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_setparam_common;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domFx_setparam_common> domFx_setparam_commonRef;
|
||||||
|
typedef daeTArray<domFx_setparam_commonRef> domFx_setparam_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_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_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__
|
||||||
|
|
144
Extras/COLLADA_DOM/include/1.4/dom/domEllipsoid.h
Normal file
144
Extras/COLLADA_DOM/include/1.4/dom/domEllipsoid.h
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
/*
|
||||||
|
* 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:
|
||||||
|
class domSize;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domSize> domSizeRef;
|
||||||
|
typedef daeTArray<domSizeRef> domSize_Array;
|
||||||
|
|
||||||
|
class domSize : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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 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
|
145
Extras/COLLADA_DOM/include/1.4/dom/domExtra.h
Normal file
145
Extras/COLLADA_DOM/include/1.4/dom/domExtra.h
Normal file
@ -0,0 +1,145 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrType = atType; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
173
Extras/COLLADA_DOM/include/1.4/dom/domFloat_array.h
Normal file
173
Extras/COLLADA_DOM/include/1.4/dom/domFloat_array.h
Normal file
@ -0,0 +1,173 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
144
Extras/COLLADA_DOM/include/1.4/dom/domForce_field.h
Normal file
144
Extras/COLLADA_DOM/include/1.4/dom/domForce_field.h
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
110
Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_common.h
Normal file
110
Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_common.h
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
/*
|
||||||
|
* 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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
1283
Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_type_common.h
Normal file
1283
Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_type_common.h
Normal file
File diff suppressed because it is too large
Load Diff
2315
Extras/COLLADA_DOM/include/1.4/dom/domFx_basic_type_common.h
Normal file
2315
Extras/COLLADA_DOM/include/1.4/dom/domFx_basic_type_common.h
Normal file
File diff suppressed because it is too large
Load Diff
123
Extras/COLLADA_DOM/include/1.4/dom/domFx_clearcolor_common.h
Normal file
123
Extras/COLLADA_DOM/include/1.4/dom/domFx_clearcolor_common.h
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
118
Extras/COLLADA_DOM/include/1.4/dom/domFx_cleardepth_common.h
Normal file
118
Extras/COLLADA_DOM/include/1.4/dom/domFx_cleardepth_common.h
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
118
Extras/COLLADA_DOM/include/1.4/dom/domFx_clearstencil_common.h
Normal file
118
Extras/COLLADA_DOM/include/1.4/dom/domFx_clearstencil_common.h
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
127
Extras/COLLADA_DOM/include/1.4/dom/domFx_code_profile.h
Normal file
127
Extras/COLLADA_DOM/include/1.4/dom/domFx_code_profile.h
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
/*
|
||||||
|
* 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 ) { attrSid = atSid; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the value of this element.
|
||||||
|
* @return 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 ) { _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
|
||||||
|
{
|
||||||
|
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 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
|
130
Extras/COLLADA_DOM/include/1.4/dom/domFx_colortarget_common.h
Normal file
130
Extras/COLLADA_DOM/include/1.4/dom/domFx_colortarget_common.h
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
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 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 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 ) { _value = val; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domFx_colortarget_common_complexType() : attrIndex(), 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
|
||||||
|
{
|
||||||
|
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 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
|
130
Extras/COLLADA_DOM/include/1.4/dom/domFx_depthtarget_common.h
Normal file
130
Extras/COLLADA_DOM/include/1.4/dom/domFx_depthtarget_common.h
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
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 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 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 ) { _value = val; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domFx_depthtarget_common_complexType() : attrIndex(), 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
|
||||||
|
{
|
||||||
|
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 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
|
134
Extras/COLLADA_DOM/include/1.4/dom/domFx_include_common.h
Normal file
134
Extras/COLLADA_DOM/include/1.4/dom/domFx_include_common.h
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
/*
|
||||||
|
* 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 ) { 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.setURI( atUrl.getURI() ); }
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
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 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
|
293
Extras/COLLADA_DOM/include/1.4/dom/domFx_newparam_common.h
Normal file
293
Extras/COLLADA_DOM/include/1.4/dom/domFx_newparam_common.h
Normal file
@ -0,0 +1,293 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
67
Extras/COLLADA_DOM/include/1.4/dom/domFx_profile_abstract.h
Normal file
67
Extras/COLLADA_DOM/include/1.4/dom/domFx_profile_abstract.h
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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
|
668
Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler1D_common.h
Normal file
668
Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler1D_common.h
Normal file
@ -0,0 +1,668 @@
|
|||||||
|
/*
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_s;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_s> domWrap_sRef;
|
||||||
|
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
|
||||||
|
|
||||||
|
class domWrap_s : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMinfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMinfilter> domMinfilterRef;
|
||||||
|
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
|
||||||
|
|
||||||
|
class domMinfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMagfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMagfilter> domMagfilterRef;
|
||||||
|
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
|
||||||
|
|
||||||
|
class domMagfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipfilter> domMipfilterRef;
|
||||||
|
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
|
||||||
|
|
||||||
|
class domMipfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domBorder_color;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domBorder_color> domBorder_colorRef;
|
||||||
|
typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
|
||||||
|
|
||||||
|
class domBorder_color : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_maxlevel;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
|
||||||
|
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
|
||||||
|
|
||||||
|
class domMipmap_maxlevel : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_bias;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
|
||||||
|
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
|
||||||
|
|
||||||
|
class domMipmap_bias : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
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; }
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domFx_sampler1D_common_complexType() : elemSource(), elemWrap_s(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias() {}
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
739
Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler2D_common.h
Normal file
739
Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler2D_common.h
Normal file
@ -0,0 +1,739 @@
|
|||||||
|
/*
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_s;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_s> domWrap_sRef;
|
||||||
|
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
|
||||||
|
|
||||||
|
class domWrap_s : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_t;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_t> domWrap_tRef;
|
||||||
|
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
|
||||||
|
|
||||||
|
class domWrap_t : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMinfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMinfilter> domMinfilterRef;
|
||||||
|
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
|
||||||
|
|
||||||
|
class domMinfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMagfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMagfilter> domMagfilterRef;
|
||||||
|
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
|
||||||
|
|
||||||
|
class domMagfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipfilter> domMipfilterRef;
|
||||||
|
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
|
||||||
|
|
||||||
|
class domMipfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domBorder_color;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domBorder_color> domBorder_colorRef;
|
||||||
|
typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
|
||||||
|
|
||||||
|
class domBorder_color : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_maxlevel;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
|
||||||
|
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
|
||||||
|
|
||||||
|
class domMipmap_maxlevel : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_bias;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
|
||||||
|
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
|
||||||
|
|
||||||
|
class domMipmap_bias : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
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; }
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domFx_sampler2D_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias() {}
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
810
Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler3D_common.h
Normal file
810
Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler3D_common.h
Normal file
@ -0,0 +1,810 @@
|
|||||||
|
/*
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_s;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_s> domWrap_sRef;
|
||||||
|
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
|
||||||
|
|
||||||
|
class domWrap_s : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_t;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_t> domWrap_tRef;
|
||||||
|
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
|
||||||
|
|
||||||
|
class domWrap_t : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_p;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_p> domWrap_pRef;
|
||||||
|
typedef daeTArray<domWrap_pRef> domWrap_p_Array;
|
||||||
|
|
||||||
|
class domWrap_p : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMinfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMinfilter> domMinfilterRef;
|
||||||
|
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
|
||||||
|
|
||||||
|
class domMinfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMagfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMagfilter> domMagfilterRef;
|
||||||
|
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
|
||||||
|
|
||||||
|
class domMagfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipfilter> domMipfilterRef;
|
||||||
|
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
|
||||||
|
|
||||||
|
class domMipfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domBorder_color;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domBorder_color> domBorder_colorRef;
|
||||||
|
typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
|
||||||
|
|
||||||
|
class domBorder_color : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_maxlevel;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
|
||||||
|
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
|
||||||
|
|
||||||
|
class domMipmap_maxlevel : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_bias;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
|
||||||
|
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
|
||||||
|
|
||||||
|
class domMipmap_bias : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
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; }
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domFx_sampler3D_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias() {}
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
810
Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerCUBE_common.h
Normal file
810
Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerCUBE_common.h
Normal file
@ -0,0 +1,810 @@
|
|||||||
|
/*
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_s;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_s> domWrap_sRef;
|
||||||
|
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
|
||||||
|
|
||||||
|
class domWrap_s : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_t;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_t> domWrap_tRef;
|
||||||
|
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
|
||||||
|
|
||||||
|
class domWrap_t : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_p;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_p> domWrap_pRef;
|
||||||
|
typedef daeTArray<domWrap_pRef> domWrap_p_Array;
|
||||||
|
|
||||||
|
class domWrap_p : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMinfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMinfilter> domMinfilterRef;
|
||||||
|
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
|
||||||
|
|
||||||
|
class domMinfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMagfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMagfilter> domMagfilterRef;
|
||||||
|
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
|
||||||
|
|
||||||
|
class domMagfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipfilter> domMipfilterRef;
|
||||||
|
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
|
||||||
|
|
||||||
|
class domMipfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domBorder_color;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domBorder_color> domBorder_colorRef;
|
||||||
|
typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
|
||||||
|
|
||||||
|
class domBorder_color : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_maxlevel;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
|
||||||
|
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
|
||||||
|
|
||||||
|
class domMipmap_maxlevel : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_bias;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
|
||||||
|
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
|
||||||
|
|
||||||
|
class domMipmap_bias : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
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; }
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domFx_samplerCUBE_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias() {}
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
450
Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerDEPTH_common.h
Normal file
450
Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerDEPTH_common.h
Normal file
@ -0,0 +1,450 @@
|
|||||||
|
/*
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_s;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_s> domWrap_sRef;
|
||||||
|
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
|
||||||
|
|
||||||
|
class domWrap_s : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_t;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_t> domWrap_tRef;
|
||||||
|
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
|
||||||
|
|
||||||
|
class domWrap_t : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMinfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMinfilter> domMinfilterRef;
|
||||||
|
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
|
||||||
|
|
||||||
|
class domMinfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMagfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMagfilter> domMagfilterRef;
|
||||||
|
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
|
||||||
|
|
||||||
|
class domMagfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
protected: // Elements
|
||||||
|
domSourceRef elemSource;
|
||||||
|
domWrap_sRef elemWrap_s;
|
||||||
|
domWrap_tRef elemWrap_t;
|
||||||
|
domMinfilterRef elemMinfilter;
|
||||||
|
domMagfilterRef elemMagfilter;
|
||||||
|
|
||||||
|
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; }
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domFx_samplerDEPTH_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter() {}
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
739
Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerRECT_common.h
Normal file
739
Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerRECT_common.h
Normal file
@ -0,0 +1,739 @@
|
|||||||
|
/*
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_s;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_s> domWrap_sRef;
|
||||||
|
typedef daeTArray<domWrap_sRef> domWrap_s_Array;
|
||||||
|
|
||||||
|
class domWrap_s : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_t;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_t> domWrap_tRef;
|
||||||
|
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
|
||||||
|
|
||||||
|
class domWrap_t : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMinfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMinfilter> domMinfilterRef;
|
||||||
|
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
|
||||||
|
|
||||||
|
class domMinfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMagfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMagfilter> domMagfilterRef;
|
||||||
|
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
|
||||||
|
|
||||||
|
class domMagfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipfilter> domMipfilterRef;
|
||||||
|
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
|
||||||
|
|
||||||
|
class domMipfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domBorder_color;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domBorder_color> domBorder_colorRef;
|
||||||
|
typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
|
||||||
|
|
||||||
|
class domBorder_color : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_maxlevel;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
|
||||||
|
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
|
||||||
|
|
||||||
|
class domMipmap_maxlevel : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_bias;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
|
||||||
|
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
|
||||||
|
|
||||||
|
class domMipmap_bias : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
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; }
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domFx_samplerRECT_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias() {}
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
122
Extras/COLLADA_DOM/include/1.4/dom/domFx_setparam_common.h
Normal file
122
Extras/COLLADA_DOM/include/1.4/dom/domFx_setparam_common.h
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
130
Extras/COLLADA_DOM/include/1.4/dom/domFx_stenciltarget_common.h
Normal file
130
Extras/COLLADA_DOM/include/1.4/dom/domFx_stenciltarget_common.h
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
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 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 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 ) { _value = val; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domFx_stenciltarget_common_complexType() : attrIndex(), 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
|
||||||
|
{
|
||||||
|
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 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
|
617
Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_common.h
Normal file
617
Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_common.h
Normal file
@ -0,0 +1,617 @@
|
|||||||
|
/*
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 domInit_from;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domInit_from> domInit_fromRef;
|
||||||
|
typedef daeTArray<domInit_fromRef> domInit_from_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The init_from element is a list of IDREFs which specify the images to use
|
||||||
|
* to initialize this surface.
|
||||||
|
*/
|
||||||
|
class domInit_from : public daeElement
|
||||||
|
{
|
||||||
|
protected: // Attributes
|
||||||
|
xsUnsignedInt attrMip;
|
||||||
|
xsUnsignedInt attrSlice;
|
||||||
|
domFx_surface_face_enum attrFace;
|
||||||
|
|
||||||
|
protected: // Value
|
||||||
|
/**
|
||||||
|
* The xsIDREFS value of the text data of this element.
|
||||||
|
*/
|
||||||
|
xsIDREFS _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 array.
|
||||||
|
* @return Returns a xsIDREFS reference of the _value array.
|
||||||
|
*/
|
||||||
|
xsIDREFS &getValue() { return _value; }
|
||||||
|
/**
|
||||||
|
* Gets the _value array.
|
||||||
|
* @return Returns a constant xsIDREFS reference of the _value array.
|
||||||
|
*/
|
||||||
|
const xsIDREFS &getValue() const { return _value; }
|
||||||
|
/**
|
||||||
|
* Sets the _value array.
|
||||||
|
* @param val The new value for the _value array.
|
||||||
|
*/
|
||||||
|
void setValue( const xsIDREFS &val ) { _value = val; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInit_from() : attrMip(), attrSlice(), attrFace(), _value() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInit_from() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInit_from( const domInit_from &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInit_from &operator=( const domInit_from &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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domFormat;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domFormat> domFormatRef;
|
||||||
|
typedef daeTArray<domFormatRef> domFormat_Array;
|
||||||
|
|
||||||
|
class domFormat : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
protected: // Value
|
||||||
|
/**
|
||||||
|
* The xsString value of the text data of this element.
|
||||||
|
*/
|
||||||
|
xsString _value;
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* Gets the value of this element.
|
||||||
|
* @return 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domSize;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domSize> domSizeRef;
|
||||||
|
typedef daeTArray<domSizeRef> domSize_Array;
|
||||||
|
|
||||||
|
class domSize : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domViewport_ratio;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domViewport_ratio> domViewport_ratioRef;
|
||||||
|
typedef daeTArray<domViewport_ratioRef> domViewport_ratio_Array;
|
||||||
|
|
||||||
|
class domViewport_ratio : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMip_levels;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMip_levels> domMip_levelsRef;
|
||||||
|
typedef daeTArray<domMip_levelsRef> domMip_levels_Array;
|
||||||
|
|
||||||
|
class domMip_levels : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_generate;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_generate> domMipmap_generateRef;
|
||||||
|
typedef daeTArray<domMipmap_generateRef> domMipmap_generate_Array;
|
||||||
|
|
||||||
|
class domMipmap_generate : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
protected: // Attribute
|
||||||
|
domFx_surface_type_enum attrType;
|
||||||
|
|
||||||
|
protected: // Elements
|
||||||
|
/**
|
||||||
|
* The init_from element is a list of IDREFs which specify the images to use
|
||||||
|
* to initialize this surface. @see domInit_from
|
||||||
|
*/
|
||||||
|
domInit_from_Array elemInit_from_array;
|
||||||
|
domFormatRef elemFormat;
|
||||||
|
domSizeRef elemSize;
|
||||||
|
domViewport_ratioRef elemViewport_ratio;
|
||||||
|
domMip_levelsRef elemMip_levels;
|
||||||
|
domMipmap_generateRef elemMipmap_generate;
|
||||||
|
/**
|
||||||
|
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||||
|
*/
|
||||||
|
daeElementRefArray _contents;
|
||||||
|
|
||||||
|
|
||||||
|
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 init_from element array.
|
||||||
|
* @return Returns a reference to the array of init_from elements.
|
||||||
|
*/
|
||||||
|
domInit_from_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 domInit_from_Array &getInit_from_array() const { return elemInit_from_array; }
|
||||||
|
/**
|
||||||
|
* Gets the format element.
|
||||||
|
* @return a daeSmartRef to the format element.
|
||||||
|
*/
|
||||||
|
const domFormatRef getFormat() const { return elemFormat; }
|
||||||
|
/**
|
||||||
|
* 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 _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(), elemInit_from_array(), elemFormat(), elemSize(), elemViewport_ratio(), elemMip_levels(), elemMipmap_generate() {}
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An element of type domFx_surface_common_complexType.
|
||||||
|
*/
|
||||||
|
class domFx_surface_common : public daeElement, public domFx_surface_common_complexType
|
||||||
|
{
|
||||||
|
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 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
|
173
Extras/COLLADA_DOM/include/1.4/dom/domGeometry.h
Normal file
173
Extras/COLLADA_DOM/include/1.4/dom/domGeometry.h
Normal file
@ -0,0 +1,173 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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
|
63
Extras/COLLADA_DOM/include/1.4/dom/domGl_hook_abstract.h
Normal file
63
Extras/COLLADA_DOM/include/1.4/dom/domGl_hook_abstract.h
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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
|
11694
Extras/COLLADA_DOM/include/1.4/dom/domGl_pipeline_settings.h
Normal file
11694
Extras/COLLADA_DOM/include/1.4/dom/domGl_pipeline_settings.h
Normal file
File diff suppressed because it is too large
Load Diff
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler1D.h
Normal file
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler1D.h
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler2D.h
Normal file
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler2D.h
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler3D.h
Normal file
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler3D.h
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerCUBE.h
Normal file
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerCUBE.h
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerDEPTH.h
Normal file
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerDEPTH.h
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerRECT.h
Normal file
91
Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerRECT.h
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
2294
Extras/COLLADA_DOM/include/1.4/dom/domGles_basic_type_common.h
Normal file
2294
Extras/COLLADA_DOM/include/1.4/dom/domGles_basic_type_common.h
Normal file
File diff suppressed because it is too large
Load Diff
293
Extras/COLLADA_DOM/include/1.4/dom/domGles_newparam.h
Normal file
293
Extras/COLLADA_DOM/include/1.4/dom/domGles_newparam.h
Normal file
@ -0,0 +1,293 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
6891
Extras/COLLADA_DOM/include/1.4/dom/domGles_pipeline_settings.h
Normal file
6891
Extras/COLLADA_DOM/include/1.4/dom/domGles_pipeline_settings.h
Normal file
File diff suppressed because it is too large
Load Diff
627
Extras/COLLADA_DOM/include/1.4/dom/domGles_sampler_state.h
Normal file
627
Extras/COLLADA_DOM/include/1.4/dom/domGles_sampler_state.h
Normal file
@ -0,0 +1,627 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domWrap_t;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domWrap_t> domWrap_tRef;
|
||||||
|
typedef daeTArray<domWrap_tRef> domWrap_t_Array;
|
||||||
|
|
||||||
|
class domWrap_t : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMinfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMinfilter> domMinfilterRef;
|
||||||
|
typedef daeTArray<domMinfilterRef> domMinfilter_Array;
|
||||||
|
|
||||||
|
class domMinfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMagfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMagfilter> domMagfilterRef;
|
||||||
|
typedef daeTArray<domMagfilterRef> domMagfilter_Array;
|
||||||
|
|
||||||
|
class domMagfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipfilter;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipfilter> domMipfilterRef;
|
||||||
|
typedef daeTArray<domMipfilterRef> domMipfilter_Array;
|
||||||
|
|
||||||
|
class domMipfilter : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_maxlevel;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
|
||||||
|
typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
|
||||||
|
|
||||||
|
class domMipmap_maxlevel : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domMipmap_bias;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
|
||||||
|
typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
|
||||||
|
|
||||||
|
class domMipmap_bias : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
@ -0,0 +1,126 @@
|
|||||||
|
/*
|
||||||
|
* 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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
@ -0,0 +1,126 @@
|
|||||||
|
/*
|
||||||
|
* 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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
@ -0,0 +1,127 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
@ -0,0 +1,131 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
@ -0,0 +1,111 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
122
Extras/COLLADA_DOM/include/1.4/dom/domGles_texenv_command_type.h
Normal file
122
Extras/COLLADA_DOM/include/1.4/dom/domGles_texenv_command_type.h
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
/*
|
||||||
|
* 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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
@ -0,0 +1,119 @@
|
|||||||
|
/*
|
||||||
|
* 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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
176
Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_pipeline.h
Normal file
176
Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_pipeline.h
Normal file
@ -0,0 +1,176 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
320
Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_unit.h
Normal file
320
Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_unit.h
Normal file
@ -0,0 +1,320 @@
|
|||||||
|
/*
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
|
||||||
|
class domGles_texture_unit_complexType
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
class domSurface;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domSurface> domSurfaceRef;
|
||||||
|
typedef daeTArray<domSurfaceRef> domSurface_Array;
|
||||||
|
|
||||||
|
class domSurface : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domSampler_state;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domSampler_state> domSampler_stateRef;
|
||||||
|
typedef daeTArray<domSampler_stateRef> domSampler_state_Array;
|
||||||
|
|
||||||
|
class domSampler_state : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domTexcoord;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domTexcoord> domTexcoordRef;
|
||||||
|
typedef daeTArray<domTexcoordRef> domTexcoord_Array;
|
||||||
|
|
||||||
|
class domTexcoord : public daeElement
|
||||||
|
{
|
||||||
|
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 ) { attrSemantic = atSemantic; }
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
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 ) { 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; }
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domGles_texture_unit_complexType() : attrSid(), elemSurface(), elemSampler_state(), elemTexcoord() {}
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
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 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
|
154
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newarray_type.h
Normal file
154
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newarray_type.h
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
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 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
|
289
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newparam.h
Normal file
289
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newparam.h
Normal file
@ -0,0 +1,289 @@
|
|||||||
|
/*
|
||||||
|
* 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
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domModifier;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domModifier> domModifierRef;
|
||||||
|
typedef daeTArray<domModifierRef> domModifier_Array;
|
||||||
|
|
||||||
|
class domModifier : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
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 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
|
1332
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_param_type.h
Normal file
1332
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_param_type.h
Normal file
File diff suppressed because it is too large
Load Diff
154
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setarray_type.h
Normal file
154
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setarray_type.h
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
{
|
||||||
|
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 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
|
157
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam.h
Normal file
157
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam.h
Normal file
@ -0,0 +1,157 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { 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
|
||||||
|
{
|
||||||
|
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 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
|
122
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam_simple.h
Normal file
122
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam_simple.h
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
/*
|
||||||
|
* 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_simple_h__
|
||||||
|
#define __domGlsl_setparam_simple_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
#include <dom/domGlsl_param_type.h>
|
||||||
|
#include <dom/domFx_annotate_common.h>
|
||||||
|
|
||||||
|
class domGlsl_setparam_simple_complexType
|
||||||
|
{
|
||||||
|
protected: // Attribute
|
||||||
|
domGlsl_identifier attrRef;
|
||||||
|
|
||||||
|
protected: // Elements
|
||||||
|
domFx_annotate_common_Array elemAnnotate_array;
|
||||||
|
domGlsl_param_typeRef elemGlsl_param_type;
|
||||||
|
|
||||||
|
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 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; }
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domGlsl_setparam_simple_complexType() : attrRef(), elemAnnotate_array(), elemGlsl_param_type() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domGlsl_setparam_simple_complexType() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domGlsl_setparam_simple_complexType( const domGlsl_setparam_simple_complexType &cpy ) { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domGlsl_setparam_simple_complexType &operator=( const domGlsl_setparam_simple_complexType &cpy ) { (void)cpy; return *this; }
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An element of type domGlsl_setparam_simple_complexType.
|
||||||
|
*/
|
||||||
|
class domGlsl_setparam_simple : public daeElement, public domGlsl_setparam_simple_complexType
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domGlsl_setparam_simple() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domGlsl_setparam_simple() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domGlsl_setparam_simple( const domGlsl_setparam_simple &cpy ) : daeElement(), domGlsl_setparam_simple_complexType() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domGlsl_setparam_simple &operator=( const domGlsl_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 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
|
331
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_surface_type.h
Normal file
331
Extras/COLLADA_DOM/include/1.4/dom/domGlsl_surface_type.h
Normal file
@ -0,0 +1,331 @@
|
|||||||
|
/*
|
||||||
|
* 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_surface_type_h__
|
||||||
|
#define __domGlsl_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/domGlsl_setparam_simple.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A surface type for the GLSL profile. This surface inherits from the fx_surface_common
|
||||||
|
* type and adds the ability to programmatically generate textures.
|
||||||
|
*/
|
||||||
|
class domGlsl_surface_type_complexType : public domFx_surface_common_complexType
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
class domGenerator;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domGenerator> domGeneratorRef;
|
||||||
|
typedef daeTArray<domGeneratorRef> domGenerator_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A procedural surface generator.
|
||||||
|
*/
|
||||||
|
class domGenerator : public daeElement
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
class domName;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domName> domNameRef;
|
||||||
|
typedef daeTArray<domNameRef> domName_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The entry symbol for the shader function.
|
||||||
|
*/
|
||||||
|
class domName : public daeElement
|
||||||
|
{
|
||||||
|
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 ) { attrSource = atSource; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the value of this element.
|
||||||
|
* @return 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 ) { _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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
protected: // Elements
|
||||||
|
/**
|
||||||
|
* The annotate element allows you to specify an annotation for this surface
|
||||||
|
* generator. @see domAnnotate
|
||||||
|
*/
|
||||||
|
domFx_annotate_common_Array elemAnnotate_array;
|
||||||
|
/**
|
||||||
|
* The code element allows you to embed GLSL code to use for this surface
|
||||||
|
* generator. @see domCode
|
||||||
|
*/
|
||||||
|
domFx_code_profile_Array elemCode_array;
|
||||||
|
/**
|
||||||
|
* The include element allows you to import GLSL code to use for this surface
|
||||||
|
* generator. @see domInclude
|
||||||
|
*/
|
||||||
|
domFx_include_common_Array elemInclude_array;
|
||||||
|
/**
|
||||||
|
* The entry symbol for the shader function. @see domName
|
||||||
|
*/
|
||||||
|
domNameRef elemName;
|
||||||
|
/**
|
||||||
|
* The setparam element allows you to assign a new value to a previously defined
|
||||||
|
* parameter. @see domSetparam
|
||||||
|
*/
|
||||||
|
domGlsl_setparam_simple_Array elemSetparam_array;
|
||||||
|
/**
|
||||||
|
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||||
|
*/
|
||||||
|
daeElementRefArray _contents;
|
||||||
|
|
||||||
|
|
||||||
|
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.
|
||||||
|
*/
|
||||||
|
domGlsl_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 domGlsl_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 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
protected: // Element
|
||||||
|
/**
|
||||||
|
* A procedural surface generator. @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
|
||||||
|
*/
|
||||||
|
domGlsl_surface_type_complexType() : elemGenerator() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domGlsl_surface_type_complexType() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domGlsl_surface_type_complexType( const domGlsl_surface_type_complexType &cpy ) : domFx_surface_common_complexType() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domGlsl_surface_type_complexType &operator=( const domGlsl_surface_type_complexType &cpy ) { (void)cpy; return *this; }
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An element of type domGlsl_surface_type_complexType.
|
||||||
|
*/
|
||||||
|
class domGlsl_surface_type : public daeElement, public domGlsl_surface_type_complexType
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domGlsl_surface_type() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domGlsl_surface_type() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domGlsl_surface_type( const domGlsl_surface_type &cpy ) : daeElement(), domGlsl_surface_type_complexType() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domGlsl_surface_type &operator=( const domGlsl_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 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
|
139
Extras/COLLADA_DOM/include/1.4/dom/domIDREF_array.h
Normal file
139
Extras/COLLADA_DOM/include/1.4/dom/domIDREF_array.h
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domIDREF_array_h__
|
||||||
|
#define __domIDREF_array_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The IDREF_array element declares the storage for a homogenous array of
|
||||||
|
* ID reference values.
|
||||||
|
*/
|
||||||
|
class domIDREF_array : public daeElement
|
||||||
|
{
|
||||||
|
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 xsIDREFS value of the text data of this element.
|
||||||
|
*/
|
||||||
|
xsIDREFS _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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the _value array.
|
||||||
|
* @return Returns a xsIDREFS reference of the _value array.
|
||||||
|
*/
|
||||||
|
xsIDREFS &getValue() { return _value; }
|
||||||
|
/**
|
||||||
|
* Gets the _value array.
|
||||||
|
* @return Returns a constant xsIDREFS reference of the _value array.
|
||||||
|
*/
|
||||||
|
const xsIDREFS &getValue() const { return _value; }
|
||||||
|
/**
|
||||||
|
* Sets the _value array.
|
||||||
|
* @param val The new value for the _value array.
|
||||||
|
*/
|
||||||
|
void setValue( const xsIDREFS &val ) { _value = val; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domIDREF_array() : attrId(), attrName(), attrCount(), _value() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domIDREF_array() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domIDREF_array( const domIDREF_array &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domIDREF_array &operator=( const domIDREF_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 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
|
382
Extras/COLLADA_DOM/include/1.4/dom/domImage.h
Normal file
382
Extras/COLLADA_DOM/include/1.4/dom/domImage.h
Normal file
@ -0,0 +1,382 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domImage_h__
|
||||||
|
#define __domImage_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
#include <dom/domAsset.h>
|
||||||
|
#include <dom/domExtra.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The image element declares the storage for the graphical representation
|
||||||
|
* of an object. The image element best describes raster image data, but
|
||||||
|
* can conceivably handle other forms of imagery. The image elements allows
|
||||||
|
* for specifying an external image file with the init_from element or embed
|
||||||
|
* image data with the data element.
|
||||||
|
*/
|
||||||
|
class domImage : public daeElement
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
class domData;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domData> domDataRef;
|
||||||
|
typedef daeTArray<domDataRef> domData_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The data child element contains a sequence of hexadecimal encoded binary
|
||||||
|
* octets representing the embedded image data.
|
||||||
|
*/
|
||||||
|
class domData : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
protected: // Value
|
||||||
|
/**
|
||||||
|
* The domListOfHexBinary value of the text data of this element.
|
||||||
|
*/
|
||||||
|
domListOfHexBinary _value;
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* Gets the _value array.
|
||||||
|
* @return Returns a domListOfHexBinary reference of the _value array.
|
||||||
|
*/
|
||||||
|
domListOfHexBinary &getValue() { return _value; }
|
||||||
|
/**
|
||||||
|
* Gets the _value array.
|
||||||
|
* @return Returns a constant domListOfHexBinary reference of the _value array.
|
||||||
|
*/
|
||||||
|
const domListOfHexBinary &getValue() const { return _value; }
|
||||||
|
/**
|
||||||
|
* Sets the _value array.
|
||||||
|
* @param val The new value for the _value array.
|
||||||
|
*/
|
||||||
|
void setValue( const domListOfHexBinary &val ) { _value = val; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domData() : _value() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domData() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domData( const domData &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domData &operator=( const domData &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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domInit_from;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domInit_from> domInit_fromRef;
|
||||||
|
typedef daeTArray<domInit_fromRef> domInit_from_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The init_from element allows you to specify an external image file to use
|
||||||
|
* for the image element.
|
||||||
|
*/
|
||||||
|
class domInit_from : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
protected: // Value
|
||||||
|
/**
|
||||||
|
* The xsAnyURI value of the text data of this element.
|
||||||
|
*/
|
||||||
|
xsAnyURI _value;
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* Gets the value of this element.
|
||||||
|
* @return Returns a xsAnyURI of the value.
|
||||||
|
*/
|
||||||
|
xsAnyURI &getValue() { return _value; }
|
||||||
|
/**
|
||||||
|
* Gets the value of this element.
|
||||||
|
* @return Returns a constant xsAnyURI of the value.
|
||||||
|
*/
|
||||||
|
const xsAnyURI &getValue() const { return _value; }
|
||||||
|
/**
|
||||||
|
* Sets the _value of this element.
|
||||||
|
* @param val The new value for this element.
|
||||||
|
*/
|
||||||
|
void setValue( const xsAnyURI &val ) { _value.setURI( val.getURI() ); }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInit_from() : _value() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInit_from() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInit_from( const domInit_from &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInit_from &operator=( const domInit_from &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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
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 format attribute is a text string value that indicates the image format.
|
||||||
|
* Optional attribute.
|
||||||
|
*/
|
||||||
|
xsToken attrFormat;
|
||||||
|
/**
|
||||||
|
* The height attribute is an integer value that indicates the height of
|
||||||
|
* the image in pixel units. Optional attribute.
|
||||||
|
*/
|
||||||
|
domUint attrHeight;
|
||||||
|
/**
|
||||||
|
* The width attribute is an integer value that indicates the width of the
|
||||||
|
* image in pixel units. Optional attribute.
|
||||||
|
*/
|
||||||
|
domUint attrWidth;
|
||||||
|
/**
|
||||||
|
* The depth attribute is an integer value that indicates the depth of the
|
||||||
|
* image in pixel units. A 2-D image has a depth of 1, which is also the
|
||||||
|
* default value. Optional attribute.
|
||||||
|
*/
|
||||||
|
domUint attrDepth;
|
||||||
|
|
||||||
|
protected: // Elements
|
||||||
|
/**
|
||||||
|
* The image element may contain an asset element. @see domAsset
|
||||||
|
*/
|
||||||
|
domAssetRef elemAsset;
|
||||||
|
/**
|
||||||
|
* The data child element contains a sequence of hexadecimal encoded binary
|
||||||
|
* octets representing the embedded image data. @see domData
|
||||||
|
*/
|
||||||
|
domDataRef elemData;
|
||||||
|
/**
|
||||||
|
* The init_from element allows you to specify an external image file to use
|
||||||
|
* for the image element. @see domInit_from
|
||||||
|
*/
|
||||||
|
domInit_fromRef elemInit_from;
|
||||||
|
/**
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
|
||||||
|
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 ) { attrId = atId; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 ) { attrName = atName; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the format attribute.
|
||||||
|
* @return Returns a xsToken of the format attribute.
|
||||||
|
*/
|
||||||
|
xsToken getFormat() const { return attrFormat; }
|
||||||
|
/**
|
||||||
|
* Sets the format attribute.
|
||||||
|
* @param atFormat The new value for the format attribute.
|
||||||
|
*/
|
||||||
|
void setFormat( xsToken atFormat ) { attrFormat = atFormat; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the height attribute.
|
||||||
|
* @return Returns a domUint of the height attribute.
|
||||||
|
*/
|
||||||
|
domUint getHeight() const { return attrHeight; }
|
||||||
|
/**
|
||||||
|
* Sets the height attribute.
|
||||||
|
* @param atHeight The new value for the height attribute.
|
||||||
|
*/
|
||||||
|
void setHeight( domUint atHeight ) { attrHeight = atHeight; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the width attribute.
|
||||||
|
* @return Returns a domUint of the width attribute.
|
||||||
|
*/
|
||||||
|
domUint getWidth() const { return attrWidth; }
|
||||||
|
/**
|
||||||
|
* Sets the width attribute.
|
||||||
|
* @param atWidth The new value for the width attribute.
|
||||||
|
*/
|
||||||
|
void setWidth( domUint atWidth ) { attrWidth = atWidth; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the depth attribute.
|
||||||
|
* @return Returns a domUint of the depth attribute.
|
||||||
|
*/
|
||||||
|
domUint getDepth() const { return attrDepth; }
|
||||||
|
/**
|
||||||
|
* Sets the depth attribute.
|
||||||
|
* @param atDepth The new value for the depth attribute.
|
||||||
|
*/
|
||||||
|
void setDepth( domUint atDepth ) { attrDepth = atDepth; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the asset element.
|
||||||
|
* @return a daeSmartRef to the asset element.
|
||||||
|
*/
|
||||||
|
const domAssetRef getAsset() const { return elemAsset; }
|
||||||
|
/**
|
||||||
|
* Gets the data element.
|
||||||
|
* @return a daeSmartRef to the data element.
|
||||||
|
*/
|
||||||
|
const domDataRef getData() const { return elemData; }
|
||||||
|
/**
|
||||||
|
* Gets the init_from element.
|
||||||
|
* @return a daeSmartRef to the init_from element.
|
||||||
|
*/
|
||||||
|
const domInit_fromRef getInit_from() const { return elemInit_from; }
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
*/
|
||||||
|
domImage() : attrId(), attrName(), attrFormat(), attrHeight(), attrWidth(), attrDepth(), elemAsset(), elemData(), elemInit_from(), elemExtra_array() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domImage() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domImage( const domImage &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domImage &operator=( const domImage &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
|
131
Extras/COLLADA_DOM/include/1.4/dom/domInputGlobal.h
Normal file
131
Extras/COLLADA_DOM/include/1.4/dom/domInputGlobal.h
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domInputGlobal_h__
|
||||||
|
#define __domInputGlobal_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The InputGlobal type is used to represent inputs that can reference external
|
||||||
|
* resources.
|
||||||
|
*/
|
||||||
|
class domInputGlobal_complexType
|
||||||
|
{
|
||||||
|
protected: // Attributes
|
||||||
|
/**
|
||||||
|
* The semantic attribute is the user-defined meaning of the input connection.
|
||||||
|
* Required attribute.
|
||||||
|
*/
|
||||||
|
xsNMTOKEN attrSemantic;
|
||||||
|
/**
|
||||||
|
* The source attribute indicates the location of the data source. Required
|
||||||
|
* attribute.
|
||||||
|
*/
|
||||||
|
xsAnyURI attrSource;
|
||||||
|
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* Gets the semantic attribute.
|
||||||
|
* @return Returns a xsNMTOKEN of the semantic attribute.
|
||||||
|
*/
|
||||||
|
xsNMTOKEN getSemantic() const { return attrSemantic; }
|
||||||
|
/**
|
||||||
|
* Sets the semantic attribute.
|
||||||
|
* @param atSemantic The new value for the semantic attribute.
|
||||||
|
*/
|
||||||
|
void setSemantic( xsNMTOKEN atSemantic ) { attrSemantic = atSemantic; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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.setURI( atSource.getURI() ); }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInputGlobal_complexType() : attrSemantic(), attrSource() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInputGlobal_complexType() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInputGlobal_complexType( const domInputGlobal_complexType &cpy ) { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInputGlobal_complexType &operator=( const domInputGlobal_complexType &cpy ) { (void)cpy; return *this; }
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An element of type domInputGlobal_complexType.
|
||||||
|
*/
|
||||||
|
class domInputGlobal : public daeElement, public domInputGlobal_complexType
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInputGlobal() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInputGlobal() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInputGlobal( const domInputGlobal &cpy ) : daeElement(), domInputGlobal_complexType() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInputGlobal &operator=( const domInputGlobal &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
|
131
Extras/COLLADA_DOM/include/1.4/dom/domInputLocal.h
Normal file
131
Extras/COLLADA_DOM/include/1.4/dom/domInputLocal.h
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domInputLocal_h__
|
||||||
|
#define __domInputLocal_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The InputLocal type is used to represent inputs that can only reference
|
||||||
|
* resources declared in the same document.
|
||||||
|
*/
|
||||||
|
class domInputLocal_complexType
|
||||||
|
{
|
||||||
|
protected: // Attributes
|
||||||
|
/**
|
||||||
|
* The semantic attribute is the user-defined meaning of the input connection.
|
||||||
|
* Required attribute.
|
||||||
|
*/
|
||||||
|
xsNMTOKEN attrSemantic;
|
||||||
|
/**
|
||||||
|
* The source attribute indicates the location of the data source. Required
|
||||||
|
* attribute.
|
||||||
|
*/
|
||||||
|
domURIFragmentType attrSource;
|
||||||
|
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* Gets the semantic attribute.
|
||||||
|
* @return Returns a xsNMTOKEN of the semantic attribute.
|
||||||
|
*/
|
||||||
|
xsNMTOKEN getSemantic() const { return attrSemantic; }
|
||||||
|
/**
|
||||||
|
* Sets the semantic attribute.
|
||||||
|
* @param atSemantic The new value for the semantic attribute.
|
||||||
|
*/
|
||||||
|
void setSemantic( xsNMTOKEN atSemantic ) { attrSemantic = atSemantic; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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.setURI( atSource.getURI() ); }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInputLocal_complexType() : attrSemantic(), attrSource() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInputLocal_complexType() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInputLocal_complexType( const domInputLocal_complexType &cpy ) { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInputLocal_complexType &operator=( const domInputLocal_complexType &cpy ) { (void)cpy; return *this; }
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An element of type domInputLocal_complexType.
|
||||||
|
*/
|
||||||
|
class domInputLocal : public daeElement, public domInputLocal_complexType
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInputLocal() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInputLocal() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInputLocal( const domInputLocal &cpy ) : daeElement(), domInputLocal_complexType() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInputLocal &operator=( const domInputLocal &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
|
165
Extras/COLLADA_DOM/include/1.4/dom/domInputLocalOffset.h
Normal file
165
Extras/COLLADA_DOM/include/1.4/dom/domInputLocalOffset.h
Normal file
@ -0,0 +1,165 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domInputLocalOffset_h__
|
||||||
|
#define __domInputLocalOffset_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The InputLocalOffset type is used to represent indexed inputs that can
|
||||||
|
* only reference resources declared in the same document.
|
||||||
|
*/
|
||||||
|
class domInputLocalOffset_complexType
|
||||||
|
{
|
||||||
|
protected: // Attributes
|
||||||
|
/**
|
||||||
|
* The offset attribute represents the offset into the list of indices.
|
||||||
|
* If two input elements share the same offset, they will be indexed the
|
||||||
|
* same. This works as a simple form of compression for the list of indices
|
||||||
|
* as well as defining the order the inputs should be used in. Required attribute.
|
||||||
|
*/
|
||||||
|
domUint attrOffset;
|
||||||
|
/**
|
||||||
|
* The semantic attribute is the user-defined meaning of the input connection.
|
||||||
|
* Required attribute.
|
||||||
|
*/
|
||||||
|
xsNMTOKEN attrSemantic;
|
||||||
|
/**
|
||||||
|
* The source attribute indicates the location of the data source. Required
|
||||||
|
* attribute.
|
||||||
|
*/
|
||||||
|
domURIFragmentType attrSource;
|
||||||
|
/**
|
||||||
|
* The set attribute indicates which inputs should be grouped together as
|
||||||
|
* a single set. This is helpful when multiple inputs share the same semantics.
|
||||||
|
*/
|
||||||
|
domUint attrSet;
|
||||||
|
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the semantic attribute.
|
||||||
|
* @return Returns a xsNMTOKEN of the semantic attribute.
|
||||||
|
*/
|
||||||
|
xsNMTOKEN getSemantic() const { return attrSemantic; }
|
||||||
|
/**
|
||||||
|
* Sets the semantic attribute.
|
||||||
|
* @param atSemantic The new value for the semantic attribute.
|
||||||
|
*/
|
||||||
|
void setSemantic( xsNMTOKEN atSemantic ) { attrSemantic = atSemantic; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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.setURI( atSource.getURI() ); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the set attribute.
|
||||||
|
* @return Returns a domUint of the set attribute.
|
||||||
|
*/
|
||||||
|
domUint getSet() const { return attrSet; }
|
||||||
|
/**
|
||||||
|
* Sets the set attribute.
|
||||||
|
* @param atSet The new value for the set attribute.
|
||||||
|
*/
|
||||||
|
void setSet( domUint atSet ) { attrSet = atSet; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInputLocalOffset_complexType() : attrOffset(), attrSemantic(), attrSource(), attrSet() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInputLocalOffset_complexType() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInputLocalOffset_complexType( const domInputLocalOffset_complexType &cpy ) { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInputLocalOffset_complexType &operator=( const domInputLocalOffset_complexType &cpy ) { (void)cpy; return *this; }
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An element of type domInputLocalOffset_complexType.
|
||||||
|
*/
|
||||||
|
class domInputLocalOffset : public daeElement, public domInputLocalOffset_complexType
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInputLocalOffset() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInputLocalOffset() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInputLocalOffset( const domInputLocalOffset &cpy ) : daeElement(), domInputLocalOffset_complexType() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInputLocalOffset &operator=( const domInputLocalOffset &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
|
134
Extras/COLLADA_DOM/include/1.4/dom/domInstanceWithExtra.h
Normal file
134
Extras/COLLADA_DOM/include/1.4/dom/domInstanceWithExtra.h
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domInstanceWithExtra_h__
|
||||||
|
#define __domInstanceWithExtra_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
#include <dom/domExtra.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The InstanceWithExtra type is used for all generic instance elements. A
|
||||||
|
* generic instance element is one which does not have any specific child
|
||||||
|
* elements declared.
|
||||||
|
*/
|
||||||
|
class domInstanceWithExtra_complexType
|
||||||
|
{
|
||||||
|
protected: // Attribute
|
||||||
|
/**
|
||||||
|
* The url attribute refers to resource to instantiate. 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;
|
||||||
|
|
||||||
|
protected: // Element
|
||||||
|
/**
|
||||||
|
* The extra element may occur any number of times. @see domExtra
|
||||||
|
*/
|
||||||
|
domExtra_Array elemExtra_array;
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* 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.setURI( atUrl.getURI() ); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
*/
|
||||||
|
domInstanceWithExtra_complexType() : attrUrl(), elemExtra_array() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInstanceWithExtra_complexType() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInstanceWithExtra_complexType( const domInstanceWithExtra_complexType &cpy ) { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInstanceWithExtra_complexType &operator=( const domInstanceWithExtra_complexType &cpy ) { (void)cpy; return *this; }
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An element of type domInstanceWithExtra_complexType.
|
||||||
|
*/
|
||||||
|
class domInstanceWithExtra : public daeElement, public domInstanceWithExtra_complexType
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInstanceWithExtra() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInstanceWithExtra() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInstanceWithExtra( const domInstanceWithExtra &cpy ) : daeElement(), domInstanceWithExtra_complexType() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInstanceWithExtra &operator=( const domInstanceWithExtra &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
|
68
Extras/COLLADA_DOM/include/1.4/dom/domInstance_camera.h
Normal file
68
Extras/COLLADA_DOM/include/1.4/dom/domInstance_camera.h
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domInstance_camera_h__
|
||||||
|
#define __domInstance_camera_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
#include <dom/domInstanceWithExtra.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The instance_camera element declares the instantiation of a COLLADA camera
|
||||||
|
* resource.
|
||||||
|
*/
|
||||||
|
class domInstance_camera : public daeElement, public domInstanceWithExtra_complexType
|
||||||
|
{
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInstance_camera() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInstance_camera() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInstance_camera( const domInstance_camera &cpy ) : daeElement(), domInstanceWithExtra_complexType() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInstance_camera &operator=( const domInstance_camera &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
|
213
Extras/COLLADA_DOM/include/1.4/dom/domInstance_controller.h
Normal file
213
Extras/COLLADA_DOM/include/1.4/dom/domInstance_controller.h
Normal file
@ -0,0 +1,213 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domInstance_controller_h__
|
||||||
|
#define __domInstance_controller_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
#include <dom/domBind_material.h>
|
||||||
|
#include <dom/domExtra.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The instance_controller element declares the instantiation of a COLLADA
|
||||||
|
* controller resource.
|
||||||
|
*/
|
||||||
|
class domInstance_controller : public daeElement
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
class domSkeleton;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domSkeleton> domSkeletonRef;
|
||||||
|
typedef daeTArray<domSkeletonRef> domSkeleton_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The skeleton element is used to indicate where a skin controller is to
|
||||||
|
* start to search for the joint nodes it needs. This element is meaningless
|
||||||
|
* for morph controllers.
|
||||||
|
*/
|
||||||
|
class domSkeleton : public daeElement
|
||||||
|
{
|
||||||
|
|
||||||
|
protected: // Value
|
||||||
|
/**
|
||||||
|
* The xsAnyURI value of the text data of this element.
|
||||||
|
*/
|
||||||
|
xsAnyURI _value;
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* Gets the value of this element.
|
||||||
|
* @return Returns a xsAnyURI of the value.
|
||||||
|
*/
|
||||||
|
xsAnyURI &getValue() { return _value; }
|
||||||
|
/**
|
||||||
|
* Gets the value of this element.
|
||||||
|
* @return Returns a constant xsAnyURI of the value.
|
||||||
|
*/
|
||||||
|
const xsAnyURI &getValue() const { return _value; }
|
||||||
|
/**
|
||||||
|
* Sets the _value of this element.
|
||||||
|
* @param val The new value for this element.
|
||||||
|
*/
|
||||||
|
void setValue( const xsAnyURI &val ) { _value.setURI( val.getURI() ); }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domSkeleton() : _value() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domSkeleton() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domSkeleton( const domSkeleton &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domSkeleton &operator=( const domSkeleton &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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
protected: // Attribute
|
||||||
|
/**
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
protected: // Elements
|
||||||
|
/**
|
||||||
|
* The skeleton element is used to indicate where a skin controller is to
|
||||||
|
* start to search for the joint nodes it needs. This element is meaningless
|
||||||
|
* for morph controllers. @see domSkeleton
|
||||||
|
*/
|
||||||
|
domSkeleton_Array elemSkeleton_array;
|
||||||
|
/**
|
||||||
|
* Bind a specific material to a piece of geometry, binding varying and uniform
|
||||||
|
* parameters at the same time. @see domBind_material
|
||||||
|
*/
|
||||||
|
domBind_materialRef elemBind_material;
|
||||||
|
/**
|
||||||
|
* The extra element may appear any number of times. @see domExtra
|
||||||
|
*/
|
||||||
|
domExtra_Array elemExtra_array;
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* 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.setURI( atUrl.getURI() ); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the skeleton element array.
|
||||||
|
* @return Returns a reference to the array of skeleton elements.
|
||||||
|
*/
|
||||||
|
domSkeleton_Array &getSkeleton_array() { return elemSkeleton_array; }
|
||||||
|
/**
|
||||||
|
* Gets the skeleton element array.
|
||||||
|
* @return Returns a constant reference to the array of skeleton elements.
|
||||||
|
*/
|
||||||
|
const domSkeleton_Array &getSkeleton_array() const { return elemSkeleton_array; }
|
||||||
|
/**
|
||||||
|
* Gets the bind_material element.
|
||||||
|
* @return a daeSmartRef to the bind_material element.
|
||||||
|
*/
|
||||||
|
const domBind_materialRef getBind_material() const { return elemBind_material; }
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
*/
|
||||||
|
domInstance_controller() : attrUrl(), elemSkeleton_array(), elemBind_material(), elemExtra_array() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInstance_controller() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInstance_controller( const domInstance_controller &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInstance_controller &operator=( const domInstance_controller &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
|
297
Extras/COLLADA_DOM/include/1.4/dom/domInstance_effect.h
Normal file
297
Extras/COLLADA_DOM/include/1.4/dom/domInstance_effect.h
Normal file
@ -0,0 +1,297 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domInstance_effect_h__
|
||||||
|
#define __domInstance_effect_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
#include <dom/domExtra.h>
|
||||||
|
#include <dom/domFx_basic_type_common.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The instance_effect element declares the instantiation of a COLLADA effect
|
||||||
|
* resource.
|
||||||
|
*/
|
||||||
|
class domInstance_effect : public daeElement
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
class domTechnique_hint;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domTechnique_hint> domTechnique_hintRef;
|
||||||
|
typedef daeTArray<domTechnique_hintRef> domTechnique_hint_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add a hint for a platform of which technique to use in this effect.
|
||||||
|
*/
|
||||||
|
class domTechnique_hint : public daeElement
|
||||||
|
{
|
||||||
|
protected: // Attributes
|
||||||
|
/**
|
||||||
|
* “platform” defines a string that specifies which platform this is
|
||||||
|
* hint is aimed for.
|
||||||
|
*/
|
||||||
|
xsNCName attrPlatform;
|
||||||
|
/**
|
||||||
|
* A reference to the technique to use for the specified platform.
|
||||||
|
*/
|
||||||
|
xsNCName attrRef;
|
||||||
|
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* Gets the platform attribute.
|
||||||
|
* @return Returns a xsNCName of the platform attribute.
|
||||||
|
*/
|
||||||
|
xsNCName getPlatform() const { return attrPlatform; }
|
||||||
|
/**
|
||||||
|
* Sets the platform attribute.
|
||||||
|
* @param atPlatform The new value for the platform attribute.
|
||||||
|
*/
|
||||||
|
void setPlatform( xsNCName atPlatform ) { attrPlatform = atPlatform; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domTechnique_hint() : attrPlatform(), attrRef() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domTechnique_hint() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domTechnique_hint( const domTechnique_hint &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domTechnique_hint &operator=( const domTechnique_hint &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;
|
||||||
|
};
|
||||||
|
|
||||||
|
class domSetparam;
|
||||||
|
|
||||||
|
typedef daeSmartRef<domSetparam> domSetparamRef;
|
||||||
|
typedef daeTArray<domSetparamRef> domSetparam_Array;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Assigns a new value to a previously defined parameter
|
||||||
|
*/
|
||||||
|
class domSetparam : public daeElement
|
||||||
|
{
|
||||||
|
protected: // Attribute
|
||||||
|
xsNCName attrRef;
|
||||||
|
|
||||||
|
protected: // Element
|
||||||
|
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 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
|
||||||
|
*/
|
||||||
|
domSetparam() : attrRef(), elemFx_basic_type_common() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domSetparam() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domSetparam( const domSetparam &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domSetparam &operator=( const domSetparam &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;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
protected: // Attribute
|
||||||
|
/**
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
protected: // Elements
|
||||||
|
/**
|
||||||
|
* Add a hint for a platform of which technique to use in this effect. @see
|
||||||
|
* domTechnique_hint
|
||||||
|
*/
|
||||||
|
domTechnique_hint_Array elemTechnique_hint_array;
|
||||||
|
/**
|
||||||
|
* Assigns a new value to a previously defined parameter @see domSetparam
|
||||||
|
*/
|
||||||
|
domSetparam_Array elemSetparam_array;
|
||||||
|
/**
|
||||||
|
* The extra element may appear any number of times. @see domExtra
|
||||||
|
*/
|
||||||
|
domExtra_Array elemExtra_array;
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* 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.setURI( atUrl.getURI() ); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the technique_hint element array.
|
||||||
|
* @return Returns a reference to the array of technique_hint elements.
|
||||||
|
*/
|
||||||
|
domTechnique_hint_Array &getTechnique_hint_array() { return elemTechnique_hint_array; }
|
||||||
|
/**
|
||||||
|
* Gets the technique_hint element array.
|
||||||
|
* @return Returns a constant reference to the array of technique_hint elements.
|
||||||
|
*/
|
||||||
|
const domTechnique_hint_Array &getTechnique_hint_array() const { return elemTechnique_hint_array; }
|
||||||
|
/**
|
||||||
|
* Gets the setparam element array.
|
||||||
|
* @return Returns a reference to the array of setparam elements.
|
||||||
|
*/
|
||||||
|
domSetparam_Array &getSetparam_array() { return elemSetparam_array; }
|
||||||
|
/**
|
||||||
|
* Gets the setparam element array.
|
||||||
|
* @return Returns a constant reference to the array of setparam elements.
|
||||||
|
*/
|
||||||
|
const domSetparam_Array &getSetparam_array() const { return elemSetparam_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
|
||||||
|
*/
|
||||||
|
domInstance_effect() : attrUrl(), elemTechnique_hint_array(), elemSetparam_array(), elemExtra_array() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInstance_effect() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInstance_effect( const domInstance_effect &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInstance_effect &operator=( const domInstance_effect &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
|
68
Extras/COLLADA_DOM/include/1.4/dom/domInstance_force_field.h
Normal file
68
Extras/COLLADA_DOM/include/1.4/dom/domInstance_force_field.h
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domInstance_force_field_h__
|
||||||
|
#define __domInstance_force_field_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
#include <dom/domInstanceWithExtra.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The instance_force_field element declares the instantiation of a COLLADA
|
||||||
|
* force_field resource.
|
||||||
|
*/
|
||||||
|
class domInstance_force_field : public daeElement, public domInstanceWithExtra_complexType
|
||||||
|
{
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
domInstance_force_field() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInstance_force_field() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInstance_force_field( const domInstance_force_field &cpy ) : daeElement(), domInstanceWithExtra_complexType() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInstance_force_field &operator=( const domInstance_force_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 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
|
120
Extras/COLLADA_DOM/include/1.4/dom/domInstance_geometry.h
Normal file
120
Extras/COLLADA_DOM/include/1.4/dom/domInstance_geometry.h
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
/*
|
||||||
|
* 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 __domInstance_geometry_h__
|
||||||
|
#define __domInstance_geometry_h__
|
||||||
|
|
||||||
|
#include <dom/domTypes.h>
|
||||||
|
#include <dom/domElements.h>
|
||||||
|
|
||||||
|
#include <dom/domBind_material.h>
|
||||||
|
#include <dom/domExtra.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The instance_geometry element declares the instantiation of a COLLADA geometry
|
||||||
|
* resource.
|
||||||
|
*/
|
||||||
|
class domInstance_geometry : public daeElement
|
||||||
|
{
|
||||||
|
protected: // Attribute
|
||||||
|
/**
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
protected: // Elements
|
||||||
|
/**
|
||||||
|
* Bind a specific material to a piece of geometry, binding varying and uniform
|
||||||
|
* parameters at the same time. @see domBind_material
|
||||||
|
*/
|
||||||
|
domBind_materialRef elemBind_material;
|
||||||
|
/**
|
||||||
|
* The extra element may appear any number of times. @see domExtra
|
||||||
|
*/
|
||||||
|
domExtra_Array elemExtra_array;
|
||||||
|
|
||||||
|
public: //Accessors and Mutators
|
||||||
|
/**
|
||||||
|
* 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.setURI( atUrl.getURI() ); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the bind_material element.
|
||||||
|
* @return a daeSmartRef to the bind_material element.
|
||||||
|
*/
|
||||||
|
const domBind_materialRef getBind_material() const { return elemBind_material; }
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
*/
|
||||||
|
domInstance_geometry() : attrUrl(), elemBind_material(), elemExtra_array() {}
|
||||||
|
/**
|
||||||
|
* Destructor
|
||||||
|
*/
|
||||||
|
virtual ~domInstance_geometry() {}
|
||||||
|
/**
|
||||||
|
* Copy Constructor
|
||||||
|
*/
|
||||||
|
domInstance_geometry( const domInstance_geometry &cpy ) : daeElement() { (void)cpy; }
|
||||||
|
/**
|
||||||
|
* Overloaded assignment operator
|
||||||
|
*/
|
||||||
|
virtual domInstance_geometry &operator=( const domInstance_geometry &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
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user