Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | Public Attributes | List of all members
CLwoLayer Class Reference

This class is a wrapper around LwoLayer and stores additional information useful during the conversion-to-egg process. More...

#include "cLwoLayer.h"

Public Member Functions

 CLwoLayer (LwoToEggConverter *converter, const LwoLayer *layer)
 
void connect_egg ()
 Connects all the egg structures together. More...
 
 CPT (LwoLayer) _layer
 
int get_number () const
 Returns the index number associated with this particular layer. More...
 
void make_egg ()
 Creates the egg structures associated with this Lightwave object. More...
 
 PT (EggGroup) _egg_group
 

Public Attributes

LwoToEggConverter_converter
 

Detailed Description

This class is a wrapper around LwoLayer and stores additional information useful during the conversion-to-egg process.

Definition at line 32 of file cLwoLayer.h.

Member Function Documentation

void CLwoLayer::connect_egg ( )

Connects all the egg structures together.

Definition at line 46 of file cLwoLayer.cxx.

References EggGroupNode::add_child(), SomethingToEggConverter::get_egg_data(), and LwoToEggConverter::get_layer().

int CLwoLayer::get_number ( ) const
inline

Returns the index number associated with this particular layer.

This should be unique among all Lightwave layers in a single file.

Definition at line 36 of file cLwoLayer.I.

Referenced by CLwoPoints::make_egg().

void CLwoLayer::make_egg ( )

Creates the egg structures associated with this Lightwave object.

Definition at line 28 of file cLwoLayer.cxx.

References LMatrix4d::translate_mat(), and LPoint3f::zero().


The documentation for this class was generated from the following files: