Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CLwoSurfaceBlockTMap Class Reference

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

#include "cLwoSurfaceBlockTMap.h"

Public Member Functions

 CLwoSurfaceBlockTMap (LwoToEggConverter *converter, const LwoSurfaceBlockTMap *tmap)
 
 CPT (LwoSurfaceBlockTMap) _tmap
 
void get_transform (LMatrix4d &mat) const
 Fills up the indicated matrix with the net transform indicated by the TMAP chunk, accounting for scale, rotate, and translate.
 

Public Attributes

LPoint3 _center
 
LwoToEggConverter_converter
 
LwoSurfaceBlockCoordSys::Type _csys
 
std::string _reference_object
 
LVecBase3 _rotation
 
LVecBase3 _size
 

Detailed Description

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

Definition at line 30 of file cLwoSurfaceBlockTMap.h.

Constructor & Destructor Documentation

◆ CLwoSurfaceBlockTMap()

CLwoSurfaceBlockTMap::CLwoSurfaceBlockTMap ( LwoToEggConverter * converter,
const LwoSurfaceBlockTMap * tmap )

Definition at line 25 of file cLwoSurfaceBlockTMap.cxx.

Member Function Documentation

◆ get_transform()

void CLwoSurfaceBlockTMap::get_transform ( LMatrix4d & mat) const

Fills up the indicated matrix with the net transform indicated by the TMAP chunk, accounting for scale, rotate, and translate.

Definition at line 66 of file cLwoSurfaceBlockTMap.cxx.

Member Data Documentation

◆ _center

LPoint3 CLwoSurfaceBlockTMap::_center

Definition at line 36 of file cLwoSurfaceBlockTMap.h.

◆ _converter

LwoToEggConverter* CLwoSurfaceBlockTMap::_converter

Definition at line 44 of file cLwoSurfaceBlockTMap.h.

◆ _csys

LwoSurfaceBlockCoordSys::Type CLwoSurfaceBlockTMap::_csys

Definition at line 42 of file cLwoSurfaceBlockTMap.h.

◆ _reference_object

std::string CLwoSurfaceBlockTMap::_reference_object

Definition at line 40 of file cLwoSurfaceBlockTMap.h.

◆ _rotation

LVecBase3 CLwoSurfaceBlockTMap::_rotation

Definition at line 38 of file cLwoSurfaceBlockTMap.h.

◆ _size

LVecBase3 CLwoSurfaceBlockTMap::_size

Definition at line 37 of file cLwoSurfaceBlockTMap.h.


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