module::bitmap::reference_image_2d Class Reference

Inheritance diagram for module::bitmap::reference_image_2d:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 reference_image_2d (k3d::iplugin_factory &Factory, k3d::idocument &Document)
 ~reference_image_2d ()
void bitmap_changed (k3d::ihint *Hint)
sigc::slot< void, k3d::ihint * > make_async_redraw_slot ()
void async_redraw (k3d::ihint *)
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

enum  aspect_ratio_type_t { IMAGE, CAMERA }
typedef k3d::node base

Private Member Functions

 k3d_data (k3d::color, immutable_name, change_signal, with_undo, local_storage, no_constraint, writable_property, with_serialization) m_color
 k3d_data (double, immutable_name, change_signal, with_undo, local_storage, no_constraint, writable_property, with_serialization) m_opacity
 k3d_data (k3d::icamera *, immutable_name, change_signal, with_undo, node_storage, no_constraint, node_property, node_serialization) m_camera
 k3d_data (k3d::bitmap *, immutable_name, change_signal, no_undo, local_storage, no_constraint, writable_property, no_serialization) m_bitmap
 k3d_data (aspect_ratio_type_t, immutable_name, change_signal, with_undo, local_storage, no_constraint, enumeration_property, with_serialization) m_aspect_ratio_type
 k3d_data (double, immutable_name, change_signal, with_undo, local_storage, no_constraint, writable_property, with_serialization) m_aspect_ratio

Static Private Member Functions

static const
k3d::ienumeration_property::enumeration_values_t
aspect_ratio_type_values ()

Private Attributes

GLuint m_texture_name

Friends

std::ostream & operator<< (std::ostream &Stream, const aspect_ratio_type_t &Value)
std::istream & operator>> (std::istream &Stream, aspect_ratio_type_t &Value)

Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
IMAGE 
CAMERA 

Constructor & Destructor Documentation

module::bitmap::reference_image_2d::reference_image_2d ( k3d::iplugin_factory Factory,
k3d::idocument Document 
) [inline]
module::bitmap::reference_image_2d::~reference_image_2d (  )  [inline]

References m_texture_name.


Member Function Documentation

static const k3d::ienumeration_property::enumeration_values_t& module::bitmap::reference_image_2d::aspect_ratio_type_values (  )  [inline, static, private]
void module::bitmap::reference_image_2d::async_redraw ( k3d::ihint  )  [inline]
void module::bitmap::reference_image_2d::bitmap_changed ( k3d::ihint Hint  )  [inline]

References async_redraw(), and m_texture_name.

Referenced by reference_image_2d().

void module::bitmap::reference_image_2d::draw ( const k3d::gl::render_state State  )  [inline]
static k3d::iplugin_factory& module::bitmap::reference_image_2d::get_factory (  )  [inline, static]
void module::bitmap::reference_image_2d::gl_draw ( const k3d::gl::render_state State  )  [inline, virtual]
k3d::uint_t module::bitmap::reference_image_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::bitmap::reference_image_2d::gl_select ( const k3d::gl::render_state State,
const k3d::gl::selection_state SelectState 
) [inline, virtual]

Note:
Selection is disabled for this plugin, so we don't interfere with selection of "normal" geometry

Implements k3d::gl::irenderable.

module::bitmap::reference_image_2d::k3d_data ( double  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
writable_property  ,
with_serialization   
) [private]
module::bitmap::reference_image_2d::k3d_data ( aspect_ratio_type_t  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
enumeration_property  ,
with_serialization   
) [private]
module::bitmap::reference_image_2d::k3d_data ( k3d::bitmap ,
immutable_name  ,
change_signal  ,
no_undo  ,
local_storage  ,
no_constraint  ,
writable_property  ,
no_serialization   
) [private]
module::bitmap::reference_image_2d::k3d_data ( k3d::icamera ,
immutable_name  ,
change_signal  ,
with_undo  ,
node_storage  ,
no_constraint  ,
node_property  ,
node_serialization   
) [private]
module::bitmap::reference_image_2d::k3d_data ( double  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
writable_property  ,
with_serialization   
) [private]
module::bitmap::reference_image_2d::k3d_data ( k3d::color  ,
immutable_name  ,
change_signal  ,
with_undo  ,
local_storage  ,
no_constraint  ,
writable_property  ,
with_serialization   
) [private]
sigc::slot<void, k3d::ihint*> module::bitmap::reference_image_2d::make_async_redraw_slot (  )  [inline]

References async_redraw().

Referenced by reference_image_2d().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  Stream,
const aspect_ratio_type_t Value 
) [friend]
std::istream& operator>> ( std::istream &  Stream,
aspect_ratio_type_t Value 
) [friend]

Member Data Documentation


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

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