ShaderConnectionPoint.h



Your Ad Here

00001 /****************************************************************************************
00002 THIS CODE IS PUBLISHED AS A SAMPLE ONLY AND IS PROVIDED "AS IS".
00003 IN NO EVENT SHALL SOFTIMAGE, AVID TECHNOLOGY, INC. AND/OR THEIR RESPECTIVE 
00004 SUPPLIERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
00005 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
00006 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
00007 CONNECTION WITH THE USE OR PERFORMANCE OF THIS CODE . 
00008  
00009 COPYRIGHT NOTICE. Copyright © 1999-2002 Avid Technology Inc. . All rights reserved. 
00010 
00011 SOFTIMAGE is a registered trademark of Avid Technology Inc. or its subsidiaries 
00012 or divisions. Windows NT is a registered trademark of Microsoft Corp. All other
00013 trademarks contained herein are the property of their respective owners. 
00014 ****************************************************************************************/
00015 /******************************************************************************\
00016 *
00017 * File:          ShaderConenctionPoint.h
00018 * Creation date: January 23, 2002 10:59
00019 * Author:        ClassBuilder
00020 *                XXXX
00021 * Purpose:       Declaration of class 'CSLShaderConenctionPoint'
00022 *
00023 * Modifications: @INSERT_MODIFICATIONS(* )
00024 * January 23, 2002 10:59 Frederic O'Reilly
00025 *     Added method 'DestructorInclude'
00026 *     Added method 'ConstructorInclude'
00027 *     Added method '~CSLShaderConenctionPoint'
00028 *     Added inheritance 'CSLConnectionPoint'
00029 *     Added member 'm_pType'
00030 *
00031 * Copyright 2002, XXXXX
00032 * All rights are reserved. Reproduction in whole or part is prohibited
00033 * without the written consent of the copyright owner.
00034 *
00035 \******************************************************************************/
00036 #ifndef _SHADERCONENCTIONPOINT_H
00037 #define _SHADERCONENCTIONPOINT_H
00038 
00039 #include "ConnectionPoint.h"
00040 
00046 class XSIEXPORT CSLShaderConnectionPoint
00047     : public CSLConnectionPoint
00048 {
00049 public:
00054     CSLShaderConnectionPoint
00055     ( 
00056         CdotXSITemplate *in_pTemplate, 
00057         SI_Int in_nValueIndex 
00058     );
00059 
00061     virtual ~CSLShaderConnectionPoint();
00062 
00064     enum EConnectionType
00065     {
00066         SI_SHADER,  
00067         SI_IMAGE,   
00068         SI_NONE,    
00069     };
00070 
00074     EConnectionType GetConnectionType();
00075 
00080     SI_Error SetImage( SI_Char* in_szName );
00081 
00085     SI_Char* GetImage();
00086 
00087     virtual SI_Error Synchronize();
00088 
00089 private:
00090     CSLStringProxy m_ConnectionType;
00091     CSIBCString m_ImageName;
00092 };
00093 
00094 #endif

Return to Softimage XSI Index


Your Ad Here