VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkCone Class Reference

implicit function for a cone More...

#include <vtkCone.h>

Inherits vtkImplicitFunction.

Public Types

typedef vtkImplicitFunction Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkConeNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void EvaluateGradient (double x[3], double g[3])
 
double EvaluateFunction (double x[3])
 
double EvaluateFunction (double x, double y, double z)
 
virtual void SetAngle (double)
 
virtual double GetAngle ()
 

Static Public Member Functions

static vtkConeNew ()
 
static int IsTypeOf (const char *type)
 
static vtkConeSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkCone ()
 
 ~vtkCone ()
 

Protected Attributes

double Angle
 

Detailed Description

implicit function for a cone

vtkCone computes the implicit function and function gradient for a cone. vtkCone is a concrete implementation of vtkImplicitFunction. The cone vertex is located at the origin with axis of rotation coincident with x-axis. (Use the superclass' vtkImplicitFunction transformation matrix if necessary to reposition.) The angle specifies the angle between the axis of rotation and the side of the cone.

Warning
The cone is infinite in extent. To truncate the cone use the vtkImplicitBoolean in combination with clipping planes.
Examples:
vtkCone (Examples)
Tests:
vtkCone (Tests)

Definition at line 42 of file vtkCone.h.

Member Typedef Documentation

typedef vtkImplicitFunction vtkCone::Superclass

Definition at line 48 of file vtkCone.h.

Constructor & Destructor Documentation

vtkCone::vtkCone ( )
protected
vtkCone::~vtkCone ( )
inlineprotected

Definition at line 69 of file vtkCone.h.

Member Function Documentation

static vtkCone* vtkCone::New ( )
static

Construct cone with angle of 45 degrees.

static int vtkCone::IsTypeOf ( const char *  type)
static
virtual int vtkCone::IsA ( const char *  type)
virtual
static vtkCone* vtkCone::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkCone::NewInstanceInternal ( ) const
protectedvirtual
vtkCone* vtkCone::NewInstance ( ) const
void vtkCone::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
double vtkCone::EvaluateFunction ( double  x[3])

Evaluate cone equation.

double vtkCone::EvaluateFunction ( double  x,
double  y,
double  z 
)
inline

Evaluate cone equation.

Definition at line 54 of file vtkCone.h.

void vtkCone::EvaluateGradient ( double  x[3],
double  g[3] 
)

Evaluate cone normal.

virtual void vtkCone::SetAngle ( double  )
virtual

Set/Get the cone angle (expressed in degrees).

virtual double vtkCone::GetAngle ( )
virtual

Set/Get the cone angle (expressed in degrees).

Member Data Documentation

double vtkCone::Angle
protected

Definition at line 69 of file vtkCone.h.


The documentation for this class was generated from the following file: