hkpSerializedDisplayMarkerList.h
上传用户:yisoukefu
上传日期:2020-08-09
资源大小:39506k
文件大小:2k
源码类别:

其他游戏

开发平台:

Visual C++

  1. /* 
  2.  * 
  3.  * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
  4.  * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
  5.  * Level 2 and Level 3 source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2009 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement.
  6.  * 
  7.  */
  8. #ifndef HK_UTILITIES2_SERIALIZE_DISPLAYMARKER_LIST_H
  9. #define HK_UTILITIES2_SERIALIZE_DISPLAYMARKER_LIST_H
  10. #include <Physics/Utilities/Serialize/Display/hkpSerializedDisplayMarker.h>
  11. class hkpSerializedDisplayMarkerList : public hkReferencedObject
  12. {
  13. public:
  14. HK_DECLARE_CLASS_ALLOCATOR(HK_MEMORY_CLASS_UTILITIES);
  15. HK_DECLARE_REFLECTION();
  16. inline hkpSerializedDisplayMarkerList();
  17. inline virtual ~hkpSerializedDisplayMarkerList();
  18. /// Get the number of markers mapped by this class.
  19. inline int getNumMarkers() const;
  20. /// Make sure that pi is with range.
  21. inline hkpSerializedDisplayMarker* getMarker(int pi) const;
  22. /// Add a marker to the list
  23. inline void addMarker( hkpSerializedDisplayMarker* m );
  24. public:
  25. hkArray<hkpSerializedDisplayMarker*> m_markers; // the transform for this marker.
  26. hkpSerializedDisplayMarkerList(hkFinishLoadedObjectFlag flag) : hkReferencedObject(flag), m_markers(flag) { }
  27. };
  28. #include <Physics/Utilities/Serialize/Display/hkpSerializedDisplayMarkerList.inl>
  29. #endif // HK_UTILITIES2_SERIALIZE_DISPLAYMARKER_LIST_H
  30. /*
  31. * Havok SDK - NO SOURCE PC DOWNLOAD, BUILD(#20090216)
  32. * Confidential Information of Havok.  (C) Copyright 1999-2009
  33. * Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok
  34. * Logo, and the Havok buzzsaw logo are trademarks of Havok.  Title, ownership
  35. * rights, and intellectual property rights in the Havok software remain in
  36. * Havok and/or its suppliers.
  37. * Use of this software for evaluation purposes is subject to and indicates
  38. * acceptance of the End User licence Agreement for this product. A copy of
  39. * the license is included with this software and is also available at www.havok.com/tryhavok.
  40. */