Public Member Functions

BundlePtr Class Reference

Convenience class that implements a pointer to a Bundle object but adds some useful member funtions that lets the pointer resemble the same properties as the Bundle object itself. More...

#include <Bundle.hpp>

List of all members.

Public Member Functions


Detailed Description

Convenience class that implements a pointer to a Bundle object but adds some useful member funtions that lets the pointer resemble the same properties as the Bundle object itself.

Examples:

EvolutionSurface.cpp, HelicalLines.cpp, Sphere.cpp, trimesh.cpp, and uniform_scalar.cpp.


Member Function Documentation

SlicePtr BundlePtr::operator() ( double &  time  )  [inline]

Request a Slice without creating any data.

Note that this request might load the Slice.

int BundlePtr::save ( const string &  url  ) 
        RefPtr<Fiber::FBXMLSaver> BSaver = Bndl->getInterface(typeid(Fiber::XML) );
        RefPtr<Fiber::FBXMLSaver> BSaver = interface_cast<Fiber::FBXMLSaver>(*Bndl);

                InterfacePtr<Fiber::XMLSaver<Fiber::Bundle> > BSaver = *Bndl; 
                if (BSaver)
                        BSaver->save(*Bndl, "-");
Examples:
trimesh.cpp.