2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADASaxFrameworkLoader.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
11
#ifndef __COLLADASAXFWL_PH_ELEMENT_H__
12
#define __COLLADASAXFWL_PH_ELEMENT_H__
14
#include "COLLADASaxFWLPrimitiveBase.h"
17
namespace COLLADASaxFWL
21
* Describes a polygon that contains one or more holes.
29
* Contains a list of UInts that specifies the vertex attributes (indices) for an
30
* individual polygon. Occures once in a ph element.
35
* Contains a list of unsigned ints that specifies the indices of a hole inthe polygon
36
* specified by <p>. Occures once or more in a ph element.
50
virtual ~PHElement() {}
53
* Contains a list of UInts that specifies the vertex attributes (indices) for an
54
* individual polygon. Occures once in a ph element.
56
PElement& getPElement () { return mPElement; }
57
const PElement& getPElement () const { return mPElement; }
58
void setPElement ( const PElement& pElement ) { mPElement = pElement; }
61
* Contains a list of unsigned ints that specifies the indices of a hole inthe polygon
62
* specified by <p>. Occures once or more in a ph element.
63
* @return HArray& Reference to the ph array.
71
* Contains a list of unsigned ints that specifies the indices of a hole inthe polygon
72
* specified by <p>. Occures once or more in a ph element.
73
* @return HArray& Const reference to the ph array.
75
const HArray& getHArray () const
81
* Contains a list of unsigned ints that specifies the indices of a hole inthe polygon
82
* specified by <p>. Occures once or more in a ph element.
83
* @param hArray Reference to the ph array.
85
void setHArray ( const HArray& hArray )
93
* Array of ph elements.
95
typedef COLLADAFW::ArrayPrimitiveType<PHElement*> PHArray;
99
#endif // __COLLADASAXFWL_PH_ELEMENT_H__