*
* @remarks Supplies different types of bounding volume, default is AABB
*/
- BoundingVolume();
+ BoundingVolume(void);
/**
* This is the destructor for this class.
*
* @return center point of BoundingVolume
*/
- Tizen::Graphics::FloatPoint3 GetCenter() const;
+ Tizen::Graphics::FloatPoint3 GetCenter(void) const;
/**
* Returns vector, specifying half size of this _BoundingVolumeImpl
*
* @return vector of 3 coordinates, specifying half size of this _BoundingVolumeImpl
*/
- Tizen::Graphics::FloatPoint3 GetHalfSize() const;
+ Tizen::Graphics::FloatPoint3 GetHalfSize(void) const;
/**
* Gets minimum and maximum point of AABB bounding volume
*
* @remarks Clear all parameters except type of BoundingVolumeType
*/
- void Reset();
+ void Reset(void);
/**
* Checks is supplied volume twice less then this
*
* @return bounding volume state as in BoundingVolumeState
*/
- BoundingVolumeState GetState() const;
+ BoundingVolumeState GetState(void) const;
/**
* Get the bounding volume type
*
* @return bounding volume type as in BoundingVolumeType
*/
- BoundingVolumeType GetType() const;
+ BoundingVolumeType GetType(void) const;
/**
* Set the bounding volume type
class _OSP_EXPORT_ Mesh : public Tizen::Base::Object
{
public:
- Mesh();
+ Mesh(void);
Mesh(const Mesh& mesh); // not deep copy
- virtual ~Mesh();
+ virtual ~Mesh(void);
public:
enum GeometryType
* @see SetVertex()
* @see GetVertex()
*/
- int GetVertexCount() const;
+ int GetVertexCount(void) const;
/**
* @see SetIndex()
* @see GetIndex()
*/
- int GetIndexCount() const;
+ int GetIndexCount(void) const;
/**
* @remarks The specific error code can be accessed using the GetLastResult() method.
* @see SetIndex()
*/
- GeometryType GetGeometryType() const;
+ GeometryType GetGeometryType(void) const;
/**
* @since 3.0
*
*/
- void Clear();
+ void Clear(void);
/**
* Get bounding volume of this mesh instance.
*
* @exception E_SUCCESS The method is successful.
* @see BoundingVolume
*/
- BoundingVolume& GetBoundingVolume();
+ BoundingVolume& GetBoundingVolume(void);
-// Tizen::Graphics::FloatPoint3 GetBoundingBoxPosition() const;
-// float GetBoundingBoxLength() const;
-// float GetBoundingBoxWidth() const;
-// float GetBoundingBoxHeight() const;
+// Tizen::Graphics::FloatPoint3 GetBoundingBoxPosition(void) const;
+// float GetBoundingBoxLength(void) const;
+// float GetBoundingBoxWidth(void) const;
+// float GetBoundingBoxHeight(void) const;
// 임시 함수
result ReserveVertices(int count);
result ReserveIndices(int count);
- result ReserveTextureCoordinates();
- result ReserveNormals();
- result ReserveColors();
+ result ReserveTextureCoordinates(void);
+ result ReserveNormals(void);
+ result ReserveColors(void);
result SaveMeshToBin(const Tizen::Base::String& fileName);
- bool IsIndexEnabled() const;
- bool IsTextureCoordinateEnabled() const;
- bool IsColorEnabled() const;
- bool IsNormalEnabled() const;
+ bool IsIndexEnabled(void) const;
+ bool IsTextureCoordinateEnabled(void) const;
+ bool IsColorEnabled(void) const;
+ bool IsNormalEnabled(void) const;
void SetName(Tizen::Base::String name);
- Tizen::Base::String GetName() const;
+ Tizen::Base::String GetName(void) const;
MeshController* GetMeshController(void);
Scene(void);
virtual ~Scene(void);
- result Construct();
+ result Construct(void);
/**
* Returns pointer to the root element of the scene tree
* @remarks Bounding volume automatically adjusts when call SetMesh(), AttachChild() DeattachCild() and InsertChild() methods of VisualElement
* @see GetBoundingVolume()
*/
- result AdjustBoundingVolume();
+ result AdjustBoundingVolume(void);
/**
* Get %VisualElement's BoundingVolume, Bounding Volume that build merging Visual Element mesh and children Bounding Volumes
*
* @return BoundingVolume reference
* @see AdjustBoundingVolume()
*/
- BoundingVolume& GetBoundingVolume();
+ BoundingVolume& GetBoundingVolume(void);
/**
* Build list of intersected VisualElements in the intersection order, starting from nearest
*
"Not yet constructed. Construct() should be called before use.");
return __pShaderProgramImpl->SetProperty(name, value);
-
-
}
Variant
/**
* Default constructor for %_AnimationBaseImpl class.
*/
- _AnimationBaseImpl();
+ _AnimationBaseImpl(void);
/**
* Destructor for %_AnimationBaseImpl class.
{
public:
- _CameraImpl();
+ _CameraImpl(void);
_CameraImpl(const _CameraImpl& rhs);
- virtual ~_CameraImpl();
+ virtual ~_CameraImpl(void);
static _CameraImpl* GetInstance(Camera& rhs);
static const _CameraImpl* GetInstance(const Camera& rhs);
void AddWakeUpEvent(void);
void RemoveWakeUpEvent(void);
- bool HasUpdates() const;
+ bool HasUpdates(void) const;
bool RenderAll(bool modelObject);
// bool Render(_RootVisualElement& root, bool checkOnly, bool isMainThread);
result PostRender(_NativeLayer& layer, bool isMainThread);
_JointImpl* GetChildAt(unsigned int i);
void SetInvertBindMatrix(const _Math::Matrix4& matrix);
- _Math::Matrix4 GetInvertBindMatrix() const;
- _Math::Matrix4 GetGlobal() const;
+ _Math::Matrix4 GetInvertBindMatrix(void) const;
+ _Math::Matrix4 GetGlobal(void) const;
void AddKeyFrame(float time, const _Math::Matrix4& value);
* @return Light type.
* @see SetLightType().
*/
- Light::LightType GetType() const;
+ Light::LightType GetType(void) const;
/**
* Sets light ambient color.
result SetJointWeight(unsigned int vertexIndex, const std::string& jointName, float weightValue);
- result Construct();
+ result Construct(void);
- result Calculate();
- _JointImpl* GetRoot();
+ result Calculate(void);
+ _JointImpl* GetRoot(void);
- result ResetMesh(); //Set mesh vertices to initial positions
+ result ResetMesh(void); //Set mesh vertices to initial positions
//animation methods
result SetAnimationDuration(float milliseconds);
//for renderer
void SetGPUSkinning(bool value);
- bool IsGpuSkinning();
- unsigned int GetJointsCount();
- const float* GetMatricesPointer();
- const float* GetIdsPointer();
- const float* GetWeightsPointer();
+ bool IsGpuSkinning(void);
+ unsigned int GetJointsCount(void);
+ const float* GetMatricesPointer(void);
+ const float* GetIdsPointer(void);
+ const float* GetWeightsPointer(void);
private:
_MeshControllerImpl(void);
class _OSP_EXPORT_ Geo
{
public:
- Geo();
- virtual ~Geo();
+ Geo(void);
+ virtual ~Geo(void);
void SetNext(Geo* pGeo);
- Geo* GetNext() const;
+ Geo* GetNext(void) const;
Mesh* GetFrameN(int index) const;
void AddFrame(Mesh* pMesh);
- void Clear();
+ void Clear(void);
private:
Tizen::Base::Collection::ArrayListT<Mesh*> __meshList;
UV_V_REVERSE = 0x2
};
- _MeshImportSample();
- virtual ~_MeshImportSample();
+ _MeshImportSample(void);
+ virtual ~_MeshImportSample(void);
bool Load(char* filename);
bool Load(Tizen::Base::String& fileName);
static result DestroyNativeWindow(_NativeWindow* pWindow);
// for Native Window System APIs
- static Handle GetDisplay();
- static bool WindowSystemInit();
- static bool WindowSystemDestroy();
+ static Handle GetDisplay(void);
+ static bool WindowSystemInit(void);
+ static bool WindowSystemDestroy(void);
public:
result SetBounds(const Tizen::Graphics::FloatRectangle& bounds);
- Tizen::Graphics::FloatRectangle GetBounds() const;
+ Tizen::Graphics::FloatRectangle GetBounds(void) const;
result SetShowState(bool show);
- bool GetShowState() const;
+ bool GetShowState(void) const;
result SetOpacity(float opacity);
- float GetOpacity() const;
+ float GetOpacity(void) const;
bool IsMapped(void) const {return __isMapped;}
- Handle GetHandle() const;
+ Handle GetHandle(void) const;
protected:
virtual Handle OnConstructing() = 0;
virtual void OnOpacityChanging(float newOpacity) = 0;
protected:
- _NativeWindow();
- virtual ~_NativeWindow();
+ _NativeWindow(void);
+ virtual ~_NativeWindow(void);
- result Construct();
- result Destroy();
+ result Construct(void);
+ result Destroy(void);
private:
_NativeWindow& operator =(const _NativeWindow& rhs);
class _Plane
{
public:
- _Plane();
+ _Plane(void);
//_Plane(float a,float b, float c, float d);
_Plane(const Tizen::Graphics::FloatPoint3& v1, const Tizen::Graphics::FloatPoint3& v2, const Tizen::Graphics::FloatPoint3& v3);
_Plane(const Tizen::Ui::Animations::_Plane& other);
PlaneIntersectionResult Intersect(Tizen::Ui::Animations::Mesh* pMesh) const;
float GetDistance(Tizen::Graphics::FloatPoint3& v) const; //distance to point
- Tizen::Graphics::FloatPoint3 GetNormal() const; //distance to point
+ Tizen::Graphics::FloatPoint3 GetNormal(void) const; //distance to point
result Transform(const Tizen::Graphics::FloatMatrix4& transformMatrix);
class _Selection
{
public:
- _Selection();
+ _Selection(void);
_Selection(_Plane& plane1,_Plane& plane2,_Plane& plane3,_Plane& plane4);
- ~_Selection();
+ ~_Selection(void);
_Selection& operator = (const _Selection& rhs);
result Set(_Plane& plane1, _Plane& plane2, _Plane& plane3, _Plane& plane4);
* @param position point of ray start
* @param direction direction of ray
*/
- _Ray();
+ _Ray(void);
_Ray(const _Math::Vector3& position, const _Math::Vector3& direction);
_Ray& Set(const _Ray& rhs);
_Ray& Set(const _Math::Vector3& position, const _Math::Vector3& direction);
- void print();
+ void print(void);
_Ray& MakeRayLocal(const _Ray globalRay, const Tizen::Graphics::FloatMatrix4& toTop);
_Ray& MakeRayGlobal(const _VisualElementImpl* pVEImpl, Tizen::Graphics::FloatPoint point);
class _View : public RefObject
{
public:
- _View();
+ _View(void);
void SetCamera(const Camera* pCamera);
Camera* GetCameraN(void) const;
typedef std::set<LIBSFORPARSING> LibsForParsing;
- ColladaAssets();
+ ColladaAssets(void);
virtual ~ColladaAssets(void);
result Construct(const std::string& fileName, LibsForParsing libsForParsing);
NewParam* GetParamBySid(std::string sid);
- std::string GetDiffuseImageId();
+ std::string GetDiffuseImageId(void);
- _Math::ColorEx GetAmbient();
- _Math::ColorEx GetDiffuse();
- _Math::ColorEx GetEmissive();
- _Math::ColorEx GetSpecular();
- float GetShininess();
+ _Math::ColorEx GetAmbient(void);
+ _Math::ColorEx GetDiffuse(void);
+ _Math::ColorEx GetEmissive(void);
+ _Math::ColorEx GetSpecular(void);
+ float GetShininess(void);
public:
enum ShaderType {NONE, PHONG, LAMBERT, BLINN, CONSTANT};
virtual ~GeometryMesh(void);
unsigned int GetVertexCount(void);
- _Math::Vector3* GetPointerToVertices();
- _Math::Vector3* GetPointerToNormals();
- _Math::Vector2* GetPointerToTextureCoordinates();
+ _Math::Vector3* GetPointerToVertices(void);
+ _Math::Vector3* GetPointerToNormals(void);
+ _Math::Vector2* GetPointerToTextureCoordinates(void);
typedef std::vector<unsigned short> Indexes;
};
typedef std::vector<SurfaceInds*> SurfacesInds;
SurfaceInds* GetSurfaceInds(unsigned int index);
- unsigned int GetSurfaceCount();
+ unsigned int GetSurfaceCount(void);
private:
void ParseVerticesNormalsTexcoords(const xmlNodePtr root);
virtual ~Matrix(void);
virtual void SetData(const std::string& param, const float* value);
- virtual _Math::Matrix4 BakeMatrix();
+ virtual _Math::Matrix4 BakeMatrix(void);
virtual void Reset(void);
private:
_Math::Matrix4 GetLocalMatrix(void);
Node* FindNode(std::string nodeName);
- unsigned int GetInstancesCount();
+ unsigned int GetInstancesCount(void);
Instance* GetInstanceByIndex(unsigned int index);
private:
virtual _Math::Matrix4 BakeMatrix(void) = 0;
virtual void Reset(void) = 0;
- const std::string& GetSid();
+ const std::string& GetSid(void);
private:
std::string __sid;
class _Win32Window : public _NativeWindow
{
public:
- _Win32Window();
+ _Win32Window(void);
_Win32Window(Handle windowHandle);
- virtual ~_Win32Window();
+ virtual ~_Win32Window(void);
protected:
- virtual Handle OnConstructing();
- virtual void OnDestructing();
+ virtual Handle OnConstructing(void);
+ virtual void OnDestructing(void);
virtual void OnBoundsChanging(const Tizen::Graphics::FloatRectangle& newBounds);
virtual void OnShowStateChanging(bool newShowState);
virtual void OnOpacityChanging(float newOpacity);
class _X11Window : public _NativeWindow
{
public:
- static Handle X11WindowSystemGetDisplay();
- static bool X11WindowSystemInit();
- static bool X11WindowSystemDestroy();
+ static Handle X11WindowSystemGetDisplay(void);
+ static bool X11WindowSystemInit(void);
+ static bool X11WindowSystemDestroy(void);
public:
- _X11Window();
- virtual ~_X11Window();
+ _X11Window(void);
+ virtual ~_X11Window(void);
bool GetWindowShowState(void) const;
Tizen::Graphics::FloatRectangle GetWindowGeometry(void) const;
protected:
- virtual Handle OnConstructing();
- virtual void OnDestructing();
+ virtual Handle OnConstructing(void);
+ virtual void OnDestructing(void);
virtual void OnBoundsChanging(const Tizen::Graphics::FloatRectangle& newBounds);
virtual void OnShowStateChanging(bool newShowState);
virtual void OnOpacityChanging(float newOpacity);
/**
* Constructs _BoundingVolumeImpl with empty state
*/
- _BoundingVolumeImpl();
+ _BoundingVolumeImpl(void);
/**
* Destroys _BoundingVolumeImpl with empty state
*/
- ~_BoundingVolumeImpl();
+ ~_BoundingVolumeImpl(void);
_BoundingVolumeImpl(const _BoundingVolumeImpl& boundingVolumeImpl);
*
* @return center point of _BoundingVolumeImpl
*/
- _Math::Vector3 GetCenter() const;
+ _Math::Vector3 GetCenter(void) const;
/**
* Returns vector, specifying half size of this _BoundingVolumeImpl
*
* @return vector, specifying half size of this _BoundingVolumeImpl
*/
- _Math::Vector3 GetHalfSize() const;
+ _Math::Vector3 GetHalfSize(void) const;
/**
* Adds volume of specified box to this _BoundingVolumeImpl
/**
* Returns this _BoundingVolumeImpl to empty state
*/
- void Reset();
+ void Reset(void);
/**
* Checks is supplied box twice less then this
*
* @return bounding volume state as in BoundingVolumeState
*/
- BoundingVolumeState GetState() const;
+ BoundingVolumeState GetState(void) const;
/**
* Get the bounding volume type _BoundingVolumeImpl
*
* @return bounding volume type as in BoundingVolumeType
*/
- BoundingVolumeType GetType() const;
+ BoundingVolumeType GetType(void) const;
/**
* Set the bounding volume type _BoundingVolumeImpl
bool operator ==(const _BoundingVolumeImpl& rhs) const;
bool operator !=(const _BoundingVolumeImpl& rhs) const;
bool Equals(const Tizen::Base::Object& obj) const;
- int GetHashCode() const;
+ int GetHashCode(void) const;
- void print() const;
+ void print(void) const;
private:
/**
class _GeometryInfo
{
public:
- _GeometryInfo();
- virtual ~_GeometryInfo();
+ _GeometryInfo(void);
+ virtual ~_GeometryInfo(void);
result SetProperty(const Tizen::Base::String& property, const Variant& value);
Variant GetProperty(const Tizen::Base::String& property) const;
void SetMesh(Mesh* pMesh);
- Mesh* GetMesh() const;
+ Mesh* GetMesh(void) const;
void SetMaterial(Material* pMaterial);
- Material* GetMaterial() const;
+ Material* GetMaterial(void) const;
void SetLight(Light* pLight);
- Light* GetLight() const;
+ Light* GetLight(void) const;
result SetShaderProgram(ShaderProgram* pShaderProgram);
ShaderProgram* GetShaderProgram(void);
bool AddRawEventProducer(int fd, _IRawEventProducer* pProducer, _IRawEventMonitor* pMonitor = null);
bool RemoveRawEventProducer(int fd);
- void AddWakeupEvent();
+ void AddWakeupEvent(void);
bool AddRawEventHandler(_IRawEventHandler* pRawEventHandler);
bool RemoveRawEventHandler(_IRawEventHandler* pRawEventHandler);
void Clear(void);
result AdjustBoundingVolume(bool rebuild);
- BoundingVolume& GetBoundingVolume();
-// Tizen::Graphics::FloatPoint3 GetBoundingBoxPosition() const;
-// float GetBoundingBoxVolume() const;
-// float GetBoundingBoxWidth() const;
-// float GetBoundingBoxHeight() const;
+ BoundingVolume& GetBoundingVolume(void);
+// Tizen::Graphics::FloatPoint3 GetBoundingBoxPosition(void) const;
+// float GetBoundingBoxVolume(void) const;
+// float GetBoundingBoxWidth(void) const;
+// float GetBoundingBoxHeight(void) const;
// 임시 함수
result AllocVertices(int count);
return (__pNormals)?true:false;
}
-
-
void SetName(std::string name)
{
__name = name;
_SceneImpl(void);
virtual ~_SceneImpl(void);
- result Construct();
+ result Construct(void);
VisualElement* GetRootVisualElement(void) const;