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

Class: Image_3D_Point

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

Class Overview

Image_3D_Coordinate
   |
   --Image_3D_Point

Image_3D_Point


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 1997-2005 Kore Nordmann

Variables

Methods


Inherited Variables

Inherited Methods

Class: Image_3D_Coordinate

Image_3D_Coordinate::__construct()
Constructor for Image_3D_Coordinate
Image_3D_Coordinate::getScreenCoordinates()
Get screen coordinates
Image_3D_Coordinate::getX()
Return X coordinate
Image_3D_Coordinate::getY()
Return Y coordinate
Image_3D_Coordinate::getZ()
Return Z coordinate
Image_3D_Coordinate::isProcessed()
Coordinate already processed
Image_3D_Coordinate::processed()
Set Coordinate processed
Image_3D_Coordinate::setScreenCoordinates()
Set precalculated screen coordinates
Image_3D_Coordinate::transform()
Transform the Coordinate
Image_3D_Coordinate::__toString()
Returns coordinate as string

Class Details

[line 48]
Image_3D_Point


[ Top ]


Class Variables

$_color =

[line 61]

  • Access: protected

Type:   mixed


[ Top ]

$_colors =

[line 60]

  • Access: protected

Type:   mixed


[ Top ]

$_lastTransformation =

[line 52]

  • Access: protected

Type:   mixed
Overrides:   Array


[ Top ]

$_normale =

[line 57]

  • Access: protected

Type:   mixed


[ Top ]

$_option =

[line 50]

  • Access: protected

Type:   mixed


[ Top ]

$_processed =

[line 55]

  • Access: protected

Type:   mixed
Overrides:   Array


[ Top ]

$_screenCoordinates =

[line 53]

  • Access: protected

Type:   mixed
Overrides:   Array


[ Top ]

$_vectors =

[line 58]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 63]

Image_3D_Point __construct( $x, $y, $z)

  • Access: public

Overrides Image_3D_Coordinate::__construct() (Constructor for Image_3D_Coordinate)

Parameters:

   $x     
   $y     
   $z     

[ Top ]

addColor   [line 113]

void addColor( Image_3D_Color $color)

  • Access: public

Parameters:

Image_3D_Color   $color     

[ Top ]

addVector   [line 92]

void addVector( Image_3D_Vector $vector)

  • Access: public

Parameters:

Image_3D_Vector   $vector     

[ Top ]

calculateColor   [line 82]

void calculateColor( $lights)

  • Access: public

Parameters:

   $lights     

[ Top ]

getColor   [line 133]

void getColor( )

  • Access: public

[ Top ]

getNormale   [line 104]

void getNormale( )

  • Access: public

[ Top ]

getPosition   [line 109]

void getPosition( )

  • Access: public

[ Top ]

setOption   [line 77]

void setOption( $option, $value)

  • Access: public

Parameters:

   $option     
   $value     

[ Top ]

_calcNormale   [line 97]

void _calcNormale( )

  • Access: protected

[ Top ]

_mixColors   [line 118]

void _mixColors( )

  • Access: protected

[ Top ]

__toString   [line 138]

void __toString( )

  • Access: public

Overrides Image_3D_Coordinate::__toString() (Returns coordinate as string)
[ Top ]


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