VTK
Public Attributes
TextPropertyKey< StringType > Struct Template Reference

#include <vtkOpenGLContextDevice2DPrivate.h>

Collaboration diagram for TextPropertyKey< StringType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TextPropertyKey (vtkTextProperty *textProperty, const StringType &text)
bool operator== (const TextPropertyKey &other) const
 TextPropertyKey (vtkTextProperty *textProperty, const StringType &text)
bool operator== (const TextPropertyKey &other) const

Static Public Member Functions

static unsigned int GetIdFromTextProperty (vtkTextProperty *textProperty)
static unsigned int GetIdFromTextProperty (vtkTextProperty *textProperty)

Public Attributes

unsigned short FontSize
vtkColor4ub Color
unsigned int TextPropertyId
StringType Text

Detailed Description

template<class StringType>
struct TextPropertyKey< StringType >

Definition at line 176 of file vtkOpenGLContextDevice2DPrivate.h.


Constructor & Destructor Documentation

template<class StringType >
TextPropertyKey< StringType >::TextPropertyKey ( vtkTextProperty textProperty,
const StringType &  text 
) [inline]

Creates a TextPropertyKey.

Definition at line 190 of file vtkOpenGLContextDevice2DPrivate.h.

template<class StringType >
TextPropertyKey< StringType >::TextPropertyKey ( vtkTextProperty textProperty,
const StringType &  text 
) [inline]

Creates a TextPropertyKey.

Definition at line 190 of file vtkOpenGLContextDevice2DPrivate.h.


Member Function Documentation

template<class StringType >
static unsigned int TextPropertyKey< StringType >::GetIdFromTextProperty ( vtkTextProperty textProperty) [inline, static]

Transform a text property into an unsigned long

Definition at line 180 of file vtkOpenGLContextDevice2DPrivate.h.

template<class StringType >
bool TextPropertyKey< StringType >::operator== ( const TextPropertyKey< StringType > &  other) const [inline]

Compares two TextPropertyKeys with each other. Returns true if they are identical: same text and text property

Definition at line 207 of file vtkOpenGLContextDevice2DPrivate.h.

template<class StringType >
static unsigned int TextPropertyKey< StringType >::GetIdFromTextProperty ( vtkTextProperty textProperty) [inline, static]

Transform a text property into an unsigned long

Definition at line 180 of file vtkOpenGLContextDevice2DPrivate.h.

template<class StringType >
bool TextPropertyKey< StringType >::operator== ( const TextPropertyKey< StringType > &  other) const [inline]

Compares two TextPropertyKeys with each other. Returns true if they are identical: same text and text property

Definition at line 207 of file vtkOpenGLContextDevice2DPrivate.h.


Member Data Documentation

template<class StringType >
unsigned short TextPropertyKey< StringType >::FontSize

Definition at line 219 of file vtkOpenGLContextDevice2DPrivate.h.

template<class StringType >
vtkColor4ub TextPropertyKey< StringType >::Color

Definition at line 220 of file vtkOpenGLContextDevice2DPrivate.h.

template<class StringType >
unsigned int TextPropertyKey< StringType >::TextPropertyId

Definition at line 222 of file vtkOpenGLContextDevice2DPrivate.h.

template<class StringType >
StringType TextPropertyKey< StringType >::Text

Definition at line 223 of file vtkOpenGLContextDevice2DPrivate.h.


The documentation for this struct was generated from the following files: