Panda3D
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
maxEggLoader.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandatoolbase.h"
#include "notifyCategoryProxy.h"
#include "eggData.h"
#include "eggVertexPool.h"
#include "eggVertex.h"
#include "eggPolygon.h"
#include "eggPrimitive.h"
#include "eggGroupNode.h"
#include "eggPolysetMaker.h"
#include "eggBin.h"
#include <stdio.h>
#include <Max.h>
#include <istdplug.h>
#include <stdmat.h>
#include <decomp.h>
#include <shape.h>
#include <simpobj.h>
#include <iparamb2.h>
#include <iskin.h>
#include <modstack.h>
#include "maxEggLoader.h"

Go to the source code of this file.

Macros

#define CTRLJOINT_DEFORM   ((EggGroup*)((char*)(-1)))
 

Typedefs

typedef phash_map< LColor, int > CVertTable
 
typedef std::pair< double, EggGroup * > MaxEggWeight
 
typedef phash_map< LTexCoordd, int > TVertTable
 
typedef phash_set< MaxEggVertex, MEV_Compare > VertTable
 

Functions

Point3 MakeMaxPoint (LVector3d vec)
 
bool MaxLoadEggData (EggData *data, bool merge, bool model, bool anim)
 
bool MaxLoadEggFile (const char *name, bool merge, bool model, bool anim)
 
 NotifyCategoryDeclNoExport (maxloader)
 
 NotifyCategoryDef (maxloader, "")
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
jyelon
Date
2005-07-15

This file contains the code for class MaxEggLoader. This class does the actual work of copying an EggData tree into the max scene.

Definition in file maxEggLoader.cxx.

Macro Definition Documentation

◆ CTRLJOINT_DEFORM

#define CTRLJOINT_DEFORM   ((EggGroup*)((char*)(-1)))

Definition at line 376 of file maxEggLoader.cxx.

Typedef Documentation

◆ CVertTable

typedef phash_map<LColor, int> CVertTable

Definition at line 346 of file maxEggLoader.cxx.

◆ MaxEggWeight

typedef std::pair<double, EggGroup *> MaxEggWeight

Definition at line 304 of file maxEggLoader.cxx.

◆ TVertTable

typedef phash_map<LTexCoordd, int> TVertTable

Definition at line 345 of file maxEggLoader.cxx.

◆ VertTable

typedef phash_set<MaxEggVertex, MEV_Compare> VertTable

Definition at line 344 of file maxEggLoader.cxx.

Function Documentation

◆ MakeMaxPoint()

Point3 MakeMaxPoint ( LVector3d vec)

Definition at line 81 of file maxEggLoader.cxx.

◆ MaxLoadEggData()

bool MaxLoadEggData ( EggData * data,
bool merge,
bool model,
bool anim )

Definition at line 716 of file maxEggLoader.cxx.

◆ MaxLoadEggFile()

bool MaxLoadEggFile ( const char * name,
bool merge,
bool model,
bool anim )

Definition at line 722 of file maxEggLoader.cxx.