Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkCone Class Reference

#include <vtkCone.h>

Inheritance diagram for vtkCone:

Inheritance graph
[legend]
Collaboration diagram for vtkCone:

Collaboration graph
[legend]
List of all members.

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.
Created by:
  • Schroeder, Will
CVS contributions (if > 5%):
  • Schroeder, Will (67%)
  • Martin, Ken (21%)
  • Kelly, Ann (6%)
CVS logs (CVSweb):
  • .cxx (/Filtering/vtkCone.cxx)
  • .h (/Filtering/vtkCone.h)
Examples:
vtkCone (Examples)
Tests:
vtkCone (Tests)

Definition at line 53 of file vtkCone.h.

Public Types

typedef vtkImplicitFunction Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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

vtkConeNew ()
int IsTypeOf (const char *type)
vtkConeSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkCone ()
 ~vtkCone ()

Protected Attributes

double Angle


Member Typedef Documentation

typedef vtkImplicitFunction vtkCone::Superclass
 

Reimplemented from vtkImplicitFunction.

Definition at line 59 of file vtkCone.h.


Constructor & Destructor Documentation

vtkCone::vtkCone  )  [protected]
 

vtkCone::~vtkCone  )  [inline, protected]
 

Definition at line 80 of file vtkCone.h.


Member Function Documentation

vtkCone* vtkCone::New  )  [static]
 

Construct cone with angle of 45 degrees.

Reimplemented from vtkObject.

virtual const char* vtkCone::GetClassName  )  [virtual]
 

Reimplemented from vtkImplicitFunction.

int vtkCone::IsTypeOf const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImplicitFunction.

virtual int vtkCone::IsA const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImplicitFunction.

vtkCone* vtkCone::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkImplicitFunction.

void vtkCone::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkImplicitFunction.

double vtkCone::EvaluateFunction double  x[3]  )  [virtual]
 

Evaluate cone equation.

Implements vtkImplicitFunction.

double vtkCone::EvaluateFunction double  x,
double  y,
double  z
[inline]
 

Evaluate cone equation.

Reimplemented from vtkImplicitFunction.

Definition at line 65 of file vtkCone.h.

References vtkImplicitFunction::EvaluateFunction().

void vtkCone::EvaluateGradient double  x[3],
double  g[3]
[virtual]
 

Evaluate cone normal.

Implements vtkImplicitFunction.

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 82 of file vtkCone.h.


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