Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   
vtkArrowSource  Class Reference
Appends a cylinder to a cone to form an arrow. 
More...
#include <vtkArrowSource.h>
Inheritance diagram for vtkArrowSource:
[legend]Collaboration diagram for vtkArrowSource:
[legend]List of all members.
Detailed Description
Appends a cylinder to a cone to form an arrow.
- 
Date: 
 - 
 2001/10/31 16:36:08 
 
 - 
Revision: 
 - 
 1.4 
 
vtkArrowSource was intended to be used as the source for a glyph. The shaft base is always at (0,0,0). The arrow tip is always at (1,0,0). The resolution of the cone and shaft can be set and default to 6. The radius of the cone and shaft can be set and default to 0.03 and 0.1. The length of the tip can also be set, and defaults to 0.35.
- 
Tests:
 - 
 vtkArrowSource (Tests) 
 
Definition at line 61 of file vtkArrowSource.h.
Constructor & Destructor Documentation
  
    
      
        
          |  vtkArrowSource::vtkArrowSource  | 
          (  | 
                      | 
          )  | 
           [protected] | 
         
       
     | 
  
  
    
      
        
          |  vtkArrowSource::~vtkArrowSource  | 
          (  | 
                      | 
          )  | 
           [inline, protected] | 
         
       
     | 
  
Member Function Documentation
  
    
      
        
          |  vtkArrowSource* vtkArrowSource::New  | 
          (  | 
                      | 
          )  | 
           [static] | 
         
       
     | 
  
  
    
      
        
          |  virtual const char* vtkArrowSource::GetClassName  | 
          (  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    
      
        
          |  int vtkArrowSource::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 vtkTypeMacro found in vtkSetGet.h. 
 
Reimplemented from vtkPolyDataSource.      | 
  
  
    
      
        
          |  virtual int vtkArrowSource::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 vtkTypeMacro found in vtkSetGet.h. 
 
Reimplemented from vtkPolyDataSource.      | 
  
  
    
      
        
          |  vtkArrowSource* vtkArrowSource::SafeDownCast  | 
          (  | 
          vtkObject *  | 
            o           | 
          )  | 
           [static] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. 
 
Reimplemented from vtkPolyDataSource.      | 
  
  
    
      
        
          |  void vtkArrowSource::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 vtkSource.      | 
  
  
    
      
        
          |  virtual void vtkArrowSource::SetTipLength  | 
          (  | 
          float  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Set the length, and radius of the tip. They default to 0.35 and 0.1       | 
  
  
    
      
        
          |  virtual float vtkArrowSource::GetTipLength  | 
          (  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Set the length, and radius of the tip. They default to 0.35 and 0.1       | 
  
  
    
      
        
          |  virtual void vtkArrowSource::SetTipRadius  | 
          (  | 
          float  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Set the length, and radius of the tip. They default to 0.35 and 0.1       | 
  
  
    
      
        
          |  virtual float vtkArrowSource::GetTipRadius  | 
          (  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Set the length, and radius of the tip. They default to 0.35 and 0.1       | 
  
  
    
      
        
          |  virtual void vtkArrowSource::SetTipResolution  | 
          (  | 
          int  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Set the resolution of the tip. The tip behaves the same as a cone. Resoultion 1 gives a single triangle, 2 gives two crossed triangles.       | 
  
  
    
      
        
          |  virtual int vtkArrowSource::GetTipResolution  | 
          (  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Set the resolution of the tip. The tip behaves the same as a cone. Resoultion 1 gives a single triangle, 2 gives two crossed triangles.       | 
  
  
    
      
        
          |  virtual void vtkArrowSource::SetShaftRadius  | 
          (  | 
          float  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Set the radius of the shaft. Defaults to 0.03.       | 
  
  
    
      
        
          |  virtual float vtkArrowSource::GetShaftRadius  | 
          (  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Set the radius of the shaft. Defaults to 0.03.       | 
  
  
    
      
        
          |  virtual void vtkArrowSource::SetShaftResolution  | 
          (  | 
          int  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Set the resolution of the shaft. 2 gives a rectangle. I would like to extend the cone to produce a line, but this is not an option now.       | 
  
  
    
      
        
          |  virtual int vtkArrowSource::GetShaftResolution  | 
          (  | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
Set the resolution of the shaft. 2 gives a rectangle. I would like to extend the cone to produce a line, but this is not an option now.       | 
  
  
    
      
        
          |  void vtkArrowSource::Execute  | 
          (  | 
                      | 
          )  | 
           [protected, virtual] | 
         
       
     | 
  
  
    | 
       
     | 
    
 
This method is the old style execute method 
 
Reimplemented from vtkSource.      | 
  
Member Data Documentation
  
    
      
        
           int vtkArrowSource::TipResolution [protected]
       |   
     | 
  
  
    
      
        
           float vtkArrowSource::TipLength [protected]
       |   
     | 
  
  
    
      
        
           float vtkArrowSource::TipRadius [protected]
       |   
     | 
  
  
    
      
        
           int vtkArrowSource::ShaftResolution [protected]
       |   
     | 
  
  
    
      
        
           float vtkArrowSource::ShaftRadius [protected]
       |   
     | 
  
The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:27:18 2002 for VTK by
1.2.11.1 written by Dimitri van Heesch,
 © 1997-2001