VTK
Classes | Defines
dox/Common/DataModel/vtkVector.h File Reference
#include "vtkTuple.h"
#include "vtkObject.h"
#include <cmath>
Include dependency graph for vtkVector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkVector< T, Size >
 templated base type for storage of vectors. More...
class  vtkVector2< T >
class  vtkVector3< T >
class  vtkVector2i
class  vtkVector2f
class  vtkVector2d
class  vtkVector3i
class  vtkVector3f
class  vtkVector3d

Defines

#define vtkVectorDerivedMacro(vectorType, type, size)   vtkVectorNormalized(vectorType, type, size) \
#define vtkVector3Cross(vectorType, type)
#define vtkVectorNormalized(vectorType, type, size)

Define Documentation

#define vtkVectorNormalized (   vectorType,
  type,
  size 
)
Value:
vectorType Normalized() \
{ \
  return vectorType(vtkVector<type, size>::Normalized().GetData()); \
} \

Some inline functions for the derived types.

Definition at line 270 of file vtkVector.h.

#define vtkVectorDerivedMacro (   vectorType,
  type,
  size 
)    vtkVectorNormalized(vectorType, type, size) \

Definition at line 277 of file vtkVector.h.

#define vtkVector3Cross (   vectorType,
  type 
)
Value:
vectorType Cross(const vectorType& other) \
{ \
  return vectorType(vtkVector3<type>::Cross(other).GetData()); \
} \

Definition at line 313 of file vtkVector.h.