Blender V2.61 - r43446
Public Member Functions | Public Attributes

BlenderSession Class Reference

#include <blender_session.h>

List of all members.

Public Member Functions

 BlenderSession (BL::RenderEngine b_engine, BL::UserPreferences b_userpref, BL::BlendData b_data, BL::Scene b_scene)
 BlenderSession (BL::RenderEngine b_engine, BL::UserPreferences b_userpref, BL::BlendData b_data, BL::Scene b_scene, BL::SpaceView3D b_v3d, BL::RegionView3D b_rv3d, int width, int height)
 ~BlenderSession ()
void create_session ()
void free_session ()
void render ()
void write_render_result ()
void synchronize ()
bool draw (int w, int h)
void tag_redraw ()
void tag_update ()
void get_status (string &status, string &substatus)
void get_progress (float &progress, double &total_time)
void test_cancel ()
void update_status_progress ()

Public Attributes

bool background
Sessionsession
Scenescene
BlenderSyncsync
double last_redraw_time
BL::RenderEngine b_engine
BL::UserPreferences b_userpref
BL::BlendData b_data
BL::Scene b_scene
BL::SpaceView3D b_v3d
BL::RegionView3D b_rv3d
BL::RenderResult b_rr
BL::RenderLayer b_rlay
string last_status
float last_progress
int width
int height

Detailed Description

Definition at line 33 of file blender_session.h.


Constructor & Destructor Documentation

CCL_NAMESPACE_BEGIN BlenderSession::BlenderSession ( BL::RenderEngine  b_engine,
BL::UserPreferences  b_userpref,
BL::BlendData  b_data,
BL::Scene  b_scene 
)

Definition at line 42 of file blender_session.cpp.

References b_scene, background, create_session(), height, last_redraw_time, and width.

BlenderSession::BlenderSession ( BL::RenderEngine  b_engine,
BL::UserPreferences  b_userpref,
BL::BlendData  b_data,
BL::Scene  b_scene,
BL::SpaceView3D  b_v3d,
BL::RegionView3D  b_rv3d,
int  width,
int  height 
)
BlenderSession::~BlenderSession ( )

Definition at line 75 of file blender_session.cpp.

References free_session().


Member Function Documentation

void BlenderSession::create_session ( )
bool BlenderSession::draw ( int  w,
int  h 
)
void BlenderSession::free_session ( )

Definition at line 113 of file blender_session.cpp.

References session, and sync.

Referenced by synchronize(), and ~BlenderSession().

void BlenderSession::get_progress ( float &  progress,
double &  total_time 
)
void BlenderSession::get_status ( string &  status,
string &  substatus 
)

Definition at line 280 of file blender_session.cpp.

References Session::progress, and session.

Referenced by update_status_progress().

void BlenderSession::render ( )
void BlenderSession::synchronize ( )
void BlenderSession::tag_redraw ( )
void BlenderSession::tag_update ( )

Definition at line 320 of file blender_session.cpp.

References b_engine, and engine_tag_update().

Referenced by draw(), and synchronize().

void BlenderSession::test_cancel ( )

Definition at line 346 of file blender_session.cpp.

References b_engine, background, Session::progress, RE_engine_test_break(), and session.

Referenced by create_session().

void BlenderSession::update_status_progress ( )
void BlenderSession::write_render_result ( )

Member Data Documentation

BL::BlendData BlenderSession::b_data

Definition at line 71 of file blender_session.h.

Referenced by create_session().

Definition at line 76 of file blender_session.h.

Referenced by render(), and write_render_result().

Definition at line 75 of file blender_session.h.

Referenced by render(), and write_render_result().

Definition at line 74 of file blender_session.h.

Referenced by create_session(), draw(), render(), and synchronize().

Definition at line 72 of file blender_session.h.

Referenced by BlenderSession(), create_session(), draw(), render(), and synchronize().

BL::UserPreferences BlenderSession::b_userpref

Definition at line 70 of file blender_session.h.

Referenced by create_session(), draw(), and synchronize().

BL::SpaceView3D BlenderSession::b_v3d

Definition at line 73 of file blender_session.h.

Referenced by create_session(), draw(), render(), and synchronize().

Definition at line 81 of file blender_session.h.

Referenced by BlenderSession(), create_session(), draw(), render(), and synchronize().

Definition at line 79 of file blender_session.h.

Referenced by create_session(), and update_status_progress().

Definition at line 67 of file blender_session.h.

Referenced by BlenderSession(), and tag_redraw().

Definition at line 78 of file blender_session.h.

Referenced by create_session(), and update_status_progress().

Definition at line 65 of file blender_session.h.

Referenced by create_session(), draw(), synchronize(), and write_render_result().

Definition at line 66 of file blender_session.h.

Referenced by create_session(), draw(), free_session(), render(), and synchronize().

Definition at line 81 of file blender_session.h.

Referenced by BlenderSession(), create_func(), create_session(), draw(), render(), and synchronize().


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