Class: TLinkedViewMatrixGrafState

Declaration: GrafState.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TLinkedGrafState

Inherited By:

None.

Purpose:

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

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TLinkedViewMatrixGrafState::TLinkedViewMatrixGrafState

  1. TLinkedViewMatrixGrafState (const TGrafState * parent, const TGrafMatrix & viewMatrix)
  2. TLinkedViewMatrixGrafState (const TGrafState * parent, TLinkableMatrixState * viewMatrixState)

Interface Category:

API.

Purpose:

  1. Constructor that links the specified 2-D view matrix to the specified parent graphics state. A local 2-D matrix state is instantiated and linked to the parent graphics state.
  2. Constructor that links the specified 2-D 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: TLinkedViewMatrixGrafState::~TLinkedViewMatrixGrafState

virtual ~ TLinkedViewMatrixGrafState ()

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: TLinkedViewMatrixGrafState::GetViewMatrixState

virtual const TMatrixState * GetViewMatrixState () const

Interface Category:

API.

Purpose:

Returns a constant pointer to the view matrix state.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns a constant pointer to the view matrix state.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLinkedViewMatrixGrafState::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.