NL3D::CPSInputType Struct Reference

#include <ps_attrib_maker.h>


Detailed Description

this struct only contains an enum that tell chat the input of an attribute maker is
See also:
class CPSAttributeMaker

Definition at line 42 of file ps_attrib_maker.h.

Public Types

enum  TInputType {
  attrDate = 0, attrPosition = 1, attrInverseMass = 2, attrSpeed = 3,
  attrUniformRandom = 4, attrUserParam = 5, attrLOD = 6, attrSquareLOD = 7,
  attrClampedLOD = 8, attrClampedSquareLOD = 9
}
 input types More...


Public Member Functions

 CPSInputType ()
 ctor

void serial (NLMISC::IStream &f) throw (NLMISC::EStream)

Data Fields

enum NL3D::CPSInputType::TInputType InputType
 input types


Member Enumeration Documentation

enum NL3D::CPSInputType::TInputType
 

input types

Enumeration values:
attrDate 
attrPosition 
attrInverseMass 
attrSpeed 
attrUniformRandom 
attrUserParam 
attrLOD 
attrSquareLOD 
attrClampedLOD 
attrClampedSquareLOD 

Definition at line 50 of file ps_attrib_maker.h.

00051         {
00052                 attrDate = 0,
00053                 attrPosition = 1,
00054                 attrInverseMass = 2,
00055                 attrSpeed = 3,
00056                 attrUniformRandom = 4,
00057                 attrUserParam = 5, // a parameter user that was set in the system
00058                 attrLOD = 6,    
00059                 attrSquareLOD = 7,
00060                 attrClampedLOD = 8,
00061                 attrClampedSquareLOD = 9,
00062         } InputType ;


Constructor & Destructor Documentation

NL3D::CPSInputType::CPSInputType  )  [inline]
 

ctor

Definition at line 45 of file ps_attrib_maker.h.

References attrDate, and InputType.

00045                        : InputType(attrDate)
00046         {
00047         }


Member Function Documentation

void NL3D::CPSInputType::serial NLMISC::IStream f  )  throw (NLMISC::EStream) [inline]
 

Definition at line 70 of file ps_attrib_maker.h.

References attrUserParam, InputType, and UserParamNum.

Referenced by NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::serial().

00071         {
00072                 f.serialEnum(InputType) ;
00073                 switch(InputType)
00074                 {
00075                         case attrUserParam:
00076                                 f.serial(UserParamNum) ;
00077                                 break ;
00078                         default: break;
00079                 }
00080         }


Field Documentation

enum NL3D::CPSInputType::TInputType NL3D::CPSInputType::InputType
 

input types

Referenced by CPSInputType(), NL3D::CPSAttribMakerT< T, F >::get(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make4(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeN(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::serial(), and serial().

uint32 NL3D::CPSInputType::UserParamNum
 

The user param being used. Valid only when InputType has been set to attrUserParam.

Definition at line 67 of file ps_attrib_maker.h.

Referenced by NL3D::CPSAttribMakerT< T, F >::get(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make4(), NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeN(), and serial().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 07:15:27 2004 for NeL by doxygen 1.3.6