Panda3D
Public Member Functions | Public Attributes
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"

List of all members.

Public Member Functions

 CLwoLayer (LwoToEggConverter *converter, const LwoLayer *layer)
void connect_egg ()
 Connects all the egg structures together.
 CPT (LwoLayer) _layer
int get_number () const
 Returns the index number associated with this particular layer.
void make_egg ()
 Creates the egg structures associated with this Lightwave object.
 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

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().

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:
 All Classes Functions Variables Enumerations