Tizen Native API  4.0

Model3dView is a control for displaying 3d geometry. More...

Inheritance diagram for Dali::Toolkit::Model3dView:
Dali::Toolkit::Control Dali::CustomActor Dali::Actor Dali::Handle Dali::BaseHandle

Classes

struct  Property
 Enumeration for the instance of properties belonging to the TextLabel class. More...

Public Types

enum  PropertyRange
 Enumeration for the start and end property ranges for this control. More...
enum  IlluminationType
 Enumeration for the type of illumination. More...

Public Member Functions

 Model3dView ()
 Creates an uninitialized Model3dView.
 ~Model3dView ()
 Destructor.
 Model3dView (const Model3dView &model3dView)
 Copy constructor.
Model3dViewoperator= (const Model3dView &model3dView)
 Assignment operator.

Static Public Member Functions

static Model3dView New ()
 Creates a new instance of a Model3dView control.
static Model3dView New (const std::string &objUrl, const std::string &mtlUrl, const std::string &imagesUrl)
 Creates a new instance of a Model3dView control.
static Model3dView DownCast (BaseHandle handle)
 Downcasts an Object handle to Model3dView.

Detailed Description

Model3dView is a control for displaying 3d geometry.

All the geometry loaded with the control is automatically centered and scaled to fit the size of all the other controls. So the max is (0.5,0.5) and the min is (-0.5,-0.5).

Since:
3.0, DALi version 1.1.4

Member Enumeration Documentation

Enumeration for the type of illumination.

Since:
3.0, DALi version 1.1.4
Enumerator:
DIFFUSE 

diffuse

Since:
3.0, DALi version 1.1.4
DIFFUSE_WITH_TEXTURE 

diffuse with texture

Since:
3.0, DALi version 1.1.4
DIFFUSE_WITH_NORMAL_MAP 

diffuse with normal map

Since:
3.0, DALi version 1.1.4

Enumeration for the start and end property ranges for this control.

Since:
3.0, DALi version 1.1.4
Enumerator:
PROPERTY_START_INDEX 
Since:
3.0, DALi version 1.1.4
PROPERTY_END_INDEX 

Reserve property indices.

Since:
3.0, DALi version 1.1.4
ANIMATABLE_PROPERTY_START_INDEX 
Since:
3.0, DALi version 1.1.4
ANIMATABLE_PROPERTY_END_INDEX 

Reserve animatable property indices.

Since:
3.0, DALi version 1.1.4

Reimplemented from Dali::Toolkit::Control.


Constructor & Destructor Documentation

Creates an uninitialized Model3dView.

Only derived versions can be instantiated. Calling member functions with an uninitialized Dali::Object is not allowed.

Since:
3.0, DALi version 1.1.4

Destructor.

This is non-virtual since derived Handle types must not contain data or virtual methods.

Since:
3.0, DALi version 1.1.4

Copy constructor.

Since:
3.0, DALi version 1.1.4
Parameters:
[in]model3dViewHandle to an object

Member Function Documentation

Downcasts an Object handle to Model3dView.

If handle points to a Model3dView, the downcast produces valid handle. If not, the returned handle is left uninitialized.

Since:
3.0, DALi version 1.1.4
Parameters:
[in]handleHandle to an object
Returns:
Handle to a Model3dView or an uninitialized handle

Reimplemented from Dali::Toolkit::Control.

Creates a new instance of a Model3dView control.

Since:
3.0, DALi version 1.1.4
Returns:
A handle to the new Model3dView control

Reimplemented from Dali::Toolkit::Control.

static Model3dView Dali::Toolkit::Model3dView::New ( const std::string &  objUrl,
const std::string &  mtlUrl,
const std::string &  imagesUrl 
) [static]

Creates a new instance of a Model3dView control.

Since:
3.0, DALi version 1.1.4
Parameters:
[in]objUrlThe path to the geometry file
[in]mtlUrlThe path to the material file
[in]imagesUrlThe path to the images directory
Returns:
A handle to the new Model3dView control
Model3dView& Dali::Toolkit::Model3dView::operator= ( const Model3dView model3dView)

Assignment operator.

Since:
3.0, DALi version 1.1.4
Parameters:
[in]model3dViewHandle to an object
Returns:
reference to this