225 public: |
225 public: |
226 IMPLEMENT_LDTYPE (Subfile, 0) |
226 IMPLEMENT_LDTYPE (Subfile, 0) |
227 LDOBJ_COLORED (true) |
227 LDOBJ_COLORED (true) |
228 |
228 |
229 vertex vPosition; // Position of the subpart |
229 vertex vPosition; // Position of the subpart |
230 matrix mMatrix; // Transformation matrix for the subpart |
230 matrix<3> mMatrix; // Transformation matrix for the subpart |
231 str zFileName; // Filename of the subpart |
231 str zFileName; // Filename of the subpart |
232 OpenFile* pFile; // Pointer to opened file for this subfile. null if unopened. |
232 OpenFile* pFile; // Pointer to opened file for this subfile. null if unopened. |
233 |
233 |
234 // Gets the inlined contents of this subfile. |
234 // Gets the inlined contents of this subfile. |
235 std::vector<LDObject*> inlineContents (bool bDeepInline, bool bCache); |
235 std::vector<LDObject*> inlineContents (bool bDeepInline, bool bCache); |
336 IMPLEMENT_LDTYPE (Radial, 0) |
336 IMPLEMENT_LDTYPE (Radial, 0) |
337 LDOBJ_COLORED (true) |
337 LDOBJ_COLORED (true) |
338 |
338 |
339 LDRadial::Type eRadialType; |
339 LDRadial::Type eRadialType; |
340 vertex vPosition; |
340 vertex vPosition; |
341 matrix mMatrix; |
341 matrix<3> mMatrix; |
342 short dDivisions, dSegments, dRingNum; |
342 short dDivisions, dSegments, dRingNum; |
343 |
343 |
344 LDRadial (LDRadial::Type eRadialType, vertex vPosition, matrix mMatrix, |
344 LDRadial (LDRadial::Type eRadialType, vertex vPosition, matrix<3> mMatrix, |
345 short dDivisions, short dSegments, short dRingNum) : |
345 short dDivisions, short dSegments, short dRingNum) : |
346 eRadialType (eRadialType), vPosition (vPosition), mMatrix (mMatrix), |
346 eRadialType (eRadialType), vPosition (vPosition), mMatrix (mMatrix), |
347 dDivisions (dDivisions), dSegments (dSegments), dRingNum (dRingNum) {} |
347 dDivisions (dDivisions), dSegments (dSegments), dRingNum (dRingNum) {} |
348 |
348 |
349 char const* radialTypeName (); |
349 char const* radialTypeName (); |