vcg::vert::OSGColorCore< T > Class Template Reference

-------------------------- COLOR ---------------------------------- More...

#include <vertex_component.h>

List of all members.

Public Types

typedef T ColorType
typedef ColorType::ValueType ScalarType

Public Member Functions

ScalarType B ()
ScalarType G ()
ColorTypeoperator= (ColorType &c2)
 OSGColorCore (OSG::GeometryPtr p, int i)
ScalarType R ()
 ~OSGColorCore ()

Private Attributes

OSG::GeometryPtr _geopointer
int _vertexindex

Detailed Description

template<class T>
class vcg::vert::OSGColorCore< T >

-------------------------- COLOR ----------------------------------

Definition at line 238 of file vertex_component.h.


Member Typedef Documentation

template<class T>
typedef T vcg::vert::OSGColorCore< T >::ColorType

Definition at line 241 of file vertex_component.h.

template<class T>
typedef ColorType::ValueType vcg::vert::OSGColorCore< T >::ScalarType

Definition at line 242 of file vertex_component.h.


Constructor & Destructor Documentation

template<class T>
vcg::vert::OSGColorCore< T >::OSGColorCore ( OSG::GeometryPtr  p,
int  i 
) [inline]

Definition at line 243 of file vertex_component.h.

template<class T>
vcg::vert::OSGColorCore< T >::~OSGColorCore (  )  [inline]

Definition at line 244 of file vertex_component.h.


Member Function Documentation

template<class T>
ScalarType vcg::vert::OSGColorCore< T >::B (  )  [inline]

Get coordinates

Definition at line 272 of file vertex_component.h.

template<class T>
ScalarType vcg::vert::OSGColorCore< T >::G (  )  [inline]

Get coordinates

Definition at line 263 of file vertex_component.h.

template<class T>
ColorType& vcg::vert::OSGColorCore< T >::operator= ( ColorType c2  )  [inline]

Set color

Warning : instead of returning the left side operand we return the right one !!!

Definition at line 245 of file vertex_component.h.

template<class T>
ScalarType vcg::vert::OSGColorCore< T >::R (  )  [inline]

Get coordinates

Definition at line 254 of file vertex_component.h.


Member Data Documentation

template<class T>
OSG::GeometryPtr vcg::vert::OSGColorCore< T >::_geopointer [private]

Definition at line 282 of file vertex_component.h.

template<class T>
int vcg::vert::OSGColorCore< T >::_vertexindex [private]

Definition at line 283 of file vertex_component.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:47 2013