interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

A3DL::Portal Class Reference
[libmetaobject_a3dl]

#include <vos/metaobjects/a3dl/portal.hh>

Inheritance diagram for A3DL::Portal:

VOS::MetaObject VOS::Vobject VOS::Dispatchable VUtil::RefCounted List of all members.

Detailed Description

A portal connects different sectors by presenting a polygonal region in space which is rendered as a "hole" through which the destination sector can be seen and entered.

The dimensions of the visible portal and the corresponding shape through which the destination sector is rendered is represented by a "warping" transformation matrix.

Definition at line 47 of file portal.hh.

Public Member Functions

Static Public Member Functions


Constructor & Destructor Documentation

A3DL::Portal::Portal ( VOS::VobjectBase superobject  ) 

virtual A3DL::Portal::~Portal (  )  [virtual]


Member Function Documentation

virtual VUtil::vRef<Material> A3DL::Portal::getMaterial ( bool  createIfNone = true  )  [virtual]

Get material vobject.

virtual VUtil::vRef<Sector> A3DL::Portal::getTargetSector (  )  [virtual]

virtual const std::string A3DL::Portal::getVOSType (  )  [virtual]

Returns:
the specific VOS type name that represents the VOS interface this object is supplying. This should always be overridden by the subclass.

Reimplemented from VOS::MetaObject.

virtual void A3DL::Portal::getWarpingTransform ( float &  m11,
float &  m12,
float &  m13,
float &  m21,
float &  m22,
float &  m23,
float &  m31,
float &  m32,
float &  m33,
float &  tx,
float &  ty,
float &  tz 
) [virtual]

static VOS::MetaObject* A3DL::Portal::new_Portal ( VOS::VobjectBase superobject,
const std::string &  type 
) [static]

virtual void A3DL::Portal::setMaterialObj ( Material material  )  [virtual]

Set material vobject.

virtual void A3DL::Portal::setTargetSector ( Sector sector  )  [virtual]

virtual void A3DL::Portal::setWarpingTransform ( float  m11,
float  m12,
float  m13,
float  m21,
float  m22,
float  m23,
float  m31,
float  m32,
float  m33,
float  tx,
float  ty,
float  tz 
) [virtual]


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