Class: TLinkedModelMatrixGrafState

Declaration: GrafState.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TLinkedGrafState

Inherited By:

None.

Purpose:

Derived from TLinkedGrafState, TLinkedModelMatrixGrafState links a TGrafMatrix (or TLinkableMatrixState) object to a parent TGrafState object. This class is used internally by TLinkedModelMatrixPort. Most programmers who want to link a model matrix into a graphics hierarchy use TLinkedModelMatrixPort, instead of using TLinkedModelMatrixGrafState directly.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TLinkedModelMatrixGrafState::TLinkedModelMatrixGrafState

  1. TLinkedModelMatrixGrafState (const TGrafState * parent, const TGrafMatrix & modelMatrix)
  2. TLinkedModelMatrixGrafState (const TGrafState * parent, TLinkableMatrixState * modelMatrixState)

Interface Category:

API.

Purpose:

  1. Constructor that links the specified model matrix to the specified parent graphics state. A local model matrix state is instantiated and linked to the parent graphics state.
  2. Constructor that links the specified matrix state to the specified parent graphics state.

Calling Context:

  1. Call this function directly.
  2. Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLinkedModelMatrixGrafState::~TLinkedModelMatrixGrafState

virtual ~ TLinkedModelMatrixGrafState ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLinkedModelMatrixGrafState::GetModelMatrixState

virtual const TMatrixState * GetModelMatrixState () const

Interface Category:

API.

Purpose:

Returns a constant pointer to the model matrix state.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns a constant pointer to the model matrix state.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.