rtVTK  0.6.0
Classes | Typedefs | Functions
Core Namespace Reference

Functionality for color/display manipulation. More...

Classes

struct  Tuple4
 4-tuple of integers for use by Mesh. More...
class  Mesh
 Storage and manipulation of object data. More...
class  RGB
 Storage and manipulation of color values. More...
class  Texture
 Information about object color and scaling. More...

Typedefs

typedef pair< int, int > intPair2
typedef pair< int, intPair2intPair3
typedef pair< int, intPair3intPair4

Functions

void matchDirectory (string &fname, const string &full)
bool operator< (const Tuple4 &t1, const Tuple4 &t2)
ostream & operator<< (ostream &out, const Mesh::Vertex &v)
template<typename T >
RGB< T > operator* (const T &, const RGB< T > &)
template<typename T >
RGB< T > Exp (const RGB< T > &)
template<typename T >
RGB< T > Log (const RGB< T > &)
template<typename T >
RGB< T > Pow (const RGB< T > &, const RGB< T > &)
template<typename T >
RGB< T > Pow (const RGB< T > &, const T &)

Detailed Description

Functionality for color/display manipulation.

Bug:
XXX(cpg) - in general, an Error during geometry/material load doesn't free resources correctly; fix me!
Todo:
TODO(cpg) - replace the many local ostringstream objects with an inline to_string function (begs re-introduction of Utility.h from vissim codebase)

Typedef Documentation

typedef pair<int, int> Core::intPair2
typedef pair<int, intPair2> Core::intPair3
typedef pair<int, intPair3> Core::intPair4

Function Documentation

template<typename T >
RGB< T > Core::Exp ( const RGB< T > &  rgb) [inline]
template<typename T >
RGB< T > Core::Log ( const RGB< T > &  rgb) [inline]
void Core::matchDirectory ( string &  fname,
const string &  full 
) [inline]

Referenced by Core::Mesh::loadMTL().

template<typename T >
RGB< T > Core::operator* ( const T &  s,
const RGB< T > &  rgb 
) [inline]

References Core::RGB< T >::e.

bool Core::operator< ( const Tuple4 &  t1,
const Tuple4 &  t2 
)

References Core::Tuple4::data.

ostream & Core::operator<< ( ostream &  out,
const Mesh::Vertex &  v 
)
template<typename T >
RGB< T > Core::Pow ( const RGB< T > &  rgb0,
const RGB< T > &  rgb1 
) [inline]

Referenced by Pow().

template<typename T >
RGB< T > Core::Pow ( const RGB< T > &  rgb,
const T &  s 
) [inline]

References Pow().

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends