21 #ifndef GENERATED_AGX_PHYSICS_GEOMETRY_LINE_H_PLUGIN
22 #define GENERATED_AGX_PHYSICS_GEOMETRY_LINE_H_PLUGIN
24 #define AGX_ENTITY_WRAPPER 1
28 # pragma warning(push)
30 # pragma warning( disable : 4505 )
32 # pragma warning( disable : 4251 )
34 # pragma warning( disable : 4355 )
36 # pragma warning( disable: 4714 )
81 static LinePtr createInstance();
87 virtual void shutdownCleanup()
override;
97 virtual void configure(agx::TiXmlElement* eEntity)
override;
98 virtual void initAttributeAccessors()
override;
105 #ifndef AGX_PHYSICS_GEOMETRY_LINE_DATA_SET_OVERRIDE
106 #define AGX_PHYSICS_GEOMETRY_LINE_DATA_SET
110 LineInstance operator[] (
size_t index);
124 virtual ~LineData() {}
125 virtual void setNumElements(
agx::Index numElements)
override;
128 LineData& operator= (
const LineData&) {
return *
this; }
150 friend class LinePtr;
151 friend class LineInstance;
181 const LineData* getData()
const;
191 #ifdef AGX_GENERATED_TOLUA_WRAPPER
192 inline agx::Line const& getLine()
const {
return (*this)->getLine(); }
195 inline void setLine(
agx::Line const& value) { (*this)->setLine(value); }
210 LineInstance(LineData* data,
agx::Index index);
216 const LineData* getData()
const;
238 inline LineInstance
agx::Physics::Geometry::LineData::operator[] (
size_t index) {
return LineInstance(
this, (
agx::Index)index); }
245 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
252 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
260 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
269 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
276 AGX_FORCE_INLINE LineSemantics* LinePtr::operator->() {
return (LineSemantics* )
this; }
277 AGX_FORCE_INLINE const LineSemantics* LinePtr::operator->()
const {
return (
const LineSemantics* )
this; }
291 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
298 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
321 # pragma warning(pop)
324 #undef AGX_ENTITY_WRAPPER
325 #undef AGX_ENTITY_NAMESPACE