Panda3D
 All Classes Functions Variables Enumerations
load_collada_file.h
00001 // Filename: load_collada_file.h
00002 // Created by:  rdb (16Mar11)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef LOAD_COLLADA_FILE_H
00016 #define LOAD_COLLADA_FILE_H
00017 
00018 #include "pandabase.h"
00019 
00020 #include "pandaNode.h"
00021 #include "filename.h"
00022 #include "coordinateSystem.h"
00023 
00024 class BamCacheRecord;
00025 
00026 BEGIN_PUBLISH
00027 ////////////////////////////////////////////////////////////////////
00028 //     Function: load_collada_file
00029 //  Description: A convenience function; the primary interface to this
00030 //               package.  Loads up the indicated DAE file, and
00031 //               returns the root of a scene graph.  Returns NULL if
00032 //               the file cannot be read for some reason.
00033 ////////////////////////////////////////////////////////////////////
00034 EXPCL_COLLADA PT(PandaNode)
00035 load_collada_file(const Filename &filename, CoordinateSystem cs = CS_default,
00036                   BamCacheRecord *record = NULL);
00037 END_PUBLISH
00038 
00039 #endif
 All Classes Functions Variables Enumerations