コード例 #1
0
/*
*******************************************************************
* Function: CKObjectDeclaration *FillBehaviour( void )
*
* Description : As its name infers, this function describes each Building Block
*               on a functional level : what it can be applied to, its GUID, its 
*               creation function, etc.. 
*		
*
* Parameters :
*    None
*
* Returns : CKObjectDeclaration *, containing:
*               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
*               - The function that will create the CKBehaviorPrototype for this behavior.
*               - A short description of what the behavior is supposed to do.
*               - The category in which this behavior will appear in the Virtools interface.
*               - A unique CKGUID
*               - Author and Version info
*               - The class identifier of objects to which the behavior can be applied to.
*
*******************************************************************
*/
CKObjectDeclaration * GBLLDGetSetup::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLLDGetSetup" );	

    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLLDGetSetup::CreatePrototype );
    objectDeclaration->SetDescription( "Provides information about the GBL setup parameters." );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID( 0x13293d72,0x602607c3 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );

    return objectDeclaration;
}
コード例 #2
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFGetPlayers::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFGetPlayers" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFGetPlayers::CreatePrototype );
    objectDeclaration->SetDescription( "Get list of players" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0xce7ec312, 0x242f618d ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #3
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehavior( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Paramters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration	*CGBLBuildCommand::FillBehavior()
{
	CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration("GBLFCBuildCommand");	
	
	objectDeclaration->SetType(CKDLL_BEHAVIORPROTOTYPE);
	objectDeclaration->SetVersion(0x00000001);
	objectDeclaration->SetCreationFunction(CreateBehaviourPrototype);
    objectDeclaration->SetDescription("Build a command");
	objectDeclaration->SetCategory("GBL/Commands");
	objectDeclaration->SetGuid(CKGUID(0xb7074dbe, 0x98390252));
	objectDeclaration->SetAuthorGuid(CKGUID(0x56495254,0x4f4f4c53));
	objectDeclaration->SetAuthorName("ITI Techmedia");
	objectDeclaration->SetCompatibleClassId(CKCID_BEOBJECT);

	return objectDeclaration;
}
コード例 #4
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * CGBLDecodeAndDistribute::FillBehaviour(void)
{
	CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration("GBLFCDecodeAndDistribute");	
	
	objectDeclaration->SetType(CKDLL_BEHAVIORPROTOTYPE);
	objectDeclaration->SetVersion(0x00000001);
	objectDeclaration->SetCreationFunction(CGBLDecodeAndDistribute::CreateProto);
	objectDeclaration->SetDescription("Decode and distribute building block");
	objectDeclaration->SetCategory("GBL/Commands");
	objectDeclaration->SetGuid(CKGUID(0xc1f5349d, 0x6dc6037e));
	objectDeclaration->SetAuthorGuid(CKGUID(0x56495254,0x4f4f4c53));
	objectDeclaration->SetAuthorName("ITI Techmedia");
	objectDeclaration->SetCompatibleClassId(CKCID_BEOBJECT);

	return objectDeclaration;
}
コード例 #5
0
ファイル: GBLPFDelete.cpp プロジェクト: gbaumgart/GBL_Backup
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFDelete::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFDelete" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFDelete::CreatePrototype );
    objectDeclaration->SetDescription( "Delete a player" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0xa823eea6, 0xc5ab9b76 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #6
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Paramters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * CGBLLAESetLoadState::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLLAESetLoadState" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( CGBLLAESetLoadState::CreatePrototype );
    objectDeclaration->SetDescription( "Learning Application Controller" );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID(0x52db1a46,0x59cd1d8e) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID(0x14f222f7,0x3755410b) );
    objectDeclaration->SetAuthorName( "Virtools" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #7
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFAddPlayer::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFAddPlayer" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFAddPlayer::CreatePrototype );
    objectDeclaration->SetDescription( "Add a player to a team" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0xb759b8e9, 0x574d80b9 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #8
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * CGBLLAESaveControllers::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLLAESaveControllersBB" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( CGBLLAESaveControllers::CreatePrototype );
    objectDeclaration->SetDescription( "Enter your description here" );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID(0x2a761017,0x2ce564f3) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID(0x4b7240,0x20a65ac7) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #9
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Paramters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * CGBLCHChatMoveHomogeneous::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLCHChatMoveHomogeneous" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( CGBLCHChatMoveHomogeneous::CreatePrototype );
    objectDeclaration->SetDescription( "Moves chat interface frame" );
    objectDeclaration->SetCategory( "GBL/Chat Interface" );
    objectDeclaration->SetGuid( CKGUID(0x3fc84bbf,0x509166f3) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #10
0
ファイル: GBLPFCreate.cpp プロジェクト: gbaumgart/GBL_Backup
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFCreate::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFCreate" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFCreate::CreatePrototype );
    objectDeclaration->SetDescription( "Create a new user or team" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0xaf6b6e2e, 0x5ecaf451 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #11
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFRemovePlayer::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFRemovePlayer" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFRemovePlayer::CreatePrototype );
    objectDeclaration->SetDescription( "Remove player from a team" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0x63e258c8, 0x366289c5 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #12
0
ファイル: GBLListBox.cpp プロジェクト: gbaumgart/GBL_Backup
/*
 *******************************************************************
 * Function: FillBehaviour()
 *
 * Description : A standard Virtools function to define the type and locaation of the BB
 *
 *
 * Returns :  Pointer to the filled object declaration
 *
 *******************************************************************
*/
CKObjectDeclaration* CGBLListBox::FillBehaviour()
{
	CKObjectDeclaration *objectDecl = CreateCKObjectDeclaration("GBLListBox");	
	
	objectDecl->SetDescription("Displays a scrolling list of selectable text strings");
	objectDecl->SetType(CKDLL_BEHAVIORPROTOTYPE);
	objectDecl->SetVersion(0x00010000);
	objectDecl->SetCreationFunction(CreateBehaviourPrototype);
	objectDecl->SetCategory("GBL/Interface");
	objectDecl->SetGuid(CKGUID(0xae5c24a0, 0xd69428a0));
	objectDecl->SetAuthorGuid(CKGUID(0x56495254,0x4f4f4c53));
	objectDecl->SetAuthorName("Teleca");
	objectDecl->SetCompatibleClassId(CKCID_2DENTITY);

	return objectDecl;
}
コード例 #13
0
CKObjectDeclaration	*FillBehaviorNeoSetMousePosDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("Set Mouse Pos");	
	
	od->SetType(CKDLL_BEHAVIORPROTOTYPE);
	od->SetVersion(0x0000001);
	od->SetCreationFunction(CreateNeoSetMousePosProto);
	od->SetDescription("Set Mouse Position");
	od->SetCategory("Controllers/Mouse");
	od->SetGuid(CKGUID(0xa72d87d4, 0x882b89a6));
	od->SetAuthorGuid(CKGUID(0x56495254,0x4f4f4c53));
	od->SetAuthorName("Neo");
	od->SetCompatibleClassId(CKCID_BEOBJECT);

	return od;
}
コード例 #14
0
CKObjectDeclaration	*FillBehaviorARTPlusPatternTransformationDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("Single Marker Transformation");

	od->SetType(CKDLL_BEHAVIORPROTOTYPE);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateARTPlusPatternTransformationProto);
	od->SetDescription("Calculates Transformation for given Videoframe");
	od->SetCategory("ARToolKitPlus");
	od->SetGuid(CKGUID(0x6b733302,0x12d23c1f));
	od->SetAuthorGuid(CKGUID(0x653d3e01,0x631c3314));
	od->SetAuthorName("Jörg Stöcklein");
	od->SetCompatibleClassId(CKCID_BEOBJECT);

	return od;
}
コード例 #15
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLStorageManagerStateTestBB::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLStorageManagerStateTestBB" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLStorageManagerStateTestBB::CreatePrototype );
    objectDeclaration->SetDescription( "Unit test BB for the state access interface on storage manager" );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID( 0xc6e54ad0, 0x248caa39 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #16
0
CKObjectDeclaration	*FillBehaviorTextureSinusDecl()
{
    CKObjectDeclaration *od = CreateCKObjectDeclaration("Texture Sine2");
    od->SetDescription("Produces a sinusoidal displacement on the UV coords of a mesh's material (or one of its channel).");

    /* rem:
    <SPAN CLASS=in>In: </SPAN>triggers the process<BR>
    <SPAN CLASS=out>Out: </SPAN>is activated when the process is completed.<BR>
    <BR>
    <SPAN CLASS=pin>X Amplitude: </SPAN>amplitude of sine displacement along the X axis of the texture <BR>
    <SPAN CLASS=pin>Y Amplitude: </SPAN>amplitude of sine displacement along the Y axis of the texture.<BR>
    <SPAN CLASS=pin>Velocity: </SPAN>radial speed expressed in radian/seconds.<BR>
    <SPAN CLASS=pin>Channel: </SPAN>if set to -1, the mapping is calculated only for the default material.
    Otherwise it is processed on the specified channel.<BR>
    <BR>
    */
    /* warning:
    - The initial UV (mapping coordinates) on the mesh for this texture are saved when the building block is attached
    to the mesh (that's why we can't target this building block to another mesh than the one
    the building block is applied to), therefore you needn't to put Initials Conditions to the mesh if
    you wish to recover the initial mapping of the texture.<BR>
    - Beware, not all the building blocks work with this specification (eg: Texture Scroller need IC to recover the initials mapping).<BR>
    - The "Texture Sine" BB is a time based building block (i.e. it will execute at the same speed what ever the frame rate is
    [this means you needn't to add a per second building block in front of it]).<BR>
    */
    od->SetType( CKDLL_BEHAVIORPROTOTYPE);
    od->SetGuid(CKGUID(0x47e96252,0x632216fe));
    od->SetAuthorGuid(VIRTOOLS_GUID);
    od->SetAuthorName("Virtools");
    od->SetVersion(0x00010000);
    od->SetCreationFunction(CreateTextureSinusProto);
    od->SetCompatibleClassId(CKCID_BEOBJECT);
    od->SetCategory("Materials-Textures/Animation");
    return od;
}
コード例 #17
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFGetTeamLeader::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFGetTeamLeader" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFGetTeamLeader::CreatePrototype );
    objectDeclaration->SetDescription( "Get PLayerId of Team leader" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0xa9b38548, 0x71069a43 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #18
0
ファイル: GBLLAEGetLA.cpp プロジェクト: gbaumgart/GBL_Backup
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Paramters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * CGBLLAEGetLA::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLLAEGetLABB" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( CGBLLAEGetLA::CreatePrototype );
    objectDeclaration->SetDescription( "Learning Application Controller" );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID( 0x18c3663c, 0xab186c9e ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "Virtools" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #19
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFGetUserIdentity::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFGetUserIdentityStub" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFGetUserIdentity::CreatePrototype );
    objectDeclaration->SetDescription( "Get current user identity" );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID( 0x2fefed7d, 0xe52355de ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #20
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * CGBLLAERemoveUser::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLLAERemoveUserBB" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( CGBLLAERemoveUser::CreatePrototype );
    objectDeclaration->SetDescription( "Adds user to the LAE" );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID(0x7bfb47fa,0x26625ec8) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID(0x4e6f7a46,0x337232a2) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #21
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its
 *               creation function, etc..
 *
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * CGBLLAELoadControllers::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLLAELoadControllersBB" );

    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( CGBLLAELoadControllers::CreatePrototype );
    objectDeclaration->SetDescription( "Enter your description here" );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID( 0x45d2b5f6, 0xcde70c50 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );

    return objectDeclaration;
}
コード例 #22
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFAddProfileField::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFAddProfileField" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFAddProfileField::CreatePrototype );
    objectDeclaration->SetDescription( "Add a field to a profile" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0xcfa36ea5, 0x799318c8 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #23
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration* FillBehaviour() 
 *
 * Description : A standard virtools function to define the type and locaation of the BB
 *		
 * Paramters :
 *    None.
 *
 * Returns : Pointer to the filled object declaration
 *
 *******************************************************************
 */
CKObjectDeclaration* CGBLLOStopTimer::FillBehaviour()
{
	CKObjectDeclaration *objectDecl = CreateCKObjectDeclaration("GBLLOStopTimer");	
	
	// Setup the bits and bobs of this building block
	objectDecl->SetDescription("Stops a timer based measurement");
	objectDecl->SetType(CKDLL_BEHAVIORPROTOTYPE);
	objectDecl->SetVersion(0x00010000);
	objectDecl->SetCreationFunction(CreateBehaviourPrototype);
	objectDecl->SetCategory("GBL/Learning Objectives");
	objectDecl->SetGuid(CKGUID(0x716369e,0x47af74f5));
	objectDecl->SetAuthorGuid(CKGUID( 0xeba761d6, 0xe5b36bcf ));
	objectDecl->SetAuthorName("ITI Techmedia");
	objectDecl->SetCompatibleClassId(CKCID_BEOBJECT);

	return objectDecl;
}
コード例 #24
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration* FillBehaviour() 
 *
 * Description : A standard virtools function to define the type and locaation of the BB
 *		
 * Paramters :
 *    None.
 *
 * Returns : Pointer to the filled object declaration
 *
 *******************************************************************
 */
CKObjectDeclaration* CGBLLOGetMOStatus::FillBehaviour()
{
	CKObjectDeclaration *objectDecl = CreateCKObjectDeclaration("GBLLOGetMOStatus");	
	
	// Setup the bits and bobs of this building block
	objectDecl->SetDescription("Returns the status of an MO");
	objectDecl->SetType(CKDLL_BEHAVIORPROTOTYPE);
	objectDecl->SetVersion(0x00010000);
	objectDecl->SetCreationFunction(CreateBehaviourPrototype);
	objectDecl->SetCategory("GBL/Learning Objectives");
	objectDecl->SetGuid(CKGUID(0x42d50611,0x573c7c50));
	objectDecl->SetAuthorGuid(CKGUID( 0xeba761d6, 0xe5b36bcf ));
	objectDecl->SetAuthorName("ITI Techmedia");
	objectDecl->SetCompatibleClassId(CKCID_BEOBJECT);

	return objectDecl;
}
コード例 #25
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration* FillBehaviour() 
 *
 * Description : A standard virtools function to define the type and locaation of the BB
 *		
 * Paramters :
 *    None.
 *
 * Returns : Pointer to the filled object declaration
 *
 *******************************************************************
 */
CKObjectDeclaration* CGBLLOStringBuilder::FillBehaviour()
{
	CKObjectDeclaration *objectDecl = CreateCKObjectDeclaration("GBLLOStringBuilder");	
	
	// Setup the bits and bobs of this building block
	objectDecl->SetDescription("Inserts one string into another based on the passed insert position");
	objectDecl->SetType(CKDLL_BEHAVIORPROTOTYPE);
	objectDecl->SetVersion(0x00010000);
	objectDecl->SetCreationFunction(CreateBehaviourPrototype);
	objectDecl->SetCategory("GBL/Learning Objectives");
	objectDecl->SetGuid(CKGUID(0x3d836bed,0x70571f07));
	objectDecl->SetAuthorGuid(CKGUID( 0xeba761d6, 0xe5b36bcf ));
	objectDecl->SetAuthorName("ITI Techmedia");
	objectDecl->SetCompatibleClassId(CKCID_BEOBJECT);

	return objectDecl;
}
コード例 #26
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration* FillBehaviour() 
 *
 * Description : A standard virtools function to define the type and locaation of the BB
 *		
 * Paramters :
 *    None.
 *
 * Returns : Pointer to the filled object declaration
 *
 *******************************************************************
 */
CKObjectDeclaration* CGBLFileSystem::FillBehaviour()
{
	CKObjectDeclaration *objectDecl = CreateCKObjectDeclaration("GBLFileSystem");	
	
	// Setup the bits and bobs of this building block
	objectDecl->SetDescription("Scans the file system for files or folders");
	objectDecl->SetType(CKDLL_BEHAVIORPROTOTYPE);
	objectDecl->SetVersion(0x00010000);
	objectDecl->SetCreationFunction(CreateBehaviourPrototype);
	objectDecl->SetCategory("GBL/Interface");
	objectDecl->SetGuid(CKGUID(0x45a77572,0x3116782e));
	objectDecl->SetAuthorGuid(CKGUID( 0xeba761d6, 0xe5b36bcf ));
	objectDecl->SetAuthorName("ITI Techmedia");
	objectDecl->SetCompatibleClassId(CKCID_BEOBJECT);

	return objectDecl;
}
コード例 #27
0
/*
 *******************************************************************
 * Function: CKERROR InitInstance( CKContext* theContext )
 *
 * Description : If no manager is used in the plugin these functions 
 *               are optional and can be exported. Virtools will call 
 *               'InitInstance' when loading the behavior library and 
 *               'ExitInstance' when unloading it. It is a good place 
 *               to perform Attributes Types declaration, registering new 
 *               enums or new parameter types.
 *		
 * Parameters : CKContext* theContext
 *    
 *
 * Returns : CKERROR
 *
 *******************************************************************
 */
CKERROR InitInstance( CKContext* theContext )
{
    new CGBLProfileManager( theContext );

    CKParameterManager* pm = theContext->GetParameterManager();

    //--- TODO: A Delete function needs to be registered, until then these will leak!
    CKParameterTypeDesc pProfile;
    pProfile.Guid = GUID_PROFILE_ID;
    pProfile.DerivedFrom = CKGUID(0,0);
    pProfile.TypeName = "TGBLProfileID";
    pProfile.DefaultSize = sizeof(CGBLProfileID);
    pProfile.CreateDefaultFunction	= CKProfileCreator;
    pProfile.StringFunction		= CKProfileStringFunc;
    //pProfile.UICreatorFunction		=
    pm->RegisterParameterType(&pProfile);

    CKParameterTypeDesc pTeam;
    pTeam.Guid = GUID_TEAM_ID;
    pTeam.DerivedFrom = GUID_PROFILE_ID;
    pTeam.TypeName = "TGBLTeamID";
    pTeam.DefaultSize = sizeof(CGBLTeamID);
    pTeam.CreateDefaultFunction	= CKTeamCreator;
    pTeam.StringFunction		= CKProfileStringFunc;
    //pTeam.UICreatorFunction		=
    pm->RegisterParameterType(&pTeam);

    CKParameterTypeDesc pUser;
    pUser.Guid = GUID_USER_ID;
    pUser.DerivedFrom = GUID_PROFILE_ID;
    pUser.TypeName = "TGBLUserID";
    pUser.DefaultSize = sizeof(CGBLUserID);
    pUser.CreateDefaultFunction	= CKUserCreator;
    pUser.StringFunction		= CKProfileStringFunc;
    //pUser.UICreatorFunction		=
    pm->RegisterParameterType(&pUser);

    // Prevent designer from creating a Profile ID as this is an invalid type.
    CKParameterTypeDesc* param_type;
    param_type = pm->GetParameterTypeDescription(GUID_PROFILE_ID);
    if (param_type) param_type->dwFlags|=CKPARAMETERTYPE_HIDDEN;

    CGBLTypeHandler THandler(theContext);
    XString typeList;
    THandler.GetTypesList(typeList);
    pm->RegisterNewEnum(EGBLProfileFieldTypeGUID,
        "EGBLProfileFieldType",
        typeList.Str());

    pm->RegisterNewEnum(EGBLUserTypeGUID,
        "EGBLUserType",
        "Player=0,Facilitator=1");

    return CK_OK;
}
コード例 #28
0
CKObjectDeclaration	*FillBehaviorSetMousPosDecl(){
	CKObjectDeclaration *od = CreateCKObjectDeclaration("SetMousePos");	
	od->SetCategory("Narratives/Mouse");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x7938083c,0x32f03a3d));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateSetMousPosProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
コード例 #29
0
/*
 *******************************************************************
 * Function: RegisterParameters()
 *
 * Description : This function registers all required structures, parameter types or attributes for this plugin.
	
 * Returns : CGBLCOError
 *
 *******************************************************************
*/
CGBLCOError MeasuredObjectiveControllerMgr::RegisterParameters()
{


	CKParameterManager* pm = (CKParameterManager*)GetCKContext(0)->GetParameterManager();

	CKAttributeManager *aMan = static_cast<CKAttributeManager*>(m_Context->GetAttributeManager());
	
	
	CKParameterTypeDesc cgblTypeDescrMO;

	cgblTypeDescrMO.Guid=CKGUID_CGBLMO_PARAMETER;
	cgblTypeDescrMO.DerivedFrom=CKGUID(0,0);
	cgblTypeDescrMO.TypeName=GBL_API_ENTRY("Measured Objective");
	cgblTypeDescrMO.DefaultSize=sizeof(CGBLMOData);
	cgblTypeDescrMO.CreateDefaultFunction	= CGBL_MO_CREATE_FUNC;
	cgblTypeDescrMO.SaveLoadFunction = CGBL_MO_SAVELOAD_FUNC;
	
	pm->RegisterParameterType(&cgblTypeDescrMO);
																								


	CKParameterTypeDesc cgblTypeDescrMeasurement;

	cgblTypeDescrMeasurement.Guid=CKGUID_CGBLM_PARAMETER;
	cgblTypeDescrMeasurement.DerivedFrom=CKGUID(0,0);
	cgblTypeDescrMeasurement.TypeName=GBL_API_ENTRY("Measurement");
	cgblTypeDescrMeasurement.DefaultSize=sizeof(CGBLMeasurementData);
	cgblTypeDescrMeasurement.CreateDefaultFunction	= CGBL_MEASUREMENT_CREATE_FUNC;
	cgblTypeDescrMeasurement.SaveLoadFunction = CGBL_MEASUREMENT_SAVELOAD_FUNC;

	pm->RegisterParameterType(&cgblTypeDescrMeasurement);

	////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

    CGBLCOError errorType(CGBLCOError::EGBLCOErrorType::GBLCO_OK); 
	        
	return errorType;

}
コード例 #30
0
CKObjectDeclaration	*FillBehaviorFTPLoginDecl(){
	CKObjectDeclaration *od = CreateCKObjectDeclaration("FTP Login");	
	od->SetDescription("");
	od->SetCategory("Narratives/Files");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x3d100c46,0x206c6bc2));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateFTPLoginProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}