#ifndef LINUX #pragma once #endif #ifndef _MLightLinks #define _MLightLinks // // ***************************************************************************** // // Copyright (C) 1997-2001 Alias|Wavefront Inc. // // These coded instructions, statements and computer programs contain // unpublished information proprietary to Alias|Wavefront Inc. and are // protected by Canadian and US federal copyright laws. They may not be // disclosed to third parties or copied or duplicated, in whole or in part, // without prior written consent of Alias|Wavefront Inc. // // Unpublished-rights reserved under the Copyright Laws of the United States. // // *************************************************************************** // // CLASS: MLightLinks // // *************************************************************************** // // CLASS DESCRIPTION (MLightLinks) // // MLightLinks is a class which provides access to Maya's light linking // information. It parses the information expressed by the light linker nodes // in the scene, and provides a simple queryable interface for it. // // *************************************************************************** #if defined __cplusplus // *************************************************************************** // INCLUDED HEADER FILES #include #include // *************************************************************************** // CLASS DECLARATION (MLightLinks) /// Class providing read-only Light Linking API functions (OpenMayaRender) /** */ class OPENMAYARENDER_EXPORT MLightLinks { public: /// MLightLinks(); /// ~MLightLinks(); /// MStatus parseLinks( const MObject& linkNode = MObject::kNullObj, bool verbose = false, ostream *stream = NULL ); /// MStatus getLinkedLights( const MDagPath& path, const MObject& component, MDagPathArray& lights ); /// MStatus getLinkedObjects( const MDagPath& light, MSelectionList& objects ); private: void *f_linkUtil; }; // *************************************************************************** #endif /* __cplusplus */ #endif /* _MLightLinks */