module::annotation::annotation_2d Class Reference

Inheritance diagram for module::annotation::annotation_2d:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 annotation_2d (k3d::iplugin_factory &Factory, k3d::idocument &Document)
sigc::slot< void, iunknown * > make_async_redraw_slot ()
void async_redraw (iunknown *)
k3d::uint_t gl_layer ()
void gl_draw (const k3d::gl::render_state &State)
void gl_select (const k3d::gl::render_state &State, const k3d::gl::selection_state &SelectState)
void draw (const k3d::gl::render_state &State)

Static Public Member Functions

static k3d::iplugin_factoryget_factory ()

Private Types

typedef k3d::node base

Private Member Functions

 k3d_data (k3d::filesystem::path, immutable_name, change_signal, with_undo, local_storage, no_constraint, path_property, path_serialization) m_font_path
 k3d_data (k3d::double_t, immutable_name, change_signal, with_undo, local_storage, no_constraint, writable_property, with_serialization) m_font_size
 k3d_data (k3d::double_t, immutable_name, change_signal, with_undo, local_storage, no_constraint, writable_property, with_serialization) m_line_width
 k3d_data (k3d::double_t, immutable_name, change_signal, with_undo, local_storage, no_constraint, writable_property, with_serialization) m_line_spacing
 k3d_data (alignment_t, immutable_name, change_signal, with_undo, local_storage, no_constraint, enumeration_property, with_serialization) m_alignment
 k3d_data (k3d::color, immutable_name, change_signal, with_undo, local_storage, no_constraint, writable_property, with_serialization) m_color
 k3d_data (k3d::double_t, immutable_name, change_signal, with_undo, local_storage, no_constraint, measurement_property, with_serialization) m_x
 k3d_data (k3d::double_t, immutable_name, change_signal, with_undo, local_storage, no_constraint, measurement_property, with_serialization) m_y

Private Attributes

k3d::metadata::property
< k3d_data(k3d::string_t,
immutable_name, change_signal,
with_undo, local_storage,
no_constraint,
writable_property,
with_serialization)> 
m_text

Member Typedef Documentation


Constructor & Destructor Documentation

module::annotation::annotation_2d::annotation_2d ( k3d::iplugin_factory Factory,
k3d::idocument Document 
) [inline]

Member Function Documentation

void module::annotation::annotation_2d::async_redraw ( iunknown *   )  [inline]
void module::annotation::annotation_2d::draw ( const k3d::gl::render_state State  )  [inline]
static k3d::iplugin_factory& module::annotation::annotation_2d::get_factory (  )  [inline, static]
void module::annotation::annotation_2d::gl_draw ( const k3d::gl::render_state State  )  [inline, virtual]
k3d::uint_t module::annotation::annotation_2d::gl_layer (  )  [inline, virtual]

Returns the layer on which this renderable should be drawn. Lower-numbered layers are rendered earlier than higher-numbered layers. The (arbitrary) default layer for most 3D objects is 1024. Layer zero is reserved for the viewport background.

Implements k3d::gl::irenderable.

void module::annotation::annotation_2d::gl_select ( const k3d::gl::render_state State,
const k3d::gl::selection_state SelectState 
) [inline, virtual]

Note:
Selection is disabled for this plugin for a couple of reasons: First, the combination of the custom matrix used to position the text and the pick matrix causes weird behavior. Second, we assume that it is useful to have on-screen displays that don't interfere with "normal" selection of geometry.

Implements k3d::gl::irenderable.

module::annotation::annotation_2d::k3d_data ( k3d::double_t  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
measurement_property  ,
with_serialization   
) [private]
module::annotation::annotation_2d::k3d_data ( k3d::double_t  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
measurement_property  ,
with_serialization   
) [private]
module::annotation::annotation_2d::k3d_data ( k3d::color  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
writable_property  ,
with_serialization   
) [private]
module::annotation::annotation_2d::k3d_data ( alignment_t  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
enumeration_property  ,
with_serialization   
) [private]
module::annotation::annotation_2d::k3d_data ( k3d::double_t  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
writable_property  ,
with_serialization   
) [private]
module::annotation::annotation_2d::k3d_data ( k3d::double_t  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
writable_property  ,
with_serialization   
) [private]
module::annotation::annotation_2d::k3d_data ( k3d::double_t  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
writable_property  ,
with_serialization   
) [private]
module::annotation::annotation_2d::k3d_data ( k3d::filesystem::path  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
path_property  ,
path_serialization   
) [private]
sigc::slot<void, iunknown*> module::annotation::annotation_2d::make_async_redraw_slot (  )  [inline]

References async_redraw().

Referenced by annotation_2d().


Member Data Documentation

Referenced by annotation_2d(), and draw().


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

Generated on Mon Mar 21 07:43:00 2011 for K-3D by doxygen 1.6.3