Version: 6.3.1
Public Member Functions

VISU.Prs3d Interface Reference

3D presentation interface More...

import "VISU_Gen.idl";

Inheritance diagram for VISU.Prs3d:
Inheritance graph

Public Member Functions

void SetOffset (in float theDx, in float theDy, in float theDz)
void GetOffset (out float theDx, out float theDy, out float theDz)
void SetMarkerStd (in MarkerType theType, in MarkerScale theScale)
void SetMarkerTexture (in long theTextureId)
MarkerType GetMarkerType ()
MarkerScale GetMarkerScale ()
long GetMarkerTexture ()
float GetMemorySize ()
void RemoveFromStudy ()
IdType GetID ()
VISUType GetType ()

Detailed Description

This is a root class for all 3D presentations, which can be displayed in VISU module.


Member Function Documentation

void VISU.Prs3d.SetOffset ( in float  theDx,
in float  theDy,
in float  theDz 
)

Move the 3D presentation according to the given offset parameters

void VISU.Prs3d.GetOffset ( out float  theDx,
out float  theDy,
out float  theDz 
)

Gets offset parameters for the 3D presentation

void VISU.Prs3d.SetMarkerStd ( in MarkerType  theType,
in MarkerScale  theScale 
)

Set standard point marker for the object

Parameters:
theTypestandard marker type
theScalestandard marker scale
void VISU.Prs3d.SetMarkerTexture ( in long  theTextureId)

Set custom point marker for the object. The texture can be added by LoadTexture() function

Parameters:
theTextureIdtexture ID
MarkerType VISU.Prs3d.GetMarkerType ( )

Get type of the point marker assigned to the object

Returns:
current marker type (MT_NONE if no marker is set)
MarkerScale VISU.Prs3d.GetMarkerScale ( )

Get scale of the point marker assigned to the object

Returns:
current marker scale (MS_NONE if no marker is set)
long VISU.Prs3d.GetMarkerTexture ( )

Get texture idenifier of the point marker assigned to the object

Returns:
marker texture ID (0 if no marker set)
float VISU.Prs3d.GetMemorySize ( )

Gets memory size actually used by the presentation (Mb).

void VISU.RemovableObject.RemoveFromStudy ( ) [inherited]

Remove object from study.

IdType VISU.Base.GetID ( ) [inherited]

Returns ID of the object.

VISUType VISU.Base.GetType ( ) [inherited]

Returns the type of the presentable object

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS