Image_3D
[ class tree: Image_3D ] [ index: Image_3D ] [ all elements ]

Class: Image_3D_Renderer_Perspectively

Source Location: /Image_3D-0.4.2/Image/3D/Renderer/Perspectively.php

Class Overview

Image_3D_Renderer
   |
   --Image_3D_Renderer_Perspectively

Image_3D_Renderer_Perspectively


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 1997-2005 Kore Nordmann

Methods


Inherited Variables

Inherited Methods

Class: Image_3D_Renderer

Image_3D_Renderer::__construct()
Constructor for Image_3D_Renderer
Image_3D_Renderer::addLights()
Add objects to renderer
Image_3D_Renderer::addObjects()
Add objects to renderer
Image_3D_Renderer::getLightCount()
Return light count
Image_3D_Renderer::getPointCount()
Return point count
Image_3D_Renderer::getPolygonCount()
Return polygon count
Image_3D_Renderer::render()
Render the image
Image_3D_Renderer::reset()
Reset all changeable variables
Image_3D_Renderer::setBackgroundColor()
Set the Backgroundcolor
Image_3D_Renderer::setDriver()
Set the driver
Image_3D_Renderer::setShading()
Set the quality of the shading
Image_3D_Renderer::setSize()
Set image size
Image_3D_Renderer::_calculatePointColors()
Calculate the colors of all points
Image_3D_Renderer::_calculatePolygonColors()
Calculate the color of all polygones
Image_3D_Renderer::_calculateScreenCoordiantes()
Caclulate Screen Coordinates
Image_3D_Renderer::_getPolygones()
Get and merge polygones
Image_3D_Renderer::_shade()
Draw all polygones
Image_3D_Renderer::_sortPolygones()
Sort polygones

Class Details

[line 49]
Image_3D_Renderer_Perspectively


[ Top ]


Method Detail

_calculateScreenCoordiantes   [line 63]

void _calculateScreenCoordiantes( Image_3D_Point $point)

Caclulate Screen Coordinates

Calculate perspectively screen coordinates for a point

  • Access: protected

Overrides Image_3D_Renderer::_calculateScreenCoordiantes() (Caclulate Screen Coordinates)

Parameters:

Image_3D_Point   $point   —  Point to process

[ Top ]

_sortPolygones   [line 82]

void _sortPolygones( )

Sort polygones

Sort the polygones depending on their medium depth

  • Access: protected

Overrides Image_3D_Renderer::_sortPolygones() (Sort polygones)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:48:14 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.