RenderMan API  23.0
RixTransform Class Referenceabstract

#include <RixInterfaces.h>

Inheritance diagram for RixTransform:
RixInterface

Public Member Functions

virtual int TransformPoints (RtUString const fromspace, RtUString const tospace, int n, RtPoint3 p[], float time)=0
 
virtual void TransformPoints (RtMatrix4x4 const &m, int n, RtPoint3 p[])=0
 Transform an array of points 'p' of size 'n' via matrix 'm'. More...
 
virtual int TransformMatrix (RtUString const fromspace, RtUString const tospace, float time, RtMatrix4x4 &m)=0
 
- Public Member Functions inherited from RixInterface
virtual int GetVersion () const
 

Protected Member Functions

 RixTransform ()
 constructor for internal use only More...
 
- Protected Member Functions inherited from RixInterface
 RixInterface (int version)
 Interfaces should not be constructed by users. More...
 
virtual ~RixInterface ()
 Interfaces should not be deleted by users. More...
 

Additional Inherited Members

- Public Types inherited from RixInterface
enum  Type {
  k_Float, k_Integer, k_StringV, k_Color,
  k_Normal, k_Vector, k_Point, k_HPoint,
  k_MPoint, k_Matrix
}
 
- Protected Attributes inherited from RixInterface
int m_version
 Version number of this interface. More...
 

Detailed Description

RixTransform provides transformation routines that operate over named coordinate systems in the renderer.

Definition at line 740 of file RixInterfaces.h.

Constructor & Destructor Documentation

◆ RixTransform()

RixTransform::RixTransform ( )
inlineprotected

constructor for internal use only

Definition at line 769 of file RixInterfaces.h.

Member Function Documentation

◆ TransformMatrix()

virtual int RixTransform::TransformMatrix ( RtUString const  fromspace,
RtUString const  tospace,
float  time,
RtMatrix4x4 m 
)
pure virtual

Take 'fromspace' and 'tospace' and 'time' and return matrix 'm' representing that transformation. 0 is returned on success and non-zero if the transform could not be made.

◆ TransformPoints() [1/2]

virtual int RixTransform::TransformPoints ( RtUString const  fromspace,
RtUString const  tospace,
int  n,
RtPoint3  p[],
float  time 
)
pure virtual

Transform an array of points 'p' of size 'n' from 'fromspace' to 'tospace' at a given 'time'. 0 is returned on success and non-zero if the transform could not be made.

◆ TransformPoints() [2/2]

virtual void RixTransform::TransformPoints ( RtMatrix4x4 const &  m,
int  n,
RtPoint3  p[] 
)
pure virtual

Transform an array of points 'p' of size 'n' via matrix 'm'.


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