From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a03115.html | 483 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 483 insertions(+) create mode 100644 docs/doxygen/nel/a03115.html (limited to 'docs/doxygen/nel/a03115.html') diff --git a/docs/doxygen/nel/a03115.html b/docs/doxygen/nel/a03115.html new file mode 100644 index 00000000..900468b9 --- /dev/null +++ b/docs/doxygen/nel/a03115.html @@ -0,0 +1,483 @@ + + +NeL: NLPACS::CPrimitiveDesc class Reference + + + +
+

NLPACS::CPrimitiveDesc Class Reference

#include <primitive_block.h> +

+


Detailed Description

+PACS primitive description
Author:
Cyril 'Hulud' Corvazier

+Nevrax France

+
Date:
2002
+ +

+ +

+Definition at line 43 of file pacs/primitive_block.h. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CPrimitiveDesc ()
void serial (NLMISC::IStream &s)

Data Fields

float Attenuation
UMovePrimitive::TCollisionMask CollisionMask
float Height
float Length [2]
bool Obstacle
UMovePrimitive::TCollisionMask OcclusionMask
float Orientation
NLMISC::CVector Position
UMovePrimitive::TReaction Reaction
UMovePrimitive::TTrigger Trigger
UMovePrimitive::TType Type
UMovePrimitive::TUserData UserData
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLPACS::CPrimitiveDesc::CPrimitiveDesc  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 37 of file primitive_block_pacs.cpp. +

+References Attenuation, CollisionMask, Obstacle, OcclusionMask, Reaction, and Trigger. +

+

00038 {
+00039         Attenuation = 1;
+00040         Type = UMovePrimitive::_2DOrientedBox;
+00041         Reaction = UMovePrimitive::DoNothing;
+00042         Trigger = UMovePrimitive::NotATrigger;
+00043         Obstacle = true;
+00044         OcclusionMask = 0xffffffff;
+00045         CollisionMask = 0xffffffff;
+00046 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NLPACS::CPrimitiveDesc::serial NLMISC::IStream s  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 50 of file primitive_block_pacs.cpp. +

+References Attenuation, CollisionMask, Obstacle, OcclusionMask, Orientation, Reaction, s, sint, Trigger, and UserData. +

+

00051 {
+00052         // Serial the version
+00053         sint ver = s.serialVersion (1);
+00054         
+00055         s.xmlPush ("LENGTH");
+00056         s.serial (Length[0]);
+00057         s.serial (Length[1]);
+00058         s.xmlPop ();
+00059 
+00060         s.xmlSerial (Height, "HEIGHT");
+00061         s.xmlSerial (Attenuation, "ATTENUATION");
+00062 
+00063         s.xmlPush ("TYPE");
+00064         s.serialEnum (Type);
+00065         s.xmlPop ();
+00066 
+00067         s.xmlPush ("REACTION");
+00068         s.serialEnum (Reaction);
+00069         s.xmlPop ();
+00070 
+00071         s.xmlPush ("TRIGGER");
+00072         s.serialEnum (Trigger);
+00073         s.xmlPop ();
+00074 
+00075         s.xmlSerial (Obstacle, "OBSTACLE");
+00076         s.xmlSerial (OcclusionMask, "OCCLUSION_MASK");
+00077         s.xmlSerial (CollisionMask, "COLLISION_MASK");
+00078         s.xmlSerial (Position, "POSITION");
+00079         s.xmlSerial (Orientation, "ORIENTATION");
+00080 
+00081         if (ver>=1)
+00082         {
+00083                 s.xmlSerial (UserData, "USER_DATA");
+00084         }
+00085         else
+00086         {
+00087                 UserData = 0;
+00088         }
+00089 }
+
+


Field Documentation

+

+ + + + +
+ + +
float NLPACS::CPrimitiveDesc::Attenuation +
+
+ + + + + +
+   + + +

+ +

+Definition at line 58 of file pacs/primitive_block.h. +

+Referenced by CPrimitiveDesc(), and serial().

+

+ + + + +
+ + +
UMovePrimitive::TCollisionMask NLPACS::CPrimitiveDesc::CollisionMask +
+
+ + + + + +
+   + + +

+ +

+Definition at line 76 of file pacs/primitive_block.h. +

+Referenced by CPrimitiveDesc(), and serial().

+

+ + + + +
+ + +
float NLPACS::CPrimitiveDesc::Height +
+
+ + + + + +
+   + + +

+ +

+Definition at line 55 of file pacs/primitive_block.h.

+

+ + + + +
+ + +
float NLPACS::CPrimitiveDesc::Length[2] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 52 of file pacs/primitive_block.h.

+

+ + + + +
+ + +
bool NLPACS::CPrimitiveDesc::Obstacle +
+
+ + + + + +
+   + + +

+ +

+Definition at line 70 of file pacs/primitive_block.h. +

+Referenced by CPrimitiveDesc(), and serial().

+

+ + + + +
+ + +
UMovePrimitive::TCollisionMask NLPACS::CPrimitiveDesc::OcclusionMask +
+
+ + + + + +
+   + + +

+ +

+Definition at line 73 of file pacs/primitive_block.h. +

+Referenced by CPrimitiveDesc(), and serial().

+

+ + + + +
+ + +
float NLPACS::CPrimitiveDesc::Orientation +
+
+ + + + + +
+   + + +

+ +

+Definition at line 82 of file pacs/primitive_block.h. +

+Referenced by serial().

+

+ + + + +
+ + +
NLMISC::CVector NLPACS::CPrimitiveDesc::Position +
+
+ + + + + +
+   + + +

+ +

+Definition at line 79 of file pacs/primitive_block.h.

+

+ + + + +
+ + +
UMovePrimitive::TReaction NLPACS::CPrimitiveDesc::Reaction +
+
+ + + + + +
+   + + +

+ +

+Definition at line 64 of file pacs/primitive_block.h. +

+Referenced by CPrimitiveDesc(), and serial().

+

+ + + + +
+ + +
UMovePrimitive::TTrigger NLPACS::CPrimitiveDesc::Trigger +
+
+ + + + + +
+   + + +

+ +

+Definition at line 67 of file pacs/primitive_block.h. +

+Referenced by CPrimitiveDesc(), and serial().

+

+ + + + +
+ + +
UMovePrimitive::TType NLPACS::CPrimitiveDesc::Type +
+
+ + + + + +
+   + + +

+ +

+Definition at line 61 of file pacs/primitive_block.h.

+

+ + + + +
+ + +
UMovePrimitive::TUserData NLPACS::CPrimitiveDesc::UserData +
+
+ + + + + +
+   + + +

+ +

+Definition at line 85 of file pacs/primitive_block.h. +

+Referenced by serial().

+


The documentation for this class was generated from the following files: +
Generated on Tue Mar 16 14:20:02 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1