vtkbone
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkboneTensorOfInertia Class Reference

calculates the tensor of inertia. More...

#include <vtkboneTensorOfInertia.h>

Inheritance diagram for vtkboneTensorOfInertia:
Inheritance graph
[legend]
Collaboration diagram for vtkboneTensorOfInertia:
Collaboration graph
[legend]

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void GetTensorOfInertia (vtkTensor *MOI)
 
void GetTensorOfInertiaAboutOrigin (vtkTensor *MOI)
 
void GetEigenvectors (vtkMatrix3x3 *A)
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
virtual void SetUseSpecificValue (int)
 
virtual int GetUseSpecificValue ()
 
virtual void UseSpecificValueOn ()
 
virtual void UseSpecificValueOff ()
 
void SetSpecificValue (int v)
 
virtual int GetSpecificValue ()
 
virtual void SetUseThresholds (int)
 
virtual int GetUseThresholds ()
 
virtual void UseThresholdsOn ()
 
virtual void UseThresholdsOff ()
 
void SetLowerThreshold (double v)
 
virtual double GetLowerThreshold ()
 
void SetUpperThreshold (double v)
 
virtual double GetUpperThreshold ()
 
virtual vtkIdType GetCount ()
 
virtual double GetVolume ()
 
virtual double GetMass ()
 
virtual doubleGetCenterOfMass ()
 
virtual void GetCenterOfMass (double &, double &, double &)
 
virtual void GetCenterOfMass (double[3])
 
double GetCenterOfMassX ()
 
double GetCenterOfMassY ()
 
double GetCenterOfMassZ ()
 
virtual doubleGetPrincipalAxisClosestToX ()
 
virtual void GetPrincipalAxisClosestToX (double &, double &, double &)
 
virtual void GetPrincipalAxisClosestToX (double[3])
 
virtual doubleGetPrincipalAxisClosestToY ()
 
virtual void GetPrincipalAxisClosestToY (double &, double &, double &)
 
virtual void GetPrincipalAxisClosestToY (double[3])
 
virtual doubleGetPrincipalAxisClosestToZ ()
 
virtual void GetPrincipalAxisClosestToZ (double &, double &, double &)
 
virtual void GetPrincipalAxisClosestToZ (double[3])
 
virtual doubleGetPrincipalMoments ()
 
virtual void GetPrincipalMoments (double &, double &, double &)
 
virtual void GetPrincipalMoments (double[3])
 
double GetPrincipalMoment0 ()
 
double GetPrincipalMoment1 ()
 
double GetPrincipalMoment2 ()
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual int Update (int port, vtkInformationVector *requests)
 
virtual int Update (vtkInformation *requests)
 
virtual int UpdateExtent (const int extents[6])
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
void SetUpdateExtent (int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkboneTensorOfInertiaNew ()
 
static int IsTypeOf (const char *type)
 
static vtkboneTensorOfInertiaSafeDownCast (vtkObject *o)
 
static void TranslateTensorOfInertiaFromCOM (vtkTensor *T0, double mass, double r[3], vtkTensor *T)
 
static void TranslateTensorOfInertiaToCOM (vtkTensor *T, double mass, double r[3], vtkTensor *T0)
 
static void TranslateTensorOfInertia (vtkTensor *T1, double r1[3], double mass, double r2[3], vtkTensor *T2)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkboneTensorOfInertia ()
 
 ~vtkboneTensorOfInertia ()
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int ProcessImage (vtkImageData *image)
 
virtual int ProcessUnstructuredGrid (vtkUnstructuredGrid *grid)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
- Protected Member Functions inherited from vtkAlgorithm
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
void ReportReferences (vtkGarbageCollector *) VTK_OVERRIDE
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetErrorCode (unsigned long)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

int UseSpecificValue
 
int UseThresholds
 
int SpecificValue
 
double LowerThreshold
 
double UpperThreshold
 
vtkIdType Count
 
double Volume
 
double Mass
 
double CenterOfMass [3]
 
vtkTensor * TensorOfInertiaAboutOrigin
 
vtkTensor * TensorOfInertia
 
vtkMatrix3x3Eigenvectors
 
double PrincipalMoments [3]
 
double PrincipalAxisClosestToX [3]
 
double PrincipalAxisClosestToY [3]
 
double PrincipalAxisClosestToZ [3]
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision
 
enum  DesiredOutputPrecision
 
typedef vtkObject Superclass
 
- Public Attributes inherited from vtkAlgorithm
 SINGLE_PRECISION
 
 DOUBLE_PRECISION
 
 DEFAULT_PRECISION
 
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

calculates the tensor of inertia.

Accepts either vtkImageData or vtkUnstructuredGrid as input.

vtkUnstructuredGrid inputs must consists of only cells of type VTK_VOXEL.

See also
vtkMassProperties

Definition at line 38 of file vtkboneTensorOfInertia.h.

Constructor & Destructor Documentation

vtkboneTensorOfInertia::vtkboneTensorOfInertia ( )
protected
vtkboneTensorOfInertia::~vtkboneTensorOfInertia ( )
protected

Member Function Documentation

static vtkboneTensorOfInertia* vtkboneTensorOfInertia::New ( )
static

Constructs with initial values of zero.

virtual const char* vtkboneTensorOfInertia::GetClassName ( )
virtual
static int vtkboneTensorOfInertia::IsTypeOf ( const char *  type)
static
virtual int vtkboneTensorOfInertia::IsA ( const char *  type)
virtual

Reimplemented from vtkAlgorithm.

static vtkboneTensorOfInertia* vtkboneTensorOfInertia::SafeDownCast ( vtkObject o)
static
void vtkboneTensorOfInertia::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Reimplemented from vtkAlgorithm.

virtual int vtkboneTensorOfInertia::ProcessRequest ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
virtual

Process a request from the executive. Will be delegated to RequestData

Reimplemented from vtkAlgorithm.

void vtkboneTensorOfInertia::SetInputData ( vtkDataObject )

Assign a data object as input.

void vtkboneTensorOfInertia::SetInputData ( int  ,
vtkDataObject  
)

Assign a data object as input.

virtual void vtkboneTensorOfInertia::SetUseSpecificValue ( int  )
virtual

Set/Get UseSpecific. If set, will only consider cells with integer scalar value equal to SpecificValue.

virtual int vtkboneTensorOfInertia::GetUseSpecificValue ( )
virtual

Set/Get UseSpecific. If set, will only consider cells with integer scalar value equal to SpecificValue.

virtual void vtkboneTensorOfInertia::UseSpecificValueOn ( )
virtual

Set/Get UseSpecific. If set, will only consider cells with integer scalar value equal to SpecificValue.

virtual void vtkboneTensorOfInertia::UseSpecificValueOff ( )
virtual

Set/Get UseSpecific. If set, will only consider cells with integer scalar value equal to SpecificValue.

void vtkboneTensorOfInertia::SetSpecificValue ( int  v)
inline

Set/Get the SpecificValue. If set, automatically sets UseSpecificValue on. Applies only to image inputs.

Definition at line 72 of file vtkboneTensorOfInertia.h.

virtual int vtkboneTensorOfInertia::GetSpecificValue ( )
virtual

Set/Get the SpecificValue. If set, automatically sets UseSpecificValue on. Applies only to image inputs.

virtual void vtkboneTensorOfInertia::SetUseThresholds ( int  )
virtual

Set/Get UseThresholds. If set, will only consider cells with scalar value between LowerThreshold and UpperThreshold (inclusive). Applies only to image inputs.

virtual int vtkboneTensorOfInertia::GetUseThresholds ( )
virtual

Set/Get UseThresholds. If set, will only consider cells with scalar value between LowerThreshold and UpperThreshold (inclusive). Applies only to image inputs.

virtual void vtkboneTensorOfInertia::UseThresholdsOn ( )
virtual

Set/Get UseThresholds. If set, will only consider cells with scalar value between LowerThreshold and UpperThreshold (inclusive). Applies only to image inputs.

virtual void vtkboneTensorOfInertia::UseThresholdsOff ( )
virtual

Set/Get UseThresholds. If set, will only consider cells with scalar value between LowerThreshold and UpperThreshold (inclusive). Applies only to image inputs.

void vtkboneTensorOfInertia::SetLowerThreshold ( double  v)
inline

Set/Get the LowerThreshold. If set, automatically sets UseThresholds on. Default value is VTK_DOUBLE_MIN. Applies only to image inputs.

Definition at line 88 of file vtkboneTensorOfInertia.h.

virtual double vtkboneTensorOfInertia::GetLowerThreshold ( )
virtual

Set/Get the LowerThreshold. If set, automatically sets UseThresholds on. Default value is VTK_DOUBLE_MIN. Applies only to image inputs.

void vtkboneTensorOfInertia::SetUpperThreshold ( double  v)
inline

Set/Get the UpperThreshold. If set, automatically sets UseThresholds on. Default value is VTK_DOUBLE_MAX. Applies only to image inputs.

Definition at line 95 of file vtkboneTensorOfInertia.h.

virtual double vtkboneTensorOfInertia::GetUpperThreshold ( )
virtual

Set/Get the UpperThreshold. If set, automatically sets UseThresholds on. Default value is VTK_DOUBLE_MAX. Applies only to image inputs.

virtual vtkIdType vtkboneTensorOfInertia::GetCount ( )
virtual

Compute and return the count of cells matching the criteria.

virtual double vtkboneTensorOfInertia::GetVolume ( )
virtual

Compute and return the volume.

virtual double vtkboneTensorOfInertia::GetMass ( )
virtual

Compute and return the mass.

virtual double* vtkboneTensorOfInertia::GetCenterOfMass ( )
virtual

Compute and return the center of mass.

virtual void vtkboneTensorOfInertia::GetCenterOfMass ( double ,
double ,
double  
)
virtual

Compute and return the center of mass.

virtual void vtkboneTensorOfInertia::GetCenterOfMass ( double  [3])
virtual

Compute and return the center of mass.

double vtkboneTensorOfInertia::GetCenterOfMassX ( )
inline

Compute and return the center of mass.

Definition at line 117 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::GetCenterOfMassY ( )
inline

Compute and return the center of mass.

Definition at line 118 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::GetCenterOfMassZ ( )
inline

Compute and return the center of mass.

Definition at line 119 of file vtkboneTensorOfInertia.h.

void vtkboneTensorOfInertia::GetTensorOfInertia ( vtkTensor *  MOI)

Compute and return the tensor of inertia about the center of mass.

void vtkboneTensorOfInertia::GetTensorOfInertiaAboutOrigin ( vtkTensor *  MOI)

Compute and return the tensor of inertia about the origin.

void vtkboneTensorOfInertia::GetEigenvectors ( vtkMatrix3x3 A)

Get the eigenvectors of the tensor of inertia. The principal axes are in the columns of A. THe eigenvectors are aligned as close as possible to x,y,z.

virtual double* vtkboneTensorOfInertia::GetPrincipalAxisClosestToX ( )
virtual

Get the principal axis lying closest to the specified Cartesian axis.

virtual void vtkboneTensorOfInertia::GetPrincipalAxisClosestToX ( double ,
double ,
double  
)
virtual

Get the principal axis lying closest to the specified Cartesian axis.

virtual void vtkboneTensorOfInertia::GetPrincipalAxisClosestToX ( double  [3])
virtual

Get the principal axis lying closest to the specified Cartesian axis.

virtual double* vtkboneTensorOfInertia::GetPrincipalAxisClosestToY ( )
virtual

Get the principal axis lying closest to the specified Cartesian axis.

virtual void vtkboneTensorOfInertia::GetPrincipalAxisClosestToY ( double ,
double ,
double  
)
virtual

Get the principal axis lying closest to the specified Cartesian axis.

virtual void vtkboneTensorOfInertia::GetPrincipalAxisClosestToY ( double  [3])
virtual

Get the principal axis lying closest to the specified Cartesian axis.

virtual double* vtkboneTensorOfInertia::GetPrincipalAxisClosestToZ ( )
virtual

Get the principal axis lying closest to the specified Cartesian axis.

virtual void vtkboneTensorOfInertia::GetPrincipalAxisClosestToZ ( double ,
double ,
double  
)
virtual

Get the principal axis lying closest to the specified Cartesian axis.

virtual void vtkboneTensorOfInertia::GetPrincipalAxisClosestToZ ( double  [3])
virtual

Get the principal axis lying closest to the specified Cartesian axis.

virtual double* vtkboneTensorOfInertia::GetPrincipalMoments ( )
virtual

Get the principal moments of inertia. These are ordered the same as the principal axes of inertia.

virtual void vtkboneTensorOfInertia::GetPrincipalMoments ( double ,
double ,
double  
)
virtual

Get the principal moments of inertia. These are ordered the same as the principal axes of inertia.

virtual void vtkboneTensorOfInertia::GetPrincipalMoments ( double  [3])
virtual

Get the principal moments of inertia. These are ordered the same as the principal axes of inertia.

double vtkboneTensorOfInertia::GetPrincipalMoment0 ( )
inline

Get the principal moments of inertia. These are ordered the same as the principal axes of inertia.

Definition at line 144 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::GetPrincipalMoment1 ( )
inline

Get the principal moments of inertia. These are ordered the same as the principal axes of inertia.

Definition at line 146 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::GetPrincipalMoment2 ( )
inline

Get the principal moments of inertia. These are ordered the same as the principal axes of inertia.

Definition at line 148 of file vtkboneTensorOfInertia.h.

static void vtkboneTensorOfInertia::TranslateTensorOfInertiaFromCOM ( vtkTensor *  T0,
double  mass,
double  r[3],
vtkTensor *  T 
)
static

Given a tensor of inertia T0 about the center of mass of a body with mass m, calculate the tensor of inertia B about the point r. Note: Invariant under r -> -r, which can be handy.

static void vtkboneTensorOfInertia::TranslateTensorOfInertiaToCOM ( vtkTensor *  T,
double  mass,
double  r[3],
vtkTensor *  T0 
)
static

Given a tensor of inertia T about some point r of a body with mass m, calculates the tensor of inertia B about the center of mass. Note: Invariant under r -> -r, which can be handy.

static void vtkboneTensorOfInertia::TranslateTensorOfInertia ( vtkTensor *  T1,
double  r1[3],
double  mass,
double  r2[3],
vtkTensor *  T2 
)
static

Given a tensor of inertia T1 about some point r1 of a body with mass m, calculate the tensor of inertia T2 about some other point r2.

virtual int vtkboneTensorOfInertia::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
protectedvirtual
virtual int vtkboneTensorOfInertia::ProcessImage ( vtkImageData image)
protectedvirtual
virtual int vtkboneTensorOfInertia::ProcessUnstructuredGrid ( vtkUnstructuredGrid grid)
protectedvirtual
virtual int vtkboneTensorOfInertia::FillInputPortInformation ( int  port,
vtkInformation info 
)
protectedvirtual

Reimplemented from vtkAlgorithm.

Member Data Documentation

int vtkboneTensorOfInertia::UseSpecificValue
protected

Definition at line 200 of file vtkboneTensorOfInertia.h.

int vtkboneTensorOfInertia::UseThresholds
protected

Definition at line 201 of file vtkboneTensorOfInertia.h.

int vtkboneTensorOfInertia::SpecificValue
protected

Definition at line 202 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::LowerThreshold
protected

Definition at line 203 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::UpperThreshold
protected

Definition at line 204 of file vtkboneTensorOfInertia.h.

vtkIdType vtkboneTensorOfInertia::Count
protected

Definition at line 207 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::Volume
protected

Definition at line 208 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::Mass
protected

Definition at line 209 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::CenterOfMass[3]
protected

Definition at line 210 of file vtkboneTensorOfInertia.h.

vtkTensor* vtkboneTensorOfInertia::TensorOfInertiaAboutOrigin
protected

Definition at line 211 of file vtkboneTensorOfInertia.h.

vtkTensor* vtkboneTensorOfInertia::TensorOfInertia
protected

Definition at line 212 of file vtkboneTensorOfInertia.h.

vtkMatrix3x3* vtkboneTensorOfInertia::Eigenvectors
protected

Definition at line 213 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::PrincipalMoments[3]
protected

Definition at line 214 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::PrincipalAxisClosestToX[3]
protected

Definition at line 215 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::PrincipalAxisClosestToY[3]
protected

Definition at line 216 of file vtkboneTensorOfInertia.h.

double vtkboneTensorOfInertia::PrincipalAxisClosestToZ[3]
protected

Definition at line 217 of file vtkboneTensorOfInertia.h.


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