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

Class: Image_3D_Renderer_Raytrace

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

Class Overview

Image_3D_Renderer
   |
   --Image_3D_Renderer_Raytrace

Image_3D_Renderer_Raytrace


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 1997-2005 Kore Nordmann

Variables

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_Raytrace


[ Top ]


Class Variables

$_camera =

[line 54]

  • Access: protected

Type:   mixed


[ Top ]

$_depth =

[line 57]

  • Access: protected

Type:   mixed


[ Top ]

$_image =

[line 52]

  • Access: protected

Type:   mixed


[ Top ]

$_rays =

[line 56]

  • Access: protected

Type:   mixed


[ Top ]

$_shadows =

[line 55]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 59]

Image_3D_Renderer_Raytrace __construct( )

  • Access: public

Overrides Image_3D_Renderer::__construct() (Constructor for Image_3D_Renderer)
[ Top ]

enableShadows   [line 142]

void enableShadows( $shadows)

  • Access: public

Parameters:

   $shadows     

[ Top ]

render   [line 358]

void render( string $file)

Render the image

Render the image into the metioned file

  • Access: public

Overrides Image_3D_Renderer::render() (Render the image)

Parameters:

string   $file     Filename

[ Top ]

scanDepth   [line 137]

void scanDepth( $depth)

  • Access: public

Parameters:

   $depth     

[ Top ]

setCameraPosition   [line 127]

void setCameraPosition( Image_3D_Coordinate $position)

  • Access: public

Parameters:

Image_3D_Coordinate   $position     

[ Top ]

setDriver   [line 122]

void setDriver( )

Set the driver

Does not do anything

  • Access: public

Overrides Image_3D_Renderer::setDriver() (Set the driver)
[ Top ]

setRaysPerPixel   [line 132]

void setRaysPerPixel( $rays)

  • Access: public

Parameters:

   $rays     

[ Top ]

setShading   [line 108]

void setShading( )

Set the quality of the shading

Does not do anything

  • Access: public

Overrides Image_3D_Renderer::setShading() (Set the quality of the shading)
[ Top ]

_calculateScreenCoordiantes   [line 80]

void _calculateScreenCoordiantes( Image_3D_Point $point)

Caclulate Screen Coordinates

Does not do anything

  • Access: protected

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

Parameters:

Image_3D_Point   $point     Point to process

[ Top ]

_getColor   [line 319]

void _getColor( Image_3D_Color $color)

  • Access: protected

Parameters:

Image_3D_Color   $color     

[ Top ]

_raytrace   [line 279]

void _raytrace( )

  • Access: protected

[ Top ]

_sendRay   [line 147]

void _sendRay( Image_3D_Line $ray, $depth)

  • Access: protected

Parameters:

Image_3D_Line   $ray     
   $depth     

[ Top ]

_sortPolygones   [line 94]

void _sortPolygones( )

Sort polygones

Does not do anything

  • Access: protected

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


Documentation generated on Sun, 08 Apr 2012 13:30:15 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.