class TdGfxPfObject : public TcGfxObject, public TcGfxPfBackgroundLoader TcGfxLoadRequest TcGfxBgLoaderObserver Class TdGfxPfObject
Class TdGfxPfObject. It contains information about an object that can be drawn in the scene.Role: This is the development Graphics class for Performer leaf nodes. Clients can use it as is or extend its functionality by deriving a custom class.
Responsibilities: This class implements methods that enable clients to physically load and unload the object out of performer memory (pfdLoad) as well as the ability to hide and unhide the object.
TdGfxPfObject(const TcUtString &name, const LoadState &ldState, const LoadType &ldType, TcUtString fname)
ldState - Determines whether an object is loaded at instantiation.
ldType - Determines whether an object is synchronously or asynchronously
loaded
fname - Specifies the file name that pfdLoad will be sent.
TdGfxPfObject(const TcUtString &name, const LoadState &ldState, const LoadType &ldType, TcUtString fname, const TdGfxPfTravAttributes& travAtts)
ldState - Determines whether an object is loaded at instantiation.
ldType - Determines whether an object is synchronously or
asynchronously loaded.
fname - Specifies the file name that pfdLoad will be sent.
travAtts - Specifies traversal attributes for one of DRAW, ISECT
or CULL. Additional masks can be set by a setTravMask call on the
pfComponentAdapter.
TdGfxPfObject(const TcUtString &name, const LoadState &ldState, TdGfxPfNodeAdapter *ndAdapter)
ldState - Determines whether an object is loaded at instantiation.
ndAdapter - A pre-instantiated pfNodeAdapter that implements loadFile()
TdGfxPfObject(TcUtString name)
void loadFromSceneFile()
virtual void clientLoadGfxObject()
virtual void loadGeometry(const LoadType& ldType = ASYNC)
virtual void unLoadGeometry()
virtual void hideGeometry()
virtual void unHideGeometry()
virtual TcUtVector3f getPosition()
virtual int setPosition(TcUtVector3f)
virtual TcUtVector3f getOrientation()
virtual int setOrientation(TcUtVector3f)
virtual int gfxLoadUpdate(const TcGfxPfBackgroundLoader::TcGfxLoadRequest& request)
virtual void accept(TcGfxVisitor &)
TdGfxPfObject(const TcUtString &name, const LoadState &ldState, TcGfxPfComponentAdapter *ndAdapter)
ldState - Determines whether an object is loaded at instantiation.
ndAdapter - A pre-instantiated pfNodeAdapter that implements
loadFile()
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de