OpenGP  1.1
Open Geometry Processing Library
Public Member Functions | List of all members
OpenGP::Global_properties Class Reference

#include <Global_properties.h>

Inheritance diagram for OpenGP::Global_properties:
OpenGP::SurfaceMesh

Public Member Functions

template<class T >
T & add_property (const std::string &name)
 Generic. More...
 
template<class T >
T & add_property (const std::string &name, const T &initval)
 Generic with immediate initialization.
 
template<class T >
T & get_property (const std::string &name)
 

Detailed Description

Class to add global properties support to OpenGP objects

See also
examples/global_properties.cpp

Member Function Documentation

template<class T >
T& OpenGP::Global_properties::add_property ( const std::string &  name)
inline

Generic.

<return a reference

template<class T >
T& OpenGP::Global_properties::get_property ( const std::string &  name)
inline

Now static cast is safe


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