coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

Cone Class Reference

A Cone is a solid object which can be described with its center and radius at each end. More...

#include <Cone.h>

Inheritance diagram for Cone

Inheritance graph
[legend]
Collaboration diagram for Cone:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { PROPERTY_CENTER1 = 0x0300, PROPERTY_RADIUS1 = 0x0301, PROPERTY_CENTER2 = 0x0302, PROPERTY_RADIUS2 = 0x0303 }

Public Methods

 DECLARE_CLASS (Cone,Primitive)
 Cone ()
virtual ~Cone ()
virtual void setProperty (int nProperty,const Variant &value)
virtual void getProperty (int nProperty,Variant &vValue)const
virtual void initRender (Scene *pScene)
Matrix4 getCustomMatrix ()
virtual bool intersect (Ray *ray,IntersectionList *intersectionList)
virtual Vector3 getNormalVector (Intersection *intersection)
virtual bool getBounds (Bounds &bounds)const

Public Attributes

double radius1
double radius2
Vector3 center1
Vector3 center2

Friends

class  IntersectionCone

Detailed Description

A Cone is a solid object which can be described with its center and radius at each end.


The documentation for this class was generated from the following file:
  • Cone.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: