Back to index

nux  3.0.0
Public Types | Public Member Functions | Protected Attributes
nux::AbstractPaintLayer Class Reference

#include <AbstractPaintLayer.h>

Inheritance diagram for nux::AbstractPaintLayer:
Inheritance graph
[legend]
Collaboration diagram for nux::AbstractPaintLayer:
Collaboration graph
[legend]

List of all members.

Public Types

enum  PaintLayerType {
  PaintLayer_Color, PaintLayer_Shape, PaintLayer_ShapeROP, PaintLayer_Texture,
  PaintLayer_DeviceTexture, PaintLayer_ImageStyle
}

Public Member Functions

 AbstractPaintLayer ()
virtual ~AbstractPaintLayer ()
virtual AbstractPaintLayerClone () const =0
virtual void Renderlayer (GraphicsEngine &graphics_engine)=0
virtual void SetGeometry (const Geometry &geo)
void SetModelViewMatrix (const Matrix4 &mat)
 Preserve the model view matrix at the moment layer is pushed on the paint layer stack. See Painter class.
Matrix4 GetModelViewMatrix ()
Geometry const & GetGeometry () const

Protected Attributes

Geometry geometry_
Matrix4 model_view_matrix_

Detailed Description

Definition at line 29 of file AbstractPaintLayer.h.


Member Enumeration Documentation

Enumerator:
PaintLayer_Color 
PaintLayer_Shape 
PaintLayer_ShapeROP 
PaintLayer_Texture 
PaintLayer_DeviceTexture 
PaintLayer_ImageStyle 

Definition at line 33 of file AbstractPaintLayer.h.


Constructor & Destructor Documentation

Definition at line 7 of file AbstractPaintLayer.cpp.

  {

  }

Definition at line 12 of file AbstractPaintLayer.cpp.

  {

  }

Member Function Documentation

virtual AbstractPaintLayer* nux::AbstractPaintLayer::Clone ( ) const [pure virtual]

Implemented in nux::TextureLayer, nux::CompositionLayer, nux::SliceScaledTextureLayer, nux::ShapeLayer, and nux::ColorLayer.

Here is the caller graph for this function:

Definition at line 22 of file AbstractPaintLayer.cpp.

  {
    return geometry_;
  }

Here is the caller graph for this function:

Definition at line 32 of file AbstractPaintLayer.cpp.

  {
    return model_view_matrix_;
  }

Here is the caller graph for this function:

virtual void nux::AbstractPaintLayer::Renderlayer ( GraphicsEngine graphics_engine) [pure virtual]

Implemented in nux::TextureLayer, nux::CompositionLayer, nux::SliceScaledTextureLayer, nux::ShapeLayer, and nux::ColorLayer.

Here is the caller graph for this function:

void nux::AbstractPaintLayer::SetGeometry ( const Geometry geo) [virtual]

Definition at line 17 of file AbstractPaintLayer.cpp.

  {
    geometry_ = geo;
  }

Here is the caller graph for this function:

Preserve the model view matrix at the moment layer is pushed on the paint layer stack. See Painter class.

Definition at line 27 of file AbstractPaintLayer.cpp.

  {
    model_view_matrix_ = mat;
  }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 59 of file AbstractPaintLayer.h.

Definition at line 60 of file AbstractPaintLayer.h.


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