/usr/include/opencollada/COLLADASaxFrameworkLoader/COLLADASaxFWLJointsLoader.h is in opencollada-dev 0.1.0~20140703.ddf8f47+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | /*
Copyright (c) 2008-2009 NetAllied Systems GmbH
This file is part of COLLADASaxFrameworkLoader.
Licensed under the MIT Open Source License,
for details please see LICENSE file or the website
http://www.opensource.org/licenses/mit-license.php
*/
#ifndef __COLLADASAXFWL_JOINTSLOADER_H__
#define __COLLADASAXFWL_JOINTSLOADER_H__
#include "COLLADASaxFWLPrerequisites.h"
#include "COLLADASaxFWLHelperLoaderBase.h"
#include "COLLADASaxFWLXmlTypes.h"
#include "COLLADAFWJointPrimitive.h"
namespace COLLADAFW
{
class Joint;
}
namespace COLLADASaxFWL
{
class FilePartLoader;
/** TODO Documentation */
class JointsLoader : public HelperLoaderBase
{
private:
/** The current joint.*/
COLLADAFW::Joint* mCurrentJoint;
/** The current joint primitive.*/
COLLADAFW::JointPrimitive* mCurrentJointPrimitive;
/** The number of floats that have been received since the last begin__axis____axis_type method
by the data__axis____axis_type methods. This is used to know where the next received number must
be placed in the axis.*/
size_t mAxisNumbersReceived;
public:
/** Constructor. */
JointsLoader();
/** Destructor. */
virtual ~JointsLoader();
/** Returns the unique id of the current parsed object. */
virtual const COLLADAFW::UniqueId& getUniqueId();
bool beginJointPrimitive( COLLADAFW::JointPrimitive::Type jointPrimitiveType, const char * sid);
bool endJointPrimitive();
virtual bool begin__joint( const joint__AttributeData& attributeData );
virtual bool end__joint();
virtual bool begin__prismatic( const prismatic__AttributeData& attributeData );
virtual bool end__prismatic();
virtual bool begin__revolute( const revolute__AttributeData& attributeData );
virtual bool end__revolute();
virtual bool begin__axis____axis_type( const axis____axis_type__AttributeData& attributeData );
virtual bool end__axis____axis_type();
virtual bool data__axis____axis_type( const float* value, size_t length );
virtual bool begin__limits____joint_limits_type(){return true;}
virtual bool end__limits____joint_limits_type(){return true;}
virtual bool begin__min____minmax_type( const min____minmax_type__AttributeData& attributeData ){return true;}
virtual bool end__min____minmax_type(){return true;}
virtual bool data__min____minmax_type( float value );
virtual bool begin__max____minmax_type( const max____minmax_type__AttributeData& attributeData ){return true;}
virtual bool end__max____minmax_type(){return true;}
virtual bool data__max____minmax_type( float value );
private:
/** Disable default copy ctor. */
JointsLoader( const JointsLoader& pre );
/** Disable default assignment operator. */
const JointsLoader& operator= ( const JointsLoader& pre );
};
} // namespace COLLADASAXFWL
#endif // __COLLADASAXFWL_JOINTSLOADER_H__
|